/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the results of a query that retrieved the data for a standard metric
* that applies to a campaign, and provides information about that
* query.See Also:
AWS
* API Reference
The unique identifier for the application that the metric applies to.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier for the application that the metric applies to.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier for the application that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The unique identifier for the campaign that the metric applies to.
*/ inline const Aws::String& GetCampaignId() const{ return m_campaignId; } /** *The unique identifier for the campaign that the metric applies to.
*/ inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; } /** *The unique identifier for the campaign that the metric applies to.
*/ inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; } /** *The unique identifier for the campaign that the metric applies to.
*/ inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); } /** *The unique identifier for the campaign that the metric applies to.
*/ inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); } /** *The unique identifier for the campaign that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;} /** *The unique identifier for the campaign that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;} /** *The unique identifier for the campaign that the metric applies to.
*/ inline CampaignDateRangeKpiResponse& WithCampaignId(const char* value) { SetCampaignId(value); return *this;} /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline CampaignDateRangeKpiResponse& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The last date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline CampaignDateRangeKpiResponse& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline const Aws::String& GetKpiName() const{ return m_kpiName; } /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; } /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; } /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); } /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); } /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline CampaignDateRangeKpiResponse& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;} /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline CampaignDateRangeKpiResponse& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;} /** *The name of the metric, also referred to as a key performance indicator * (KPI), that the data was retrieved for. This value describes the associated * metric and consists of two or more terms, which are comprised of lowercase * alphanumeric characters, separated by a hyphen. For a list of possible values, * see the Amazon * Pinpoint Developer Guide.
*/ inline CampaignDateRangeKpiResponse& WithKpiName(const char* value) { SetKpiName(value); return *this;} /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline const BaseKpiResult& GetKpiResult() const{ return m_kpiResult; } /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; } /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline void SetKpiResult(const BaseKpiResult& value) { m_kpiResultHasBeenSet = true; m_kpiResult = value; } /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline void SetKpiResult(BaseKpiResult&& value) { m_kpiResultHasBeenSet = true; m_kpiResult = std::move(value); } /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline CampaignDateRangeKpiResponse& WithKpiResult(const BaseKpiResult& value) { SetKpiResult(value); return *this;} /** *An array of objects that contains the results of the query. Each object * contains the value for the metric and metadata about that value.
*/ inline CampaignDateRangeKpiResponse& WithKpiResult(BaseKpiResult&& value) { SetKpiResult(std::move(value)); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline CampaignDateRangeKpiResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline CampaignDateRangeKpiResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null for the Campaign Metrics resource * because the resource returns all results in a single page.
*/ inline CampaignDateRangeKpiResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline CampaignDateRangeKpiResponse& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The first date and time of the date range that was used to filter the query * results, in extended ISO 8601 format. The date range is inclusive.
*/ inline CampaignDateRangeKpiResponse& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_campaignId; bool m_campaignIdHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_kpiName; bool m_kpiNameHasBeenSet = false; BaseKpiResult m_kpiResult; bool m_kpiResultHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws