AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeChangeSetResult.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
27 
28 namespace Aws
29 {
30 template<typename RESULT_TYPE>
31 class AmazonWebServiceResult;
32 
33 namespace Utils
34 {
35 namespace Xml
36 {
37  class XmlDocument;
38 } // namespace Xml
39 } // namespace Utils
40 namespace CloudFormation
41 {
42 namespace Model
43 {
48  {
49  public:
53 
57  inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
58 
62  inline void SetChangeSetName(const Aws::String& value) { m_changeSetName = value; }
63 
67  inline void SetChangeSetName(Aws::String&& value) { m_changeSetName = value; }
68 
72  inline void SetChangeSetName(const char* value) { m_changeSetName.assign(value); }
73 
77  inline DescribeChangeSetResult& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
78 
82  inline DescribeChangeSetResult& WithChangeSetName(Aws::String&& value) { SetChangeSetName(value); return *this;}
83 
87  inline DescribeChangeSetResult& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
88 
92  inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
93 
97  inline void SetChangeSetId(const Aws::String& value) { m_changeSetId = value; }
98 
102  inline void SetChangeSetId(Aws::String&& value) { m_changeSetId = value; }
103 
107  inline void SetChangeSetId(const char* value) { m_changeSetId.assign(value); }
108 
112  inline DescribeChangeSetResult& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
113 
117  inline DescribeChangeSetResult& WithChangeSetId(Aws::String&& value) { SetChangeSetId(value); return *this;}
118 
122  inline DescribeChangeSetResult& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
123 
127  inline const Aws::String& GetStackId() const{ return m_stackId; }
128 
132  inline void SetStackId(const Aws::String& value) { m_stackId = value; }
133 
137  inline void SetStackId(Aws::String&& value) { m_stackId = value; }
138 
142  inline void SetStackId(const char* value) { m_stackId.assign(value); }
143 
147  inline DescribeChangeSetResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
148 
152  inline DescribeChangeSetResult& WithStackId(Aws::String&& value) { SetStackId(value); return *this;}
153 
157  inline DescribeChangeSetResult& WithStackId(const char* value) { SetStackId(value); return *this;}
158 
162  inline const Aws::String& GetStackName() const{ return m_stackName; }
163 
167  inline void SetStackName(const Aws::String& value) { m_stackName = value; }
168 
172  inline void SetStackName(Aws::String&& value) { m_stackName = value; }
173 
177  inline void SetStackName(const char* value) { m_stackName.assign(value); }
178 
182  inline DescribeChangeSetResult& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
183 
187  inline DescribeChangeSetResult& WithStackName(Aws::String&& value) { SetStackName(value); return *this;}
188 
192  inline DescribeChangeSetResult& WithStackName(const char* value) { SetStackName(value); return *this;}
193 
197  inline const Aws::String& GetDescription() const{ return m_description; }
198 
202  inline void SetDescription(const Aws::String& value) { m_description = value; }
203 
207  inline void SetDescription(Aws::String&& value) { m_description = value; }
208 
212  inline void SetDescription(const char* value) { m_description.assign(value); }
213 
217  inline DescribeChangeSetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
218 
222  inline DescribeChangeSetResult& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
223 
227  inline DescribeChangeSetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
228 
236  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
237 
245  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parameters = value; }
246 
254  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parameters = value; }
255 
263  inline DescribeChangeSetResult& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
264 
272  inline DescribeChangeSetResult& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(value); return *this;}
273 
281  inline DescribeChangeSetResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; }
282 
290  inline DescribeChangeSetResult& AddParameters(Parameter&& value) { m_parameters.push_back(value); return *this; }
291 
295  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
296 
300  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
301 
305  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = value; }
306 
310  inline DescribeChangeSetResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
311 
315  inline DescribeChangeSetResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(value); return *this;}
316 
324  inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
325 
333  inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatus = value; }
334 
342  inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatus = value; }
343 
351  inline DescribeChangeSetResult& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;}
352 
360  inline DescribeChangeSetResult& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(value); return *this;}
361 
367  inline const ChangeSetStatus& GetStatus() const{ return m_status; }
368 
374  inline void SetStatus(const ChangeSetStatus& value) { m_status = value; }
375 
381  inline void SetStatus(ChangeSetStatus&& value) { m_status = value; }
382 
388  inline DescribeChangeSetResult& WithStatus(const ChangeSetStatus& value) { SetStatus(value); return *this;}
389 
395  inline DescribeChangeSetResult& WithStatus(ChangeSetStatus&& value) { SetStatus(value); return *this;}
396 
401  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
402 
407  inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
408 
413  inline void SetStatusReason(Aws::String&& value) { m_statusReason = value; }
414 
419  inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
420 
425  inline DescribeChangeSetResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
426 
431  inline DescribeChangeSetResult& WithStatusReason(Aws::String&& value) { SetStatusReason(value); return *this;}
432 
437  inline DescribeChangeSetResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
438 
443  inline const Aws::Vector<Aws::String>& GetNotificationARNs() const{ return m_notificationARNs; }
444 
449  inline void SetNotificationARNs(const Aws::Vector<Aws::String>& value) { m_notificationARNs = value; }
450 
455  inline void SetNotificationARNs(Aws::Vector<Aws::String>&& value) { m_notificationARNs = value; }
456 
461  inline DescribeChangeSetResult& WithNotificationARNs(const Aws::Vector<Aws::String>& value) { SetNotificationARNs(value); return *this;}
462 
467  inline DescribeChangeSetResult& WithNotificationARNs(Aws::Vector<Aws::String>&& value) { SetNotificationARNs(value); return *this;}
468 
473  inline DescribeChangeSetResult& AddNotificationARNs(const Aws::String& value) { m_notificationARNs.push_back(value); return *this; }
474 
479  inline DescribeChangeSetResult& AddNotificationARNs(Aws::String&& value) { m_notificationARNs.push_back(value); return *this; }
480 
485  inline DescribeChangeSetResult& AddNotificationARNs(const char* value) { m_notificationARNs.push_back(value); return *this; }
486 
491  inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
492 
497  inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilities = value; }
498 
503  inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilities = value; }
504 
509  inline DescribeChangeSetResult& WithCapabilities(const Aws::Vector<Capability>& value) { SetCapabilities(value); return *this;}
510 
515  inline DescribeChangeSetResult& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(value); return *this;}
516 
521  inline DescribeChangeSetResult& AddCapabilities(const Capability& value) { m_capabilities.push_back(value); return *this; }
522 
527  inline DescribeChangeSetResult& AddCapabilities(Capability&& value) { m_capabilities.push_back(value); return *this; }
528 
533  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
534 
539  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
540 
545  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = value; }
546 
551  inline DescribeChangeSetResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
552 
557  inline DescribeChangeSetResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(value); return *this;}
558 
563  inline DescribeChangeSetResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
564 
569  inline DescribeChangeSetResult& AddTags(Tag&& value) { m_tags.push_back(value); return *this; }
570 
575  inline const Aws::Vector<Change>& GetChanges() const{ return m_changes; }
576 
581  inline void SetChanges(const Aws::Vector<Change>& value) { m_changes = value; }
582 
587  inline void SetChanges(Aws::Vector<Change>&& value) { m_changes = value; }
588 
593  inline DescribeChangeSetResult& WithChanges(const Aws::Vector<Change>& value) { SetChanges(value); return *this;}
594 
599  inline DescribeChangeSetResult& WithChanges(Aws::Vector<Change>&& value) { SetChanges(value); return *this;}
600 
605  inline DescribeChangeSetResult& AddChanges(const Change& value) { m_changes.push_back(value); return *this; }
606 
611  inline DescribeChangeSetResult& AddChanges(Change&& value) { m_changes.push_back(value); return *this; }
612 
617  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
618 
623  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
624 
629  inline void SetNextToken(Aws::String&& value) { m_nextToken = value; }
630 
635  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
636 
641  inline DescribeChangeSetResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
642 
647  inline DescribeChangeSetResult& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
648 
653  inline DescribeChangeSetResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
654 
655 
656  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
657 
658 
659  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
660 
661 
662  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
663 
664 
665  inline DescribeChangeSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
666 
667 
668  inline DescribeChangeSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
669 
670  private:
671  Aws::String m_changeSetName;
672  Aws::String m_changeSetId;
673  Aws::String m_stackId;
674  Aws::String m_stackName;
675  Aws::String m_description;
676  Aws::Vector<Parameter> m_parameters;
677  Aws::Utils::DateTime m_creationTime;
678  ExecutionStatus m_executionStatus;
679  ChangeSetStatus m_status;
680  Aws::String m_statusReason;
681  Aws::Vector<Aws::String> m_notificationARNs;
682  Aws::Vector<Capability> m_capabilities;
683  Aws::Vector<Tag> m_tags;
684  Aws::Vector<Change> m_changes;
685  Aws::String m_nextToken;
686  ResponseMetadata m_responseMetadata;
687  };
688 
689 } // namespace Model
690 } // namespace CloudFormation
691 } // namespace Aws
DescribeChangeSetResult & WithResponseMetadata(ResponseMetadata &&value)
void SetCapabilities(const Aws::Vector< Capability > &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeChangeSetResult & WithStackId(const Aws::String &value)
DescribeChangeSetResult & WithCapabilities(const Aws::Vector< Capability > &value)
DescribeChangeSetResult & AddChanges(const Change &value)
DescribeChangeSetResult & WithExecutionStatus(const ExecutionStatus &value)
void SetParameters(Aws::Vector< Parameter > &&value)
const Aws::Vector< Capability > & GetCapabilities() const
DescribeChangeSetResult & WithChangeSetId(const char *value)
DescribeChangeSetResult & AddParameters(const Parameter &value)
DescribeChangeSetResult & AddParameters(Parameter &&value)
DescribeChangeSetResult & WithTags(const Aws::Vector< Tag > &value)
DescribeChangeSetResult & WithNextToken(const char *value)
DescribeChangeSetResult & AddChanges(Change &&value)
DescribeChangeSetResult & WithChangeSetName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeChangeSetResult & AddNotificationARNs(const Aws::String &value)
DescribeChangeSetResult & WithStackId(Aws::String &&value)
DescribeChangeSetResult & WithStatusReason(Aws::String &&value)
DescribeChangeSetResult & WithCapabilities(Aws::Vector< Capability > &&value)
DescribeChangeSetResult & WithNotificationARNs(Aws::Vector< Aws::String > &&value)
DescribeChangeSetResult & WithStackName(const Aws::String &value)
void SetNotificationARNs(const Aws::Vector< Aws::String > &value)
DescribeChangeSetResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetParameters(const Aws::Vector< Parameter > &value)
DescribeChangeSetResult & WithChanges(Aws::Vector< Change > &&value)
DescribeChangeSetResult & WithNextToken(Aws::String &&value)
DescribeChangeSetResult & WithStackName(Aws::String &&value)
DescribeChangeSetResult & WithChanges(const Aws::Vector< Change > &value)
DescribeChangeSetResult & WithStatusReason(const char *value)
DescribeChangeSetResult & AddCapabilities(Capability &&value)
DescribeChangeSetResult & AddCapabilities(const Capability &value)
DescribeChangeSetResult & AddNotificationARNs(Aws::String &&value)
DescribeChangeSetResult & WithChangeSetId(const Aws::String &value)
DescribeChangeSetResult & WithTags(Aws::Vector< Tag > &&value)
DescribeChangeSetResult & AddNotificationARNs(const char *value)
void SetCapabilities(Aws::Vector< Capability > &&value)
DescribeChangeSetResult & WithChangeSetId(Aws::String &&value)
DescribeChangeSetResult & WithStatus(ChangeSetStatus &&value)
DescribeChangeSetResult & WithStatus(const ChangeSetStatus &value)
DescribeChangeSetResult & WithNextToken(const Aws::String &value)
DescribeChangeSetResult & WithStackName(const char *value)
DescribeChangeSetResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeChangeSetResult & WithChangeSetName(const char *value)
DescribeChangeSetResult & WithParameters(Aws::Vector< Parameter > &&value)
DescribeChangeSetResult & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNotificationARNs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeChangeSetResult & WithStatusReason(const Aws::String &value)
#define AWS_CLOUDFORMATION_API
void SetChanges(const Aws::Vector< Change > &value)
DescribeChangeSetResult & AddTags(const Tag &value)
DescribeChangeSetResult & WithNotificationARNs(const Aws::Vector< Aws::String > &value)
DescribeChangeSetResult & WithChangeSetName(const Aws::String &value)
DescribeChangeSetResult & WithDescription(const char *value)
DescribeChangeSetResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeChangeSetResult & WithParameters(const Aws::Vector< Parameter > &value)
DescribeChangeSetResult & WithDescription(const Aws::String &value)
void SetNotificationARNs(Aws::Vector< Aws::String > &&value)
DescribeChangeSetResult & WithStackId(const char *value)
DescribeChangeSetResult & WithExecutionStatus(ExecutionStatus &&value)
JSON (JavaScript Object Notation).
const Aws::Vector< Parameter > & GetParameters() const