AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGeneratedTemplateResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudformation/model/GeneratedTemplateStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudformation/model/TemplateProgress.h>
13#include <aws/cloudformation/model/TemplateConfiguration.h>
14#include <aws/cloudformation/model/ResponseMetadata.h>
15#include <aws/cloudformation/model/ResourceDetail.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Xml
26{
27 class XmlDocument;
28} // namespace Xml
29} // namespace Utils
30namespace CloudFormation
31{
32namespace Model
33{
35 {
36 public:
37 AWS_CLOUDFORMATION_API DescribeGeneratedTemplateResult();
40
41
43
50 inline const Aws::String& GetGeneratedTemplateId() const{ return m_generatedTemplateId; }
51 inline void SetGeneratedTemplateId(const Aws::String& value) { m_generatedTemplateId = value; }
52 inline void SetGeneratedTemplateId(Aws::String&& value) { m_generatedTemplateId = std::move(value); }
53 inline void SetGeneratedTemplateId(const char* value) { m_generatedTemplateId.assign(value); }
56 inline DescribeGeneratedTemplateResult& WithGeneratedTemplateId(const char* value) { SetGeneratedTemplateId(value); return *this;}
58
60
63 inline const Aws::String& GetGeneratedTemplateName() const{ return m_generatedTemplateName; }
64 inline void SetGeneratedTemplateName(const Aws::String& value) { m_generatedTemplateName = value; }
65 inline void SetGeneratedTemplateName(Aws::String&& value) { m_generatedTemplateName = std::move(value); }
66 inline void SetGeneratedTemplateName(const char* value) { m_generatedTemplateName.assign(value); }
71
73
77 inline const Aws::Vector<ResourceDetail>& GetResources() const{ return m_resources; }
78 inline void SetResources(const Aws::Vector<ResourceDetail>& value) { m_resources = value; }
79 inline void SetResources(Aws::Vector<ResourceDetail>&& value) { m_resources = std::move(value); }
82 inline DescribeGeneratedTemplateResult& AddResources(const ResourceDetail& value) { m_resources.push_back(value); return *this; }
83 inline DescribeGeneratedTemplateResult& AddResources(ResourceDetail&& value) { m_resources.push_back(std::move(value)); return *this; }
85
87
100 inline const GeneratedTemplateStatus& GetStatus() const{ return m_status; }
101 inline void SetStatus(const GeneratedTemplateStatus& value) { m_status = value; }
102 inline void SetStatus(GeneratedTemplateStatus&& value) { m_status = std::move(value); }
104 inline DescribeGeneratedTemplateResult& WithStatus(GeneratedTemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
112 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
113 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
114 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
115 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
117 inline DescribeGeneratedTemplateResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
118 inline DescribeGeneratedTemplateResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
126 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
127 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
131
133
136 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
137 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
138 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
142
144
147 inline const TemplateProgress& GetProgress() const{ return m_progress; }
148 inline void SetProgress(const TemplateProgress& value) { m_progress = value; }
149 inline void SetProgress(TemplateProgress&& value) { m_progress = std::move(value); }
150 inline DescribeGeneratedTemplateResult& WithProgress(const TemplateProgress& value) { SetProgress(value); return *this;}
151 inline DescribeGeneratedTemplateResult& WithProgress(TemplateProgress&& value) { SetProgress(std::move(value)); return *this;}
153
155
159 inline const Aws::String& GetStackId() const{ return m_stackId; }
160 inline void SetStackId(const Aws::String& value) { m_stackId = value; }
161 inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); }
162 inline void SetStackId(const char* value) { m_stackId.assign(value); }
163 inline DescribeGeneratedTemplateResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
164 inline DescribeGeneratedTemplateResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
165 inline DescribeGeneratedTemplateResult& WithStackId(const char* value) { SetStackId(value); return *this;}
167
169
173 inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
174 inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfiguration = value; }
175 inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfiguration = std::move(value); }
179
181
185 inline int GetTotalWarnings() const{ return m_totalWarnings; }
186 inline void SetTotalWarnings(int value) { m_totalWarnings = value; }
187 inline DescribeGeneratedTemplateResult& WithTotalWarnings(int value) { SetTotalWarnings(value); return *this;}
189
191
192 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
193 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
194 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
198 private:
199
200 Aws::String m_generatedTemplateId;
201
202 Aws::String m_generatedTemplateName;
203
204 Aws::Vector<ResourceDetail> m_resources;
205
207
208 Aws::String m_statusReason;
209
210 Aws::Utils::DateTime m_creationTime;
211
212 Aws::Utils::DateTime m_lastUpdatedTime;
213
214 TemplateProgress m_progress;
215
216 Aws::String m_stackId;
217
218 TemplateConfiguration m_templateConfiguration;
219
220 int m_totalWarnings;
221
222 ResponseMetadata m_responseMetadata;
223 };
224
225} // namespace Model
226} // namespace CloudFormation
227} // namespace Aws
DescribeGeneratedTemplateResult & WithGeneratedTemplateId(const char *value)
DescribeGeneratedTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_CLOUDFORMATION_API DescribeGeneratedTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGeneratedTemplateResult & WithResources(const Aws::Vector< ResourceDetail > &value)
DescribeGeneratedTemplateResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeGeneratedTemplateResult & WithStatusReason(const Aws::String &value)
DescribeGeneratedTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeGeneratedTemplateResult & WithStatus(GeneratedTemplateStatus &&value)
DescribeGeneratedTemplateResult & WithGeneratedTemplateName(const Aws::String &value)
DescribeGeneratedTemplateResult & WithStatusReason(Aws::String &&value)
DescribeGeneratedTemplateResult & WithGeneratedTemplateId(const Aws::String &value)
DescribeGeneratedTemplateResult & WithProgress(const TemplateProgress &value)
DescribeGeneratedTemplateResult & WithProgress(TemplateProgress &&value)
DescribeGeneratedTemplateResult & WithTemplateConfiguration(const TemplateConfiguration &value)
DescribeGeneratedTemplateResult & AddResources(ResourceDetail &&value)
DescribeGeneratedTemplateResult & AddResources(const ResourceDetail &value)
DescribeGeneratedTemplateResult & WithResources(Aws::Vector< ResourceDetail > &&value)
DescribeGeneratedTemplateResult & WithGeneratedTemplateName(Aws::String &&value)
DescribeGeneratedTemplateResult & WithStackId(const char *value)
DescribeGeneratedTemplateResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DescribeGeneratedTemplateResult & WithGeneratedTemplateId(Aws::String &&value)
AWS_CLOUDFORMATION_API DescribeGeneratedTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGeneratedTemplateResult & WithStackId(const Aws::String &value)
DescribeGeneratedTemplateResult & WithStackId(Aws::String &&value)
DescribeGeneratedTemplateResult & WithStatus(const GeneratedTemplateStatus &value)
DescribeGeneratedTemplateResult & WithGeneratedTemplateName(const char *value)
DescribeGeneratedTemplateResult & WithStatusReason(const char *value)
DescribeGeneratedTemplateResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
DescribeGeneratedTemplateResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeGeneratedTemplateResult & WithTemplateConfiguration(TemplateConfiguration &&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