/** * 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 ListJourneysRequest : public PinpointRequest { public: AWS_PINPOINT_API ListJourneysRequest(); // 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 "ListJourneys"; } AWS_PINPOINT_API Aws::String SerializePayload() const override; AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ListJourneysRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ListJourneysRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ListJourneysRequest& WithApplicationId(const char* value) { SetApplicationId(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 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 ListJourneysRequest& 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 ListJourneysRequest& 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 ListJourneysRequest& 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 ListJourneysRequest& 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 ListJourneysRequest& 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 ListJourneysRequest& WithToken(const char* value) { SetToken(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_pageSize; bool m_pageSizeHasBeenSet = false; Aws::String m_token; bool m_tokenHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws