AWS SDK for C++  1.9.102
AWS SDK for C++
CampaignUpdateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
47 
51  inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
52 
56  inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
57 
61  inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
62 
66  inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
67 
71  inline CampaignUpdateSummary& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
72 
76  inline CampaignUpdateSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
77 
81  inline CampaignUpdateSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
82 
83 
88  inline int GetMinProvisionedTPS() const{ return m_minProvisionedTPS; }
89 
94  inline bool MinProvisionedTPSHasBeenSet() const { return m_minProvisionedTPSHasBeenSet; }
95 
100  inline void SetMinProvisionedTPS(int value) { m_minProvisionedTPSHasBeenSet = true; m_minProvisionedTPS = value; }
101 
106  inline CampaignUpdateSummary& WithMinProvisionedTPS(int value) { SetMinProvisionedTPS(value); return *this;}
107 
108 
109 
110  inline const CampaignConfig& GetCampaignConfig() const{ return m_campaignConfig; }
111 
112 
113  inline bool CampaignConfigHasBeenSet() const { return m_campaignConfigHasBeenSet; }
114 
115 
116  inline void SetCampaignConfig(const CampaignConfig& value) { m_campaignConfigHasBeenSet = true; m_campaignConfig = value; }
117 
118 
119  inline void SetCampaignConfig(CampaignConfig&& value) { m_campaignConfigHasBeenSet = true; m_campaignConfig = std::move(value); }
120 
121 
122  inline CampaignUpdateSummary& WithCampaignConfig(const CampaignConfig& value) { SetCampaignConfig(value); return *this;}
123 
124 
125  inline CampaignUpdateSummary& WithCampaignConfig(CampaignConfig&& value) { SetCampaignConfig(std::move(value)); return *this;}
126 
127 
134  inline const Aws::String& GetStatus() const{ return m_status; }
135 
142  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
143 
150  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
151 
158  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
159 
166  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
167 
174  inline CampaignUpdateSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
175 
182  inline CampaignUpdateSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
183 
190  inline CampaignUpdateSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
191 
192 
196  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
197 
201  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
202 
206  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
207 
211  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
212 
216  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
217 
221  inline CampaignUpdateSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
222 
226  inline CampaignUpdateSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
227 
231  inline CampaignUpdateSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
232 
233 
237  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
238 
242  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
243 
247  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
248 
252  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
253 
257  inline CampaignUpdateSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
258 
262  inline CampaignUpdateSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
263 
264 
269  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
270 
275  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
276 
281  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
282 
287  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
288 
293  inline CampaignUpdateSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
294 
299  inline CampaignUpdateSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
300 
301  private:
302 
303  Aws::String m_solutionVersionArn;
304  bool m_solutionVersionArnHasBeenSet;
305 
306  int m_minProvisionedTPS;
307  bool m_minProvisionedTPSHasBeenSet;
308 
309  CampaignConfig m_campaignConfig;
310  bool m_campaignConfigHasBeenSet;
311 
312  Aws::String m_status;
313  bool m_statusHasBeenSet;
314 
315  Aws::String m_failureReason;
316  bool m_failureReasonHasBeenSet;
317 
318  Aws::Utils::DateTime m_creationDateTime;
319  bool m_creationDateTimeHasBeenSet;
320 
321  Aws::Utils::DateTime m_lastUpdatedDateTime;
322  bool m_lastUpdatedDateTimeHasBeenSet;
323  };
324 
325 } // namespace Model
326 } // namespace Personalize
327 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::CampaignUpdateSummary::WithFailureReason
CampaignUpdateSummary & WithFailureReason(const char *value)
Definition: CampaignUpdateSummary.h:231
Aws::Personalize::Model::CampaignUpdateSummary::WithSolutionVersionArn
CampaignUpdateSummary & WithSolutionVersionArn(Aws::String &&value)
Definition: CampaignUpdateSummary.h:76
Aws::Personalize::Model::CampaignUpdateSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: CampaignUpdateSummary.h:247
Aws::Personalize::Model::CampaignUpdateSummary::WithMinProvisionedTPS
CampaignUpdateSummary & WithMinProvisionedTPS(int value)
Definition: CampaignUpdateSummary.h:106
Aws::Personalize::Model::CampaignUpdateSummary::WithSolutionVersionArn
CampaignUpdateSummary & WithSolutionVersionArn(const Aws::String &value)
Definition: CampaignUpdateSummary.h:71
Aws::Personalize::Model::CampaignUpdateSummary::MinProvisionedTPSHasBeenSet
bool MinProvisionedTPSHasBeenSet() const
Definition: CampaignUpdateSummary.h:94
Aws::Personalize::Model::CampaignUpdateSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: CampaignUpdateSummary.h:216
Aws::Personalize::Model::CampaignUpdateSummary::WithLastUpdatedDateTime
CampaignUpdateSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: CampaignUpdateSummary.h:299
Aws::Personalize::Model::CampaignUpdateSummary::WithCampaignConfig
CampaignUpdateSummary & WithCampaignConfig(const CampaignConfig &value)
Definition: CampaignUpdateSummary.h:122
Aws::Personalize::Model::CampaignUpdateSummary
Definition: CampaignUpdateSummary.h:35
CampaignConfig.h
DateTime.h
Aws::Personalize::Model::CampaignUpdateSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: CampaignUpdateSummary.h:275
Aws::Personalize::Model::CampaignUpdateSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: CampaignUpdateSummary.h:158
Aws::Personalize::Model::CampaignUpdateSummary::SetCampaignConfig
void SetCampaignConfig(const CampaignConfig &value)
Definition: CampaignUpdateSummary.h:116
Aws::Personalize::Model::CampaignConfig
Definition: CampaignConfig.h:33
Aws::Personalize::Model::CampaignUpdateSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: CampaignUpdateSummary.h:252
Aws::Personalize::Model::CampaignUpdateSummary::SetStatus
void SetStatus(const char *value)
Definition: CampaignUpdateSummary.h:166
Aws::Personalize::Model::CampaignUpdateSummary::operator=
CampaignUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CampaignUpdateSummary::WithCreationDateTime
CampaignUpdateSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: CampaignUpdateSummary.h:262
Aws::Personalize::Model::CampaignUpdateSummary::WithFailureReason
CampaignUpdateSummary & WithFailureReason(const Aws::String &value)
Definition: CampaignUpdateSummary.h:221
Aws::Personalize::Model::CampaignUpdateSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: CampaignUpdateSummary.h:281
Aws::Personalize::Model::CampaignUpdateSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: CampaignUpdateSummary.h:211
Aws::Personalize::Model::CampaignUpdateSummary::GetStatus
const Aws::String & GetStatus() const
Definition: CampaignUpdateSummary.h:134
Aws::Personalize::Model::CampaignUpdateSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: CampaignUpdateSummary.h:142
Aws::Personalize::Model::CampaignUpdateSummary::GetMinProvisionedTPS
int GetMinProvisionedTPS() const
Definition: CampaignUpdateSummary.h:88
Aws::Personalize::Model::CampaignUpdateSummary::CampaignUpdateSummary
CampaignUpdateSummary()
Aws::Personalize::Model::CampaignUpdateSummary::WithStatus
CampaignUpdateSummary & WithStatus(Aws::String &&value)
Definition: CampaignUpdateSummary.h:182
Aws::Personalize::Model::CampaignUpdateSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: CampaignUpdateSummary.h:237
Aws::Personalize::Model::CampaignUpdateSummary::SolutionVersionArnHasBeenSet
bool SolutionVersionArnHasBeenSet() const
Definition: CampaignUpdateSummary.h:51
Aws::Personalize::Model::CampaignUpdateSummary::WithFailureReason
CampaignUpdateSummary & WithFailureReason(Aws::String &&value)
Definition: CampaignUpdateSummary.h:226
Aws::Personalize::Model::CampaignUpdateSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: CampaignUpdateSummary.h:269
Aws::Personalize::Model::CampaignUpdateSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: CampaignUpdateSummary.h:206
Aws::Personalize::Model::CampaignUpdateSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: CampaignUpdateSummary.h:196
Aws::Personalize::Model::CampaignUpdateSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: CampaignUpdateSummary.h:242
Aws::Personalize::Model::CampaignUpdateSummary::WithSolutionVersionArn
CampaignUpdateSummary & WithSolutionVersionArn(const char *value)
Definition: CampaignUpdateSummary.h:81
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::CampaignUpdateSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: CampaignUpdateSummary.h:287
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::CampaignUpdateSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: CampaignUpdateSummary.h:201
Aws::Personalize::Model::CampaignUpdateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::CampaignUpdateSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const char *value)
Definition: CampaignUpdateSummary.h:66
Aws::Personalize::Model::CampaignUpdateSummary::WithLastUpdatedDateTime
CampaignUpdateSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: CampaignUpdateSummary.h:293
Aws::Personalize::Model::CampaignUpdateSummary::SetMinProvisionedTPS
void SetMinProvisionedTPS(int value)
Definition: CampaignUpdateSummary.h:100
Aws::Personalize::Model::CampaignUpdateSummary::CampaignUpdateSummary
CampaignUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::CampaignUpdateSummary::GetCampaignConfig
const CampaignConfig & GetCampaignConfig() const
Definition: CampaignUpdateSummary.h:110
Aws::Personalize::Model::CampaignUpdateSummary::CampaignConfigHasBeenSet
bool CampaignConfigHasBeenSet() const
Definition: CampaignUpdateSummary.h:113
Aws::Personalize::Model::CampaignUpdateSummary::WithCreationDateTime
CampaignUpdateSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: CampaignUpdateSummary.h:257
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CampaignUpdateSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: CampaignUpdateSummary.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CampaignUpdateSummary::WithCampaignConfig
CampaignUpdateSummary & WithCampaignConfig(CampaignConfig &&value)
Definition: CampaignUpdateSummary.h:125
Aws::Personalize::Model::CampaignUpdateSummary::SetSolutionVersionArn
void SetSolutionVersionArn(Aws::String &&value)
Definition: CampaignUpdateSummary.h:61
Personalize_EXPORTS.h
Aws::Personalize::Model::CampaignUpdateSummary::WithStatus
CampaignUpdateSummary & WithStatus(const char *value)
Definition: CampaignUpdateSummary.h:190
Aws::Personalize::Model::CampaignUpdateSummary::GetSolutionVersionArn
const Aws::String & GetSolutionVersionArn() const
Definition: CampaignUpdateSummary.h:46
Aws::Personalize::Model::CampaignUpdateSummary::SetCampaignConfig
void SetCampaignConfig(CampaignConfig &&value)
Definition: CampaignUpdateSummary.h:119
Aws::Personalize::Model::CampaignUpdateSummary::WithStatus
CampaignUpdateSummary & WithStatus(const Aws::String &value)
Definition: CampaignUpdateSummary.h:174
Aws::Personalize::Model::CampaignUpdateSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const Aws::String &value)
Definition: CampaignUpdateSummary.h:56