AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeProvisioningTemplateResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/ProvisioningHook.h>
11#include <aws/iot/model/TemplateType.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
43 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
44 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
45 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
47 inline DescribeProvisioningTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
48 inline DescribeProvisioningTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
50
52
55 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
56 inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
57 inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
58 inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
60 inline DescribeProvisioningTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
61 inline DescribeProvisioningTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline DescribeProvisioningTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline DescribeProvisioningTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
82 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
83 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
93 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
94 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
98
100
103 inline int GetDefaultVersionId() const{ return m_defaultVersionId; }
104 inline void SetDefaultVersionId(int value) { m_defaultVersionId = value; }
107
109
112 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
113 inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
114 inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
115 inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
117 inline DescribeProvisioningTemplateResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
118 inline DescribeProvisioningTemplateResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
120
122
125 inline bool GetEnabled() const{ return m_enabled; }
126 inline void SetEnabled(bool value) { m_enabled = value; }
127 inline DescribeProvisioningTemplateResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
129
131
135 inline const Aws::String& GetProvisioningRoleArn() const{ return m_provisioningRoleArn; }
136 inline void SetProvisioningRoleArn(const Aws::String& value) { m_provisioningRoleArn = value; }
137 inline void SetProvisioningRoleArn(Aws::String&& value) { m_provisioningRoleArn = std::move(value); }
138 inline void SetProvisioningRoleArn(const char* value) { m_provisioningRoleArn.assign(value); }
143
145
148 inline const ProvisioningHook& GetPreProvisioningHook() const{ return m_preProvisioningHook; }
149 inline void SetPreProvisioningHook(const ProvisioningHook& value) { m_preProvisioningHook = value; }
150 inline void SetPreProvisioningHook(ProvisioningHook&& value) { m_preProvisioningHook = std::move(value); }
154
156
164 inline const TemplateType& GetType() const{ return m_type; }
165 inline void SetType(const TemplateType& value) { m_type = value; }
166 inline void SetType(TemplateType&& value) { m_type = std::move(value); }
167 inline DescribeProvisioningTemplateResult& WithType(const TemplateType& value) { SetType(value); return *this;}
168 inline DescribeProvisioningTemplateResult& WithType(TemplateType&& value) { SetType(std::move(value)); return *this;}
170
172
173 inline const Aws::String& GetRequestId() const{ return m_requestId; }
174 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
175 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
176 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
177 inline DescribeProvisioningTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
178 inline DescribeProvisioningTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
179 inline DescribeProvisioningTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
181 private:
182
183 Aws::String m_templateArn;
184
185 Aws::String m_templateName;
186
187 Aws::String m_description;
188
189 Aws::Utils::DateTime m_creationDate;
190
191 Aws::Utils::DateTime m_lastModifiedDate;
192
193 int m_defaultVersionId;
194
195 Aws::String m_templateBody;
196
197 bool m_enabled;
198
199 Aws::String m_provisioningRoleArn;
200
201 ProvisioningHook m_preProvisioningHook;
202
203 TemplateType m_type;
204
205 Aws::String m_requestId;
206 };
207
208} // namespace Model
209} // namespace IoT
210} // namespace Aws
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(const Aws::String &value)
DescribeProvisioningTemplateResult & WithTemplateBody(const char *value)
DescribeProvisioningTemplateResult & WithTemplateArn(Aws::String &&value)
DescribeProvisioningTemplateResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeProvisioningTemplateResult & WithTemplateName(Aws::String &&value)
DescribeProvisioningTemplateResult & WithRequestId(const char *value)
DescribeProvisioningTemplateResult & WithTemplateArn(const Aws::String &value)
DescribeProvisioningTemplateResult & WithType(const TemplateType &value)
AWS_IOT_API DescribeProvisioningTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProvisioningTemplateResult & WithTemplateName(const char *value)
DescribeProvisioningTemplateResult & WithTemplateBody(const Aws::String &value)
DescribeProvisioningTemplateResult & WithTemplateArn(const char *value)
DescribeProvisioningTemplateResult & WithDefaultVersionId(int value)
DescribeProvisioningTemplateResult & WithRequestId(Aws::String &&value)
DescribeProvisioningTemplateResult & WithRequestId(const Aws::String &value)
AWS_IOT_API DescribeProvisioningTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProvisioningTemplateResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeProvisioningTemplateResult & WithPreProvisioningHook(ProvisioningHook &&value)
DescribeProvisioningTemplateResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeProvisioningTemplateResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeProvisioningTemplateResult & WithTemplateName(const Aws::String &value)
DescribeProvisioningTemplateResult & WithEnabled(bool value)
DescribeProvisioningTemplateResult & WithTemplateBody(Aws::String &&value)
DescribeProvisioningTemplateResult & WithDescription(Aws::String &&value)
DescribeProvisioningTemplateResult & WithDescription(const Aws::String &value)
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(Aws::String &&value)
DescribeProvisioningTemplateResult & WithPreProvisioningHook(const ProvisioningHook &value)
DescribeProvisioningTemplateResult & WithType(TemplateType &&value)
DescribeProvisioningTemplateResult & WithProvisioningRoleArn(const char *value)
DescribeProvisioningTemplateResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue