AWS SDK for C++  1.9.19
AWS SDK for C++
DescribeProvisioningTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
41 
45  inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
46 
50  inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
51 
55  inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
56 
60  inline DescribeProvisioningTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
61 
65  inline DescribeProvisioningTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
66 
70  inline DescribeProvisioningTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
71 
72 
76  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
77 
81  inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
82 
86  inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
87 
91  inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
92 
96  inline DescribeProvisioningTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
97 
101  inline DescribeProvisioningTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
102 
106  inline DescribeProvisioningTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
107 
108 
112  inline const Aws::String& GetDescription() const{ return m_description; }
113 
117  inline void SetDescription(const Aws::String& value) { m_description = value; }
118 
122  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
123 
127  inline void SetDescription(const char* value) { m_description.assign(value); }
128 
132  inline DescribeProvisioningTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
133 
137  inline DescribeProvisioningTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 
142  inline DescribeProvisioningTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
143 
144 
148  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
149 
153  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
154 
158  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
159 
163  inline DescribeProvisioningTemplateResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
164 
168  inline DescribeProvisioningTemplateResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
169 
170 
174  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
175 
179  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
180 
184  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
185 
189  inline DescribeProvisioningTemplateResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
190 
194  inline DescribeProvisioningTemplateResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
195 
196 
200  inline int GetDefaultVersionId() const{ return m_defaultVersionId; }
201 
205  inline void SetDefaultVersionId(int value) { m_defaultVersionId = value; }
206 
210  inline DescribeProvisioningTemplateResult& WithDefaultVersionId(int value) { SetDefaultVersionId(value); return *this;}
211 
212 
216  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
217 
221  inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
222 
226  inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
227 
231  inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
232 
236  inline DescribeProvisioningTemplateResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
237 
241  inline DescribeProvisioningTemplateResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
242 
246  inline DescribeProvisioningTemplateResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
247 
248 
252  inline bool GetEnabled() const{ return m_enabled; }
253 
257  inline void SetEnabled(bool value) { m_enabled = value; }
258 
262  inline DescribeProvisioningTemplateResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
263 
264 
269  inline const Aws::String& GetProvisioningRoleArn() const{ return m_provisioningRoleArn; }
270 
275  inline void SetProvisioningRoleArn(const Aws::String& value) { m_provisioningRoleArn = value; }
276 
281  inline void SetProvisioningRoleArn(Aws::String&& value) { m_provisioningRoleArn = std::move(value); }
282 
287  inline void SetProvisioningRoleArn(const char* value) { m_provisioningRoleArn.assign(value); }
288 
293  inline DescribeProvisioningTemplateResult& WithProvisioningRoleArn(const Aws::String& value) { SetProvisioningRoleArn(value); return *this;}
294 
299  inline DescribeProvisioningTemplateResult& WithProvisioningRoleArn(Aws::String&& value) { SetProvisioningRoleArn(std::move(value)); return *this;}
300 
305  inline DescribeProvisioningTemplateResult& WithProvisioningRoleArn(const char* value) { SetProvisioningRoleArn(value); return *this;}
306 
307 
311  inline const ProvisioningHook& GetPreProvisioningHook() const{ return m_preProvisioningHook; }
312 
316  inline void SetPreProvisioningHook(const ProvisioningHook& value) { m_preProvisioningHook = value; }
317 
321  inline void SetPreProvisioningHook(ProvisioningHook&& value) { m_preProvisioningHook = std::move(value); }
322 
326  inline DescribeProvisioningTemplateResult& WithPreProvisioningHook(const ProvisioningHook& value) { SetPreProvisioningHook(value); return *this;}
327 
331  inline DescribeProvisioningTemplateResult& WithPreProvisioningHook(ProvisioningHook&& value) { SetPreProvisioningHook(std::move(value)); return *this;}
332 
333  private:
334 
335  Aws::String m_templateArn;
336 
337  Aws::String m_templateName;
338 
339  Aws::String m_description;
340 
341  Aws::Utils::DateTime m_creationDate;
342 
343  Aws::Utils::DateTime m_lastModifiedDate;
344 
345  int m_defaultVersionId;
346 
347  Aws::String m_templateBody;
348 
349  bool m_enabled;
350 
351  Aws::String m_provisioningRoleArn;
352 
353  ProvisioningHook m_preProvisioningHook;
354  };
355 
356 } // namespace Model
357 } // namespace IoT
358 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithPreProvisioningHook
DescribeProvisioningTemplateResult & WithPreProvisioningHook(ProvisioningHook &&value)
Definition: DescribeProvisioningTemplateResult.h:331
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithCreationDate
DescribeProvisioningTemplateResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateResult.h:163
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateResult.h:179
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeProvisioningTemplateResult.h:127
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeProvisioningTemplateResult.h:148
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithPreProvisioningHook
DescribeProvisioningTemplateResult & WithPreProvisioningHook(const ProvisioningHook &value)
Definition: DescribeProvisioningTemplateResult.h:326
Aws::IoT::Model::DescribeProvisioningTemplateResult::operator=
DescribeProvisioningTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetEnabled
void SetEnabled(bool value)
Definition: DescribeProvisioningTemplateResult.h:257
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:50
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithDescription
DescribeProvisioningTemplateResult & WithDescription(const char *value)
Definition: DescribeProvisioningTemplateResult.h:142
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithEnabled
DescribeProvisioningTemplateResult & WithEnabled(bool value)
Definition: DescribeProvisioningTemplateResult.h:262
DateTime.h
ProvisioningHook.h
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithDescription
DescribeProvisioningTemplateResult & WithDescription(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:137
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: DescribeProvisioningTemplateResult.h:76
Aws::IoT::Model::DescribeProvisioningTemplateResult::DescribeProvisioningTemplateResult
DescribeProvisioningTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateBody
void SetTemplateBody(const char *value)
Definition: DescribeProvisioningTemplateResult.h:231
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateArn
DescribeProvisioningTemplateResult & WithTemplateArn(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:65
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetPreProvisioningHook
const ProvisioningHook & GetPreProvisioningHook() const
Definition: DescribeProvisioningTemplateResult.h:311
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateArn
DescribeProvisioningTemplateResult & WithTemplateArn(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:60
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetProvisioningRoleArn
void SetProvisioningRoleArn(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:281
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateResult.h:153
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetDefaultVersionId
int GetDefaultVersionId() const
Definition: DescribeProvisioningTemplateResult.h:200
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetEnabled
bool GetEnabled() const
Definition: DescribeProvisioningTemplateResult.h:252
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeProvisioningTemplateResult.h:112
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:86
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateName
DescribeProvisioningTemplateResult & WithTemplateName(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:101
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateBody
void SetTemplateBody(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:226
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetPreProvisioningHook
void SetPreProvisioningHook(ProvisioningHook &&value)
Definition: DescribeProvisioningTemplateResult.h:321
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithDescription
DescribeProvisioningTemplateResult & WithDescription(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:132
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateBody
void SetTemplateBody(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:221
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetProvisioningRoleArn
void SetProvisioningRoleArn(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:275
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateName
DescribeProvisioningTemplateResult & WithTemplateName(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:96
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:117
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithLastModifiedDate
DescribeProvisioningTemplateResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateResult.h:189
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeProvisioningTemplateResult.h:174
AWSString.h
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithProvisioningRoleArn
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:299
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithDefaultVersionId
DescribeProvisioningTemplateResult & WithDefaultVersionId(int value)
Definition: DescribeProvisioningTemplateResult.h:210
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithProvisioningRoleArn
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:293
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(const char *value)
Definition: DescribeProvisioningTemplateResult.h:55
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateBody
DescribeProvisioningTemplateResult & WithTemplateBody(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:236
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateBody
DescribeProvisioningTemplateResult & WithTemplateBody(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:241
Aws::IoT::Model::DescribeProvisioningTemplateResult::DescribeProvisioningTemplateResult
DescribeProvisioningTemplateResult()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetDefaultVersionId
void SetDefaultVersionId(int value)
Definition: DescribeProvisioningTemplateResult.h:205
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithProvisioningRoleArn
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(const char *value)
Definition: DescribeProvisioningTemplateResult.h:305
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetTemplateArn
const Aws::String & GetTemplateArn() const
Definition: DescribeProvisioningTemplateResult.h:40
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeProvisioningTemplateResult.h:122
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateResult.h:158
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateBody
DescribeProvisioningTemplateResult & WithTemplateBody(const char *value)
Definition: DescribeProvisioningTemplateResult.h:246
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ProvisioningHook
Definition: ProvisioningHook.h:33
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateName
void SetTemplateName(const char *value)
Definition: DescribeProvisioningTemplateResult.h:91
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetProvisioningRoleArn
void SetProvisioningRoleArn(const char *value)
Definition: DescribeProvisioningTemplateResult.h:287
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateResult.h:184
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:81
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetProvisioningRoleArn
const Aws::String & GetProvisioningRoleArn() const
Definition: DescribeProvisioningTemplateResult.h:269
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithLastModifiedDate
DescribeProvisioningTemplateResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateResult.h:194
Aws::IoT::Model::DescribeProvisioningTemplateResult::GetTemplateBody
const Aws::String & GetTemplateBody() const
Definition: DescribeProvisioningTemplateResult.h:216
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateName
DescribeProvisioningTemplateResult & WithTemplateName(const char *value)
Definition: DescribeProvisioningTemplateResult.h:106
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithTemplateArn
DescribeProvisioningTemplateResult & WithTemplateArn(const char *value)
Definition: DescribeProvisioningTemplateResult.h:70
Aws::IoT::Model::DescribeProvisioningTemplateResult
Definition: DescribeProvisioningTemplateResult.h:30
Aws::IoT::Model::DescribeProvisioningTemplateResult::WithCreationDate
DescribeProvisioningTemplateResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateResult.h:168
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(const Aws::String &value)
Definition: DescribeProvisioningTemplateResult.h:45
Aws::IoT::Model::DescribeProvisioningTemplateResult::SetPreProvisioningHook
void SetPreProvisioningHook(const ProvisioningHook &value)
Definition: DescribeProvisioningTemplateResult.h:316
IoT_EXPORTS.h