7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
48 template<
typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<
typename ApplicationIdT = Aws::String>
60 template<
typename CampaignIdT = Aws::String>
61 void SetCampaignId(CampaignIdT&& value) { m_campaignIdHasBeenSet =
true; m_campaignId = std::forward<CampaignIdT>(value); }
62 template<
typename CampaignIdT = Aws::String>
73 template<
typename EndT = Aws::String>
74 void SetEnd(EndT&& value) { m_endHasBeenSet =
true; m_end = std::forward<EndT>(value); }
75 template<
typename EndT = Aws::String>
85 template<
typename IdT = Aws::String>
86 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
87 template<
typename IdT = Aws::String>
98 template<
typename ResultT = Aws::String>
99 void SetResult(ResultT&& value) { m_resultHasBeenSet =
true; m_result = std::forward<ResultT>(value); }
100 template<
typename ResultT = Aws::String>
110 template<
typename ScheduledStartT = Aws::String>
111 void SetScheduledStart(ScheduledStartT&& value) { m_scheduledStartHasBeenSet =
true; m_scheduledStart = std::forward<ScheduledStartT>(value); }
112 template<
typename ScheduledStartT = Aws::String>
122 template<
typename StartT = Aws::String>
123 void SetStart(StartT&& value) { m_startHasBeenSet =
true; m_start = std::forward<StartT>(value); }
124 template<
typename StartT = Aws::String>
135 template<
typename StateT = Aws::String>
136 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
137 template<
typename StateT = Aws::String>
180 inline void SetTotalEndpointCount(
int value) { m_totalEndpointCountHasBeenSet =
true; m_totalEndpointCount = value; }
192 template<
typename TreatmentIdT = Aws::String>
193 void SetTreatmentId(TreatmentIdT&& value) { m_treatmentIdHasBeenSet =
true; m_treatmentId = std::forward<TreatmentIdT>(value); }
194 template<
typename TreatmentIdT = Aws::String>
209 template<
typename ExecutionMetricsT = Aws::Map<Aws::String, Aws::String>>
210 void SetExecutionMetrics(ExecutionMetricsT&& value) { m_executionMetricsHasBeenSet =
true; m_executionMetrics = std::forward<ExecutionMetricsT>(value); }
211 template<
typename ExecutionMetricsT = Aws::Map<Aws::String, Aws::String>>
213 template<
typename ExecutionMetricsKeyT = Aws::String,
typename ExecutionMetricsValueT = Aws::String>
215 m_executionMetricsHasBeenSet =
true; m_executionMetrics.emplace(std::forward<ExecutionMetricsKeyT>(key), std::forward<ExecutionMetricsValueT>(value));
return *
this;
221 bool m_applicationIdHasBeenSet =
false;
224 bool m_campaignIdHasBeenSet =
false;
227 bool m_endHasBeenSet =
false;
230 bool m_idHasBeenSet =
false;
233 bool m_resultHasBeenSet =
false;
236 bool m_scheduledStartHasBeenSet =
false;
239 bool m_startHasBeenSet =
false;
242 bool m_stateHasBeenSet =
false;
244 int m_successfulEndpointCount{0};
245 bool m_successfulEndpointCountHasBeenSet =
false;
247 int m_timezonesCompletedCount{0};
248 bool m_timezonesCompletedCountHasBeenSet =
false;
250 int m_timezonesTotalCount{0};
251 bool m_timezonesTotalCountHasBeenSet =
false;
253 int m_totalEndpointCount{0};
254 bool m_totalEndpointCountHasBeenSet =
false;
257 bool m_treatmentIdHasBeenSet =
false;
260 bool m_executionMetricsHasBeenSet =
false;
bool StartHasBeenSet() const
const Aws::String & GetResult() const
bool TotalEndpointCountHasBeenSet() const
const Aws::String & GetState() const
void SetStart(StartT &&value)
ActivityResponse & WithTotalEndpointCount(int value)
const Aws::String & GetEnd() const
bool ScheduledStartHasBeenSet() const
int GetTimezonesTotalCount() const
bool StateHasBeenSet() const
int GetSuccessfulEndpointCount() const
void SetTimezonesTotalCount(int value)
int GetTotalEndpointCount() const
const Aws::Map< Aws::String, Aws::String > & GetExecutionMetrics() const
ActivityResponse & WithScheduledStart(ScheduledStartT &&value)
void SetTreatmentId(TreatmentIdT &&value)
void SetTotalEndpointCount(int value)
bool ExecutionMetricsHasBeenSet() const
const Aws::String & GetStart() const
bool ApplicationIdHasBeenSet() const
const Aws::String & GetScheduledStart() const
AWS_PINPOINT_API ActivityResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCampaignId() const
const Aws::String & GetId() const
ActivityResponse & WithApplicationId(ApplicationIdT &&value)
ActivityResponse & WithTimezonesCompletedCount(int value)
bool IdHasBeenSet() const
ActivityResponse & WithTimezonesTotalCount(int value)
ActivityResponse & WithCampaignId(CampaignIdT &&value)
void SetCampaignId(CampaignIdT &&value)
void SetExecutionMetrics(ExecutionMetricsT &&value)
ActivityResponse & WithEnd(EndT &&value)
void SetEnd(EndT &&value)
void SetResult(ResultT &&value)
bool TreatmentIdHasBeenSet() const
ActivityResponse & WithSuccessfulEndpointCount(int value)
ActivityResponse & WithId(IdT &&value)
const Aws::String & GetApplicationId() const
ActivityResponse & AddExecutionMetrics(ExecutionMetricsKeyT &&key, ExecutionMetricsValueT &&value)
ActivityResponse & WithStart(StartT &&value)
AWS_PINPOINT_API ActivityResponse(Aws::Utils::Json::JsonView jsonValue)
bool SuccessfulEndpointCountHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScheduledStart(ScheduledStartT &&value)
void SetApplicationId(ApplicationIdT &&value)
void SetTimezonesCompletedCount(int value)
void SetState(StateT &&value)
bool EndHasBeenSet() const
bool ResultHasBeenSet() const
AWS_PINPOINT_API ActivityResponse()=default
ActivityResponse & WithExecutionMetrics(ExecutionMetricsT &&value)
bool TimezonesTotalCountHasBeenSet() const
bool CampaignIdHasBeenSet() const
int GetTimezonesCompletedCount() const
ActivityResponse & WithState(StateT &&value)
const Aws::String & GetTreatmentId() const
void SetSuccessfulEndpointCount(int value)
ActivityResponse & WithResult(ResultT &&value)
ActivityResponse & WithTreatmentId(TreatmentIdT &&value)
bool TimezonesCompletedCountHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue