/** * 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 GetJourneyRunExecutionActivityMetricsRequest : public PinpointRequest { public: AWS_PINPOINT_API GetJourneyRunExecutionActivityMetricsRequest(); // 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 "GetJourneyRunExecutionActivityMetrics"; } 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 GetJourneyRunExecutionActivityMetricsRequest& 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 GetJourneyRunExecutionActivityMetricsRequest& 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 GetJourneyRunExecutionActivityMetricsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The unique identifier for the journey activity.

*/ inline const Aws::String& GetJourneyActivityId() const{ return m_journeyActivityId; } /** *

The unique identifier for the journey activity.

*/ inline bool JourneyActivityIdHasBeenSet() const { return m_journeyActivityIdHasBeenSet; } /** *

The unique identifier for the journey activity.

*/ inline void SetJourneyActivityId(const Aws::String& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = value; } /** *

The unique identifier for the journey activity.

*/ inline void SetJourneyActivityId(Aws::String&& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = std::move(value); } /** *

The unique identifier for the journey activity.

*/ inline void SetJourneyActivityId(const char* value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId.assign(value); } /** *

The unique identifier for the journey activity.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyActivityId(const Aws::String& value) { SetJourneyActivityId(value); return *this;} /** *

The unique identifier for the journey activity.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyActivityId(Aws::String&& value) { SetJourneyActivityId(std::move(value)); return *this;} /** *

The unique identifier for the journey activity.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyActivityId(const char* value) { SetJourneyActivityId(value); return *this;} /** *

The unique identifier for the journey.

*/ inline const Aws::String& GetJourneyId() const{ return m_journeyId; } /** *

The unique identifier for the journey.

*/ inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; } /** *

The unique identifier for the journey.

*/ inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; } /** *

The unique identifier for the journey.

*/ inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); } /** *

The unique identifier for the journey.

*/ inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); } /** *

The unique identifier for the journey.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;} /** *

The unique identifier for the journey.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;} /** *

The unique identifier for the journey.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithJourneyId(const char* value) { SetJourneyId(value); return *this;} /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The string that specifies which page of results to return in a * paginated response. This parameter is not supported for application, campaign, * and journey metrics.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithNextToken(const char* value) { SetNextToken(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 GetJourneyRunExecutionActivityMetricsRequest& 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 GetJourneyRunExecutionActivityMetricsRequest& 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 GetJourneyRunExecutionActivityMetricsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;} /** *

The unique identifier for the journey run.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The unique identifier for the journey run.

*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

The unique identifier for the journey run.

*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *

The unique identifier for the journey run.

*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *

The unique identifier for the journey run.

*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *

The unique identifier for the journey run.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The unique identifier for the journey run.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The unique identifier for the journey run.

*/ inline GetJourneyRunExecutionActivityMetricsRequest& WithRunId(const char* value) { SetRunId(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_journeyActivityId; bool m_journeyActivityIdHasBeenSet = false; Aws::String m_journeyId; bool m_journeyIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_pageSize; bool m_pageSizeHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws