AWS SDK for C++  0.14.3
AWS SDK for C++
ChangeSetSummary.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlNode;
30 } // namespace Xml
31 } // namespace Utils
32 namespace CloudFormation
33 {
34 namespace Model
35 {
36 
42  {
43  public:
46  ChangeSetSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
54  inline const Aws::String& GetStackId() const{ return m_stackId; }
55 
59  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
60 
64  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
65 
69  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
70 
74  inline ChangeSetSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
75 
79  inline ChangeSetSummary& WithStackId(Aws::String&& value) { SetStackId(value); return *this;}
80 
84  inline ChangeSetSummary& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
89  inline const Aws::String& GetStackName() const{ return m_stackName; }
90 
94  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
95 
99  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
100 
104  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
105 
109  inline ChangeSetSummary& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
110 
114  inline ChangeSetSummary& WithStackName(Aws::String&& value) { SetStackName(value); return *this;}
115 
119  inline ChangeSetSummary& WithStackName(const char* value) { SetStackName(value); return *this;}
120 
124  inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
125 
129  inline void SetChangeSetId(const Aws::String& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = value; }
130 
134  inline void SetChangeSetId(Aws::String&& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = value; }
135 
139  inline void SetChangeSetId(const char* value) { m_changeSetIdHasBeenSet = true; m_changeSetId.assign(value); }
140 
144  inline ChangeSetSummary& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
145 
149  inline ChangeSetSummary& WithChangeSetId(Aws::String&& value) { SetChangeSetId(value); return *this;}
150 
154  inline ChangeSetSummary& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
155 
159  inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
160 
164  inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
165 
169  inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
170 
174  inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
175 
179  inline ChangeSetSummary& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
180 
184  inline ChangeSetSummary& WithChangeSetName(Aws::String&& value) { SetChangeSetName(value); return *this;}
185 
189  inline ChangeSetSummary& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
190 
198  inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
199 
207  inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
208 
216  inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
217 
225  inline ChangeSetSummary& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;}
226 
234  inline ChangeSetSummary& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(value); return *this;}
235 
240  inline const ChangeSetStatus& GetStatus() const{ return m_status; }
241 
246  inline void SetStatus(const ChangeSetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
247 
252  inline void SetStatus(ChangeSetStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
253 
258  inline ChangeSetSummary& WithStatus(const ChangeSetStatus& value) { SetStatus(value); return *this;}
259 
264  inline ChangeSetSummary& WithStatus(ChangeSetStatus&& value) { SetStatus(value); return *this;}
265 
271  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
272 
278  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
279 
285  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
286 
292  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
293 
299  inline ChangeSetSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
300 
306  inline ChangeSetSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(value); return *this;}
307 
313  inline ChangeSetSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
314 
318  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
319 
323  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
324 
328  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
329 
333  inline ChangeSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
334 
338  inline ChangeSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(value); return *this;}
339 
343  inline const Aws::String& GetDescription() const{ return m_description; }
344 
348  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
349 
353  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
354 
358  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
359 
363  inline ChangeSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
364 
368  inline ChangeSetSummary& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
369 
373  inline ChangeSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
374 
375  private:
376  Aws::String m_stackId;
377  bool m_stackIdHasBeenSet;
378  Aws::String m_stackName;
379  bool m_stackNameHasBeenSet;
380  Aws::String m_changeSetId;
381  bool m_changeSetIdHasBeenSet;
382  Aws::String m_changeSetName;
383  bool m_changeSetNameHasBeenSet;
384  ExecutionStatus m_executionStatus;
385  bool m_executionStatusHasBeenSet;
386  ChangeSetStatus m_status;
387  bool m_statusHasBeenSet;
388  Aws::String m_statusReason;
389  bool m_statusReasonHasBeenSet;
390  Aws::Utils::DateTime m_creationTime;
391  bool m_creationTimeHasBeenSet;
392  Aws::String m_description;
393  bool m_descriptionHasBeenSet;
394  };
395 
396 } // namespace Model
397 } // namespace CloudFormation
398 } // namespace Aws
ChangeSetSummary & WithStatus(ChangeSetStatus &&value)
const ExecutionStatus & GetExecutionStatus() const
const Aws::String & GetDescription() const
void SetChangeSetName(const Aws::String &value)
ChangeSetSummary & WithChangeSetId(Aws::String &&value)
ChangeSetSummary & WithChangeSetId(const Aws::String &value)
ChangeSetSummary & WithStackName(const Aws::String &value)
void SetStatusReason(const Aws::String &value)
ChangeSetSummary & WithStackId(const Aws::String &value)
const Aws::String & GetChangeSetName() const
ChangeSetSummary & WithExecutionStatus(const ExecutionStatus &value)
void SetExecutionStatus(ExecutionStatus &&value)
ChangeSetSummary & WithStackId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ChangeSetSummary & WithStackId(Aws::String &&value)
ChangeSetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ChangeSetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ChangeSetSummary & WithStatusReason(const char *value)
ChangeSetSummary & WithStatusReason(const Aws::String &value)
ChangeSetSummary & WithStackName(Aws::String &&value)
ChangeSetSummary & WithChangeSetId(const char *value)
void SetChangeSetId(const Aws::String &value)
ChangeSetSummary & WithExecutionStatus(ExecutionStatus &&value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
ChangeSetSummary & WithStackName(const char *value)
const Aws::String & GetStackName() const
ChangeSetSummary & WithChangeSetName(const char *value)
const Aws::String & GetChangeSetId() const
ChangeSetSummary & WithChangeSetName(const Aws::String &value)
const Aws::String & GetStatusReason() const
ChangeSetSummary & WithChangeSetName(Aws::String &&value)
void SetStatus(const ChangeSetStatus &value)
ChangeSetSummary & WithDescription(const Aws::String &value)
const ChangeSetStatus & GetStatus() const
ChangeSetSummary & WithStatus(const ChangeSetStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
ChangeSetSummary & WithStatusReason(Aws::String &&value)
ChangeSetSummary & WithDescription(Aws::String &&value)
void SetExecutionStatus(const ExecutionStatus &value)
void SetDescription(const Aws::String &value)
ChangeSetSummary & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStackId(const Aws::String &value)
JSON (JavaScript Object Notation).
void SetStackName(const Aws::String &value)