/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Pinpoint { namespace Model { /** */ class AWS_PINPOINT_API GetAppsRequest : public PinpointRequest { public: GetAppsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetApps"; } Aws::String SerializePayload() const override; void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline const Aws::String& GetPageSize() const{ return m_pageSize; } /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); } /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); } /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline GetAppsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;} /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline GetAppsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;} /** *

The maximum number of items to include in each page of a paginated response. * This parameter is not supported for application, campaign, and journey * metrics.

*/ inline GetAppsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;} /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline const Aws::String& GetToken() const{ return m_token; } /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; } /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; } /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); } /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); } /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline GetAppsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;} /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline GetAppsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;} /** *

The NextToken string that specifies which page of results to return in a * paginated response.

*/ inline GetAppsRequest& WithToken(const char* value) { SetToken(value); return *this;} private: Aws::String m_pageSize; bool m_pageSizeHasBeenSet; Aws::String m_token; bool m_tokenHasBeenSet; }; } // namespace Model } // namespace Pinpoint } // namespace Aws