AWS SDK for C++  1.9.104
AWS SDK for C++
CloudFormationStackRecord.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace Lightsail
29 {
30 namespace Model
31 {
32 
43  {
44  public:
49 
50 
55  inline const Aws::String& GetName() const{ return m_name; }
56 
61  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 
67  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 
73  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 
79  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 
85  inline CloudFormationStackRecord& WithName(const Aws::String& value) { SetName(value); return *this;}
86 
91  inline CloudFormationStackRecord& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 
97  inline CloudFormationStackRecord& WithName(const char* value) { SetName(value); return *this;}
98 
99 
103  inline const Aws::String& GetArn() const{ return m_arn; }
104 
108  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
109 
113  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
114 
118  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
119 
123  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
124 
128  inline CloudFormationStackRecord& WithArn(const Aws::String& value) { SetArn(value); return *this;}
129 
133  inline CloudFormationStackRecord& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
134 
138  inline CloudFormationStackRecord& WithArn(const char* value) { SetArn(value); return *this;}
139 
140 
144  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
145 
149  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
150 
154  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
155 
159  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
160 
164  inline CloudFormationStackRecord& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
165 
169  inline CloudFormationStackRecord& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
170 
171 
176  inline const ResourceLocation& GetLocation() const{ return m_location; }
177 
182  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
183 
188  inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
189 
194  inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
195 
200  inline CloudFormationStackRecord& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
201 
206  inline CloudFormationStackRecord& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
207 
208 
213  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
214 
219  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
220 
225  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
226 
231  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
232 
237  inline CloudFormationStackRecord& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
238 
243  inline CloudFormationStackRecord& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
244 
245 
249  inline const RecordState& GetState() const{ return m_state; }
250 
254  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
255 
259  inline void SetState(const RecordState& value) { m_stateHasBeenSet = true; m_state = value; }
260 
264  inline void SetState(RecordState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
265 
269  inline CloudFormationStackRecord& WithState(const RecordState& value) { SetState(value); return *this;}
270 
274  inline CloudFormationStackRecord& WithState(RecordState&& value) { SetState(std::move(value)); return *this;}
275 
276 
281  inline const Aws::Vector<CloudFormationStackRecordSourceInfo>& GetSourceInfo() const{ return m_sourceInfo; }
282 
287  inline bool SourceInfoHasBeenSet() const { return m_sourceInfoHasBeenSet; }
288 
293  inline void SetSourceInfo(const Aws::Vector<CloudFormationStackRecordSourceInfo>& value) { m_sourceInfoHasBeenSet = true; m_sourceInfo = value; }
294 
299  inline void SetSourceInfo(Aws::Vector<CloudFormationStackRecordSourceInfo>&& value) { m_sourceInfoHasBeenSet = true; m_sourceInfo = std::move(value); }
300 
305  inline CloudFormationStackRecord& WithSourceInfo(const Aws::Vector<CloudFormationStackRecordSourceInfo>& value) { SetSourceInfo(value); return *this;}
306 
311  inline CloudFormationStackRecord& WithSourceInfo(Aws::Vector<CloudFormationStackRecordSourceInfo>&& value) { SetSourceInfo(std::move(value)); return *this;}
312 
317  inline CloudFormationStackRecord& AddSourceInfo(const CloudFormationStackRecordSourceInfo& value) { m_sourceInfoHasBeenSet = true; m_sourceInfo.push_back(value); return *this; }
318 
323  inline CloudFormationStackRecord& AddSourceInfo(CloudFormationStackRecordSourceInfo&& value) { m_sourceInfoHasBeenSet = true; m_sourceInfo.push_back(std::move(value)); return *this; }
324 
325 
331  inline const DestinationInfo& GetDestinationInfo() const{ return m_destinationInfo; }
332 
338  inline bool DestinationInfoHasBeenSet() const { return m_destinationInfoHasBeenSet; }
339 
345  inline void SetDestinationInfo(const DestinationInfo& value) { m_destinationInfoHasBeenSet = true; m_destinationInfo = value; }
346 
352  inline void SetDestinationInfo(DestinationInfo&& value) { m_destinationInfoHasBeenSet = true; m_destinationInfo = std::move(value); }
353 
359  inline CloudFormationStackRecord& WithDestinationInfo(const DestinationInfo& value) { SetDestinationInfo(value); return *this;}
360 
366  inline CloudFormationStackRecord& WithDestinationInfo(DestinationInfo&& value) { SetDestinationInfo(std::move(value)); return *this;}
367 
368  private:
369 
370  Aws::String m_name;
371  bool m_nameHasBeenSet;
372 
373  Aws::String m_arn;
374  bool m_arnHasBeenSet;
375 
376  Aws::Utils::DateTime m_createdAt;
377  bool m_createdAtHasBeenSet;
378 
379  ResourceLocation m_location;
380  bool m_locationHasBeenSet;
381 
382  ResourceType m_resourceType;
383  bool m_resourceTypeHasBeenSet;
384 
385  RecordState m_state;
386  bool m_stateHasBeenSet;
387 
389  bool m_sourceInfoHasBeenSet;
390 
391  DestinationInfo m_destinationInfo;
392  bool m_destinationInfoHasBeenSet;
393  };
394 
395 } // namespace Model
396 } // namespace Lightsail
397 } // namespace Aws
Aws::Lightsail::Model::CloudFormationStackRecord::SetState
void SetState(const RecordState &value)
Definition: CloudFormationStackRecord.h:259
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::CloudFormationStackRecord::StateHasBeenSet
bool StateHasBeenSet() const
Definition: CloudFormationStackRecord.h:254
Aws::Lightsail::Model::CloudFormationStackRecord::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: CloudFormationStackRecord.h:159
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo
Definition: CloudFormationStackRecordSourceInfo.h:34
Aws::Lightsail::Model::CloudFormationStackRecord::SetState
void SetState(RecordState &&value)
Definition: CloudFormationStackRecord.h:264
Aws::Lightsail::Model::CloudFormationStackRecord::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: CloudFormationStackRecord.h:108
Aws::Lightsail::Model::CloudFormationStackRecord::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: CloudFormationStackRecord.h:225
Aws::Lightsail::Model::CloudFormationStackRecord::SetDestinationInfo
void SetDestinationInfo(const DestinationInfo &value)
Definition: CloudFormationStackRecord.h:345
ResourceType.h
Aws::Lightsail::Model::CloudFormationStackRecord::AddSourceInfo
CloudFormationStackRecord & AddSourceInfo(CloudFormationStackRecordSourceInfo &&value)
Definition: CloudFormationStackRecord.h:323
Aws::Lightsail::Model::CloudFormationStackRecord::WithResourceType
CloudFormationStackRecord & WithResourceType(const ResourceType &value)
Definition: CloudFormationStackRecord.h:237
Aws::Lightsail::Model::CloudFormationStackRecord::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::CloudFormationStackRecord::SetSourceInfo
void SetSourceInfo(const Aws::Vector< CloudFormationStackRecordSourceInfo > &value)
Definition: CloudFormationStackRecord.h:293
Aws::Lightsail::Model::CloudFormationStackRecord::GetResourceType
const ResourceType & GetResourceType() const
Definition: CloudFormationStackRecord.h:213
DateTime.h
Aws::Lightsail::Model::CloudFormationStackRecord::CloudFormationStackRecord
CloudFormationStackRecord()
Aws::Lightsail::Model::CloudFormationStackRecord::GetLocation
const ResourceLocation & GetLocation() const
Definition: CloudFormationStackRecord.h:176
Aws::Lightsail::Model::CloudFormationStackRecord::WithName
CloudFormationStackRecord & WithName(const Aws::String &value)
Definition: CloudFormationStackRecord.h:85
Aws::Lightsail::Model::CloudFormationStackRecord::SetDestinationInfo
void SetDestinationInfo(DestinationInfo &&value)
Definition: CloudFormationStackRecord.h:352
DestinationInfo.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::CloudFormationStackRecord::GetName
const Aws::String & GetName() const
Definition: CloudFormationStackRecord.h:55
CloudFormationStackRecordSourceInfo.h
Aws::Lightsail::Model::CloudFormationStackRecord::WithArn
CloudFormationStackRecord & WithArn(Aws::String &&value)
Definition: CloudFormationStackRecord.h:133
Aws::Lightsail::Model::CloudFormationStackRecord::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: CloudFormationStackRecord.h:144
AWSVector.h
Aws::Lightsail::Model::CloudFormationStackRecord::SetName
void SetName(const Aws::String &value)
Definition: CloudFormationStackRecord.h:67
Aws::Lightsail::Model::CloudFormationStackRecord::SetArn
void SetArn(const Aws::String &value)
Definition: CloudFormationStackRecord.h:113
Aws::Lightsail::Model::CloudFormationStackRecord::SetSourceInfo
void SetSourceInfo(Aws::Vector< CloudFormationStackRecordSourceInfo > &&value)
Definition: CloudFormationStackRecord.h:299
Aws::Lightsail::Model::CloudFormationStackRecord::WithArn
CloudFormationStackRecord & WithArn(const char *value)
Definition: CloudFormationStackRecord.h:138
Aws::Lightsail::Model::CloudFormationStackRecord::DestinationInfoHasBeenSet
bool DestinationInfoHasBeenSet() const
Definition: CloudFormationStackRecord.h:338
Aws::Lightsail::Model::CloudFormationStackRecord::WithCreatedAt
CloudFormationStackRecord & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: CloudFormationStackRecord.h:164
Aws::Lightsail::Model::CloudFormationStackRecord::WithLocation
CloudFormationStackRecord & WithLocation(ResourceLocation &&value)
Definition: CloudFormationStackRecord.h:206
Aws::Lightsail::Model::CloudFormationStackRecord::WithState
CloudFormationStackRecord & WithState(const RecordState &value)
Definition: CloudFormationStackRecord.h:269
Aws::Lightsail::Model::CloudFormationStackRecord::SetArn
void SetArn(const char *value)
Definition: CloudFormationStackRecord.h:123
Aws::Lightsail::Model::CloudFormationStackRecord::GetSourceInfo
const Aws::Vector< CloudFormationStackRecordSourceInfo > & GetSourceInfo() const
Definition: CloudFormationStackRecord.h:281
Aws::Lightsail::Model::CloudFormationStackRecord::GetArn
const Aws::String & GetArn() const
Definition: CloudFormationStackRecord.h:103
Aws::Lightsail::Model::ResourceLocation
Definition: ResourceLocation.h:33
Aws::Lightsail::Model::CloudFormationStackRecord::GetDestinationInfo
const DestinationInfo & GetDestinationInfo() const
Definition: CloudFormationStackRecord.h:331
Aws::Lightsail::Model::CloudFormationStackRecord::SetLocation
void SetLocation(const ResourceLocation &value)
Definition: CloudFormationStackRecord.h:188
Aws::Lightsail::Model::CloudFormationStackRecord::WithState
CloudFormationStackRecord & WithState(RecordState &&value)
Definition: CloudFormationStackRecord.h:274
Aws::Lightsail::Model::CloudFormationStackRecord::WithCreatedAt
CloudFormationStackRecord & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: CloudFormationStackRecord.h:169
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Lightsail::Model::CloudFormationStackRecord::SourceInfoHasBeenSet
bool SourceInfoHasBeenSet() const
Definition: CloudFormationStackRecord.h:287
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::CloudFormationStackRecord::GetState
const RecordState & GetState() const
Definition: CloudFormationStackRecord.h:249
Aws::Lightsail::Model::CloudFormationStackRecord::WithLocation
CloudFormationStackRecord & WithLocation(const ResourceLocation &value)
Definition: CloudFormationStackRecord.h:200
Aws::Lightsail::Model::CloudFormationStackRecord::SetArn
void SetArn(Aws::String &&value)
Definition: CloudFormationStackRecord.h:118
Aws::Lightsail::Model::CloudFormationStackRecord::WithDestinationInfo
CloudFormationStackRecord & WithDestinationInfo(DestinationInfo &&value)
Definition: CloudFormationStackRecord.h:366
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CloudFormationStackRecord::SetName
void SetName(Aws::String &&value)
Definition: CloudFormationStackRecord.h:73
Aws::Lightsail::Model::CloudFormationStackRecord::SetName
void SetName(const char *value)
Definition: CloudFormationStackRecord.h:79
Aws::Lightsail::Model::CloudFormationStackRecord::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: CloudFormationStackRecord.h:219
Aws::Lightsail::Model::CloudFormationStackRecord::WithSourceInfo
CloudFormationStackRecord & WithSourceInfo(Aws::Vector< CloudFormationStackRecordSourceInfo > &&value)
Definition: CloudFormationStackRecord.h:311
Aws::Lightsail::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
ResourceLocation.h
Aws
Definition: AccessManagementClient.h:15
RecordState.h
Aws::Lightsail::Model::CloudFormationStackRecord::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: CloudFormationStackRecord.h:231
Aws::Lightsail::Model::CloudFormationStackRecord::WithSourceInfo
CloudFormationStackRecord & WithSourceInfo(const Aws::Vector< CloudFormationStackRecordSourceInfo > &value)
Definition: CloudFormationStackRecord.h:305
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CloudFormationStackRecord::operator=
CloudFormationStackRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CloudFormationStackRecord::AddSourceInfo
CloudFormationStackRecord & AddSourceInfo(const CloudFormationStackRecordSourceInfo &value)
Definition: CloudFormationStackRecord.h:317
Aws::Lightsail::Model::CloudFormationStackRecord::WithDestinationInfo
CloudFormationStackRecord & WithDestinationInfo(const DestinationInfo &value)
Definition: CloudFormationStackRecord.h:359
Aws::Lightsail::Model::CloudFormationStackRecord::SetLocation
void SetLocation(ResourceLocation &&value)
Definition: CloudFormationStackRecord.h:194
Aws::Lightsail::Model::CloudFormationStackRecord::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: CloudFormationStackRecord.h:149
Aws::Lightsail::Model::CloudFormationStackRecord::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: CloudFormationStackRecord.h:154
Aws::Lightsail::Model::CloudFormationStackRecord
Definition: CloudFormationStackRecord.h:43
Aws::Lightsail::Model::RecordState
RecordState
Definition: RecordState.h:17
Aws::Lightsail::Model::CloudFormationStackRecord::WithName
CloudFormationStackRecord & WithName(const char *value)
Definition: CloudFormationStackRecord.h:97
Aws::Lightsail::Model::CloudFormationStackRecord::WithArn
CloudFormationStackRecord & WithArn(const Aws::String &value)
Definition: CloudFormationStackRecord.h:128
Aws::Lightsail::Model::CloudFormationStackRecord::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: CloudFormationStackRecord.h:182
Aws::Lightsail::Model::CloudFormationStackRecord::CloudFormationStackRecord
CloudFormationStackRecord(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::CloudFormationStackRecord::WithResourceType
CloudFormationStackRecord & WithResourceType(ResourceType &&value)
Definition: CloudFormationStackRecord.h:243
Aws::Lightsail::Model::CloudFormationStackRecord::WithName
CloudFormationStackRecord & WithName(Aws::String &&value)
Definition: CloudFormationStackRecord.h:91
Aws::Lightsail::Model::DestinationInfo
Definition: DestinationInfo.h:32
Aws::Lightsail::Model::CloudFormationStackRecord::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CloudFormationStackRecord.h:61