7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
42 template <
typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet =
true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
47 template <
typename ApplicationIdT = Aws::String>
60 template <
typename CampaignIdT = Aws::String>
62 m_campaignIdHasBeenSet =
true;
63 m_campaignId = std::forward<CampaignIdT>(value);
65 template <
typename CampaignIdT = Aws::String>
79 template <
typename EndT = Aws::String>
81 m_endHasBeenSet =
true;
82 m_end = std::forward<EndT>(value);
84 template <
typename EndT = Aws::String>
86 SetEnd(std::forward<EndT>(value));
97 template <
typename IdT = Aws::String>
99 m_idHasBeenSet =
true;
100 m_id = std::forward<IdT>(value);
102 template <
typename IdT = Aws::String>
104 SetId(std::forward<IdT>(value));
116 template <
typename ResultT = Aws::String>
118 m_resultHasBeenSet =
true;
119 m_result = std::forward<ResultT>(value);
121 template <
typename ResultT = Aws::String>
134 template <
typename ScheduledStartT = Aws::String>
136 m_scheduledStartHasBeenSet =
true;
137 m_scheduledStart = std::forward<ScheduledStartT>(value);
139 template <
typename ScheduledStartT = Aws::String>
152 template <
typename StartT = Aws::String>
154 m_startHasBeenSet =
true;
155 m_start = std::forward<StartT>(value);
157 template <
typename StartT = Aws::String>
159 SetStart(std::forward<StartT>(value));
171 template <
typename StateT = Aws::String>
173 m_stateHasBeenSet =
true;
174 m_state = std::forward<StateT>(value);
176 template <
typename StateT = Aws::String>
178 SetState(std::forward<StateT>(value));
191 m_successfulEndpointCountHasBeenSet =
true;
192 m_successfulEndpointCount = value;
207 m_timezonesCompletedCountHasBeenSet =
true;
208 m_timezonesCompletedCount = value;
224 m_timezonesTotalCountHasBeenSet =
true;
225 m_timezonesTotalCount = value;
241 m_totalEndpointCountHasBeenSet =
true;
242 m_totalEndpointCount = value;
258 template <
typename TreatmentIdT = Aws::String>
260 m_treatmentIdHasBeenSet =
true;
261 m_treatmentId = std::forward<TreatmentIdT>(value);
263 template <
typename TreatmentIdT = Aws::String>
281 template <
typename ExecutionMetricsT = Aws::Map<Aws::String, Aws::String>>
283 m_executionMetricsHasBeenSet =
true;
284 m_executionMetrics = std::forward<ExecutionMetricsT>(value);
286 template <
typename ExecutionMetricsT = Aws::Map<Aws::String, Aws::String>>
291 template <
typename ExecutionMetricsKeyT = Aws::String,
typename ExecutionMetricsValueT = Aws::String>
293 m_executionMetricsHasBeenSet =
true;
294 m_executionMetrics.emplace(std::forward<ExecutionMetricsKeyT>(key), std::forward<ExecutionMetricsValueT>(value));
300 bool m_applicationIdHasBeenSet =
false;
303 bool m_campaignIdHasBeenSet =
false;
306 bool m_endHasBeenSet =
false;
309 bool m_idHasBeenSet =
false;
312 bool m_resultHasBeenSet =
false;
315 bool m_scheduledStartHasBeenSet =
false;
318 bool m_startHasBeenSet =
false;
321 bool m_stateHasBeenSet =
false;
323 int m_successfulEndpointCount{0};
324 bool m_successfulEndpointCountHasBeenSet =
false;
326 int m_timezonesCompletedCount{0};
327 bool m_timezonesCompletedCountHasBeenSet =
false;
329 int m_timezonesTotalCount{0};
330 bool m_timezonesTotalCountHasBeenSet =
false;
332 int m_totalEndpointCount{0};
333 bool m_totalEndpointCountHasBeenSet =
false;
336 bool m_treatmentIdHasBeenSet =
false;
339 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