AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateSummaryResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/Warnings.h>
11#include <aws/cloudformation/model/ResponseMetadata.h>
12#include <aws/cloudformation/model/ParameterDeclaration.h>
13#include <aws/cloudformation/model/Capability.h>
14#include <aws/cloudformation/model/ResourceIdentifierSummary.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace CloudFormation
30{
31namespace Model
32{
40 {
41 public:
42 AWS_CLOUDFORMATION_API GetTemplateSummaryResult();
45
46
48
52 inline const Aws::Vector<ParameterDeclaration>& GetParameters() const{ return m_parameters; }
53 inline void SetParameters(const Aws::Vector<ParameterDeclaration>& value) { m_parameters = value; }
54 inline void SetParameters(Aws::Vector<ParameterDeclaration>&& value) { m_parameters = std::move(value); }
57 inline GetTemplateSummaryResult& AddParameters(const ParameterDeclaration& value) { m_parameters.push_back(value); return *this; }
58 inline GetTemplateSummaryResult& AddParameters(ParameterDeclaration&& value) { m_parameters.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetTemplateSummaryResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetTemplateSummaryResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetTemplateSummaryResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
86 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
87 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilities = value; }
88 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilities = std::move(value); }
90 inline GetTemplateSummaryResult& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
91 inline GetTemplateSummaryResult& AddCapabilities(const Capability& value) { m_capabilities.push_back(value); return *this; }
92 inline GetTemplateSummaryResult& AddCapabilities(Capability&& value) { m_capabilities.push_back(std::move(value)); return *this; }
94
96
100 inline const Aws::String& GetCapabilitiesReason() const{ return m_capabilitiesReason; }
101 inline void SetCapabilitiesReason(const Aws::String& value) { m_capabilitiesReason = value; }
102 inline void SetCapabilitiesReason(Aws::String&& value) { m_capabilitiesReason = std::move(value); }
103 inline void SetCapabilitiesReason(const char* value) { m_capabilitiesReason.assign(value); }
105 inline GetTemplateSummaryResult& WithCapabilitiesReason(Aws::String&& value) { SetCapabilitiesReason(std::move(value)); return *this;}
106 inline GetTemplateSummaryResult& WithCapabilitiesReason(const char* value) { SetCapabilitiesReason(value); return *this;}
108
110
115 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
116 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypes = value; }
117 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypes = std::move(value); }
119 inline GetTemplateSummaryResult& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
120 inline GetTemplateSummaryResult& AddResourceTypes(const Aws::String& value) { m_resourceTypes.push_back(value); return *this; }
121 inline GetTemplateSummaryResult& AddResourceTypes(Aws::String&& value) { m_resourceTypes.push_back(std::move(value)); return *this; }
122 inline GetTemplateSummaryResult& AddResourceTypes(const char* value) { m_resourceTypes.push_back(value); return *this; }
124
126
130 inline const Aws::String& GetVersion() const{ return m_version; }
131 inline void SetVersion(const Aws::String& value) { m_version = value; }
132 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
133 inline void SetVersion(const char* value) { m_version.assign(value); }
134 inline GetTemplateSummaryResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
135 inline GetTemplateSummaryResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
136 inline GetTemplateSummaryResult& WithVersion(const char* value) { SetVersion(value); return *this;}
138
140
144 inline const Aws::String& GetMetadata() const{ return m_metadata; }
145 inline void SetMetadata(const Aws::String& value) { m_metadata = value; }
146 inline void SetMetadata(Aws::String&& value) { m_metadata = std::move(value); }
147 inline void SetMetadata(const char* value) { m_metadata.assign(value); }
148 inline GetTemplateSummaryResult& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
149 inline GetTemplateSummaryResult& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
150 inline GetTemplateSummaryResult& WithMetadata(const char* value) { SetMetadata(value); return *this;}
152
154
157 inline const Aws::Vector<Aws::String>& GetDeclaredTransforms() const{ return m_declaredTransforms; }
158 inline void SetDeclaredTransforms(const Aws::Vector<Aws::String>& value) { m_declaredTransforms = value; }
159 inline void SetDeclaredTransforms(Aws::Vector<Aws::String>&& value) { m_declaredTransforms = std::move(value); }
162 inline GetTemplateSummaryResult& AddDeclaredTransforms(const Aws::String& value) { m_declaredTransforms.push_back(value); return *this; }
163 inline GetTemplateSummaryResult& AddDeclaredTransforms(Aws::String&& value) { m_declaredTransforms.push_back(std::move(value)); return *this; }
164 inline GetTemplateSummaryResult& AddDeclaredTransforms(const char* value) { m_declaredTransforms.push_back(value); return *this; }
166
168
174 inline const Aws::Vector<ResourceIdentifierSummary>& GetResourceIdentifierSummaries() const{ return m_resourceIdentifierSummaries; }
175 inline void SetResourceIdentifierSummaries(const Aws::Vector<ResourceIdentifierSummary>& value) { m_resourceIdentifierSummaries = value; }
176 inline void SetResourceIdentifierSummaries(Aws::Vector<ResourceIdentifierSummary>&& value) { m_resourceIdentifierSummaries = std::move(value); }
179 inline GetTemplateSummaryResult& AddResourceIdentifierSummaries(const ResourceIdentifierSummary& value) { m_resourceIdentifierSummaries.push_back(value); return *this; }
180 inline GetTemplateSummaryResult& AddResourceIdentifierSummaries(ResourceIdentifierSummary&& value) { m_resourceIdentifierSummaries.push_back(std::move(value)); return *this; }
182
184
187 inline const Warnings& GetWarnings() const{ return m_warnings; }
188 inline void SetWarnings(const Warnings& value) { m_warnings = value; }
189 inline void SetWarnings(Warnings&& value) { m_warnings = std::move(value); }
190 inline GetTemplateSummaryResult& WithWarnings(const Warnings& value) { SetWarnings(value); return *this;}
191 inline GetTemplateSummaryResult& WithWarnings(Warnings&& value) { SetWarnings(std::move(value)); return *this;}
193
195
196 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
197 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
198 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
200 inline GetTemplateSummaryResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
202 private:
203
205
206 Aws::String m_description;
207
208 Aws::Vector<Capability> m_capabilities;
209
210 Aws::String m_capabilitiesReason;
211
212 Aws::Vector<Aws::String> m_resourceTypes;
213
214 Aws::String m_version;
215
216 Aws::String m_metadata;
217
218 Aws::Vector<Aws::String> m_declaredTransforms;
219
220 Aws::Vector<ResourceIdentifierSummary> m_resourceIdentifierSummaries;
221
222 Warnings m_warnings;
223
224 ResponseMetadata m_responseMetadata;
225 };
226
227} // namespace Model
228} // namespace CloudFormation
229} // namespace Aws
GetTemplateSummaryResult & WithResponseMetadata(ResponseMetadata &&value)
GetTemplateSummaryResult & WithResourceIdentifierSummaries(Aws::Vector< ResourceIdentifierSummary > &&value)
void SetResourceTypes(const Aws::Vector< Aws::String > &value)
GetTemplateSummaryResult & WithCapabilities(const Aws::Vector< Capability > &value)
GetTemplateSummaryResult & WithDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDeclaredTransforms() const
void SetCapabilities(Aws::Vector< Capability > &&value)
GetTemplateSummaryResult & AddResourceIdentifierSummaries(ResourceIdentifierSummary &&value)
GetTemplateSummaryResult & WithCapabilitiesReason(const char *value)
GetTemplateSummaryResult & AddParameters(const ParameterDeclaration &value)
GetTemplateSummaryResult & WithMetadata(const Aws::String &value)
const Aws::Vector< Capability > & GetCapabilities() const
GetTemplateSummaryResult & WithResourceTypes(Aws::Vector< Aws::String > &&value)
GetTemplateSummaryResult & AddDeclaredTransforms(Aws::String &&value)
GetTemplateSummaryResult & AddResourceTypes(Aws::String &&value)
GetTemplateSummaryResult & WithParameters(Aws::Vector< ParameterDeclaration > &&value)
GetTemplateSummaryResult & WithParameters(const Aws::Vector< ParameterDeclaration > &value)
void SetResourceIdentifierSummaries(Aws::Vector< ResourceIdentifierSummary > &&value)
GetTemplateSummaryResult & WithMetadata(const char *value)
GetTemplateSummaryResult & AddResourceIdentifierSummaries(const ResourceIdentifierSummary &value)
GetTemplateSummaryResult & WithVersion(const Aws::String &value)
GetTemplateSummaryResult & WithVersion(const char *value)
GetTemplateSummaryResult & AddResourceTypes(const char *value)
void SetParameters(Aws::Vector< ParameterDeclaration > &&value)
GetTemplateSummaryResult & AddCapabilities(Capability &&value)
GetTemplateSummaryResult & WithMetadata(Aws::String &&value)
void SetCapabilities(const Aws::Vector< Capability > &value)
AWS_CLOUDFORMATION_API GetTemplateSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ParameterDeclaration > & GetParameters() const
GetTemplateSummaryResult & WithResourceTypes(const Aws::Vector< Aws::String > &value)
GetTemplateSummaryResult & WithVersion(Aws::String &&value)
GetTemplateSummaryResult & AddCapabilities(const Capability &value)
GetTemplateSummaryResult & WithWarnings(Warnings &&value)
GetTemplateSummaryResult & AddDeclaredTransforms(const Aws::String &value)
void SetDeclaredTransforms(Aws::Vector< Aws::String > &&value)
void SetParameters(const Aws::Vector< ParameterDeclaration > &value)
GetTemplateSummaryResult & WithDescription(Aws::String &&value)
GetTemplateSummaryResult & WithResponseMetadata(const ResponseMetadata &value)
GetTemplateSummaryResult & WithCapabilitiesReason(const Aws::String &value)
void SetResourceIdentifierSummaries(const Aws::Vector< ResourceIdentifierSummary > &value)
void SetDeclaredTransforms(const Aws::Vector< Aws::String > &value)
GetTemplateSummaryResult & WithDeclaredTransforms(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetResourceTypes() const
GetTemplateSummaryResult & WithDescription(const char *value)
AWS_CLOUDFORMATION_API GetTemplateSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ResourceIdentifierSummary > & GetResourceIdentifierSummaries() const
GetTemplateSummaryResult & AddDeclaredTransforms(const char *value)
void SetResourceTypes(Aws::Vector< Aws::String > &&value)
GetTemplateSummaryResult & AddResourceTypes(const Aws::String &value)
GetTemplateSummaryResult & WithDeclaredTransforms(const Aws::Vector< Aws::String > &value)
GetTemplateSummaryResult & WithCapabilities(Aws::Vector< Capability > &&value)
GetTemplateSummaryResult & WithWarnings(const Warnings &value)
GetTemplateSummaryResult & WithCapabilitiesReason(Aws::String &&value)
GetTemplateSummaryResult & AddParameters(ParameterDeclaration &&value)
GetTemplateSummaryResult & WithResourceIdentifierSummaries(const Aws::Vector< ResourceIdentifierSummary > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument