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>
50 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
64 inline void SetCampaignId(
const char* value) { m_campaignIdHasBeenSet =
true; m_campaignId.assign(value); }
78 inline void SetEnd(
Aws::String&& value) { m_endHasBeenSet =
true; m_end = std::move(value); }
79 inline void SetEnd(
const char* value) { m_endHasBeenSet =
true; m_end.assign(value); }
92 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
93 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
108 inline void SetResult(
const char* value) { m_resultHasBeenSet =
true; m_result.assign(value); }
122 inline void SetScheduledStart(
const char* value) { m_scheduledStartHasBeenSet =
true; m_scheduledStart.assign(value); }
136 inline void SetStart(
const char* value) { m_startHasBeenSet =
true; m_start.assign(value); }
151 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
196 inline void SetTotalEndpointCount(
int value) { m_totalEndpointCountHasBeenSet =
true; m_totalEndpointCount = value; }
210 inline void SetTreatmentId(
const char* value) { m_treatmentIdHasBeenSet =
true; m_treatmentId.assign(value); }
242 bool m_applicationIdHasBeenSet =
false;
245 bool m_campaignIdHasBeenSet =
false;
248 bool m_endHasBeenSet =
false;
251 bool m_idHasBeenSet =
false;
254 bool m_resultHasBeenSet =
false;
257 bool m_scheduledStartHasBeenSet =
false;
260 bool m_startHasBeenSet =
false;
263 bool m_stateHasBeenSet =
false;
265 int m_successfulEndpointCount;
266 bool m_successfulEndpointCountHasBeenSet =
false;
268 int m_timezonesCompletedCount;
269 bool m_timezonesCompletedCountHasBeenSet =
false;
271 int m_timezonesTotalCount;
272 bool m_timezonesTotalCountHasBeenSet =
false;
274 int m_totalEndpointCount;
275 bool m_totalEndpointCountHasBeenSet =
false;
278 bool m_treatmentIdHasBeenSet =
false;
281 bool m_executionMetricsHasBeenSet =
false;
bool StartHasBeenSet() const
void SetCampaignId(const char *value)
ActivityResponse & WithApplicationId(const Aws::String &value)
ActivityResponse & WithExecutionMetrics(const Aws::Map< Aws::String, Aws::String > &value)
ActivityResponse & WithScheduledStart(const Aws::String &value)
const Aws::String & GetResult() const
bool TotalEndpointCountHasBeenSet() const
const Aws::String & GetState() const
ActivityResponse & WithResult(const char *value)
void SetState(const Aws::String &value)
ActivityResponse & WithScheduledStart(Aws::String &&value)
ActivityResponse & WithTotalEndpointCount(int value)
const Aws::String & GetEnd() const
AWS_PINPOINT_API ActivityResponse()
void SetId(const Aws::String &value)
void SetStart(const Aws::String &value)
void SetCampaignId(Aws::String &&value)
bool ScheduledStartHasBeenSet() const
void SetCampaignId(const Aws::String &value)
ActivityResponse & WithStart(const char *value)
int GetTimezonesTotalCount() const
bool StateHasBeenSet() const
int GetSuccessfulEndpointCount() const
ActivityResponse & WithEnd(const Aws::String &value)
ActivityResponse & AddExecutionMetrics(const Aws::String &key, const Aws::String &value)
void SetTimezonesTotalCount(int value)
int GetTotalEndpointCount() const
void SetTreatmentId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetExecutionMetrics() const
ActivityResponse & WithState(Aws::String &&value)
ActivityResponse & AddExecutionMetrics(Aws::String &&key, Aws::String &&value)
ActivityResponse & WithState(const char *value)
void SetExecutionMetrics(const Aws::Map< Aws::String, Aws::String > &value)
void SetTotalEndpointCount(int value)
bool ExecutionMetricsHasBeenSet() const
const Aws::String & GetStart() const
void SetStart(const char *value)
ActivityResponse & WithId(const Aws::String &value)
void SetTreatmentId(const char *value)
ActivityResponse & WithCampaignId(const char *value)
bool ApplicationIdHasBeenSet() const
ActivityResponse & WithId(const char *value)
void SetEnd(const char *value)
const Aws::String & GetScheduledStart() const
AWS_PINPOINT_API ActivityResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionMetrics(Aws::Map< Aws::String, Aws::String > &&value)
ActivityResponse & WithExecutionMetrics(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetCampaignId() const
ActivityResponse & WithCampaignId(Aws::String &&value)
const Aws::String & GetId() const
ActivityResponse & WithTimezonesCompletedCount(int value)
ActivityResponse & WithApplicationId(Aws::String &&value)
void SetResult(Aws::String &&value)
ActivityResponse & AddExecutionMetrics(Aws::String &&key, const char *value)
void SetStart(Aws::String &&value)
bool IdHasBeenSet() const
ActivityResponse & WithTimezonesTotalCount(int value)
ActivityResponse & WithTreatmentId(const Aws::String &value)
ActivityResponse & AddExecutionMetrics(const char *key, const char *value)
void SetScheduledStart(const char *value)
ActivityResponse & WithTreatmentId(const char *value)
ActivityResponse & WithStart(Aws::String &&value)
void SetEnd(const Aws::String &value)
ActivityResponse & AddExecutionMetrics(Aws::String &&key, const Aws::String &value)
void SetResult(const char *value)
ActivityResponse & WithScheduledStart(const char *value)
void SetResult(const Aws::String &value)
void SetId(const char *value)
bool TreatmentIdHasBeenSet() const
void SetApplicationId(Aws::String &&value)
ActivityResponse & WithSuccessfulEndpointCount(int value)
void SetScheduledStart(Aws::String &&value)
void SetState(const char *value)
const Aws::String & GetApplicationId() const
ActivityResponse & WithResult(Aws::String &&value)
ActivityResponse & WithStart(const Aws::String &value)
ActivityResponse & WithState(const Aws::String &value)
ActivityResponse & WithEnd(Aws::String &&value)
AWS_PINPOINT_API ActivityResponse(Aws::Utils::Json::JsonView jsonValue)
ActivityResponse & WithId(Aws::String &&value)
ActivityResponse & WithApplicationId(const char *value)
bool SuccessfulEndpointCountHasBeenSet() const
ActivityResponse & AddExecutionMetrics(const Aws::String &key, Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimezonesCompletedCount(int value)
ActivityResponse & WithCampaignId(const Aws::String &value)
bool EndHasBeenSet() const
ActivityResponse & WithEnd(const char *value)
bool ResultHasBeenSet() const
bool TimezonesTotalCountHasBeenSet() const
void SetId(Aws::String &&value)
bool CampaignIdHasBeenSet() const
int GetTimezonesCompletedCount() const
ActivityResponse & WithTreatmentId(Aws::String &&value)
void SetApplicationId(const char *value)
const Aws::String & GetTreatmentId() const
void SetSuccessfulEndpointCount(int value)
ActivityResponse & AddExecutionMetrics(const char *key, Aws::String &&value)
void SetScheduledStart(const Aws::String &value)
void SetState(Aws::String &&value)
void SetTreatmentId(const Aws::String &value)
bool TimezonesCompletedCountHasBeenSet() const
void SetEnd(Aws::String &&value)
ActivityResponse & WithResult(const Aws::String &value)
void SetApplicationId(const Aws::String &value)
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