AWS SDK for C++  1.9.125
AWS SDK for C++
ProvisioningTemplateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
46 
50  inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
51 
55  inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
56 
60  inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
61 
65  inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
66 
70  inline ProvisioningTemplateSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
71 
75  inline ProvisioningTemplateSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
76 
80  inline ProvisioningTemplateSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
87 
91  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
92 
96  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
97 
101  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
102 
106  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
107 
111  inline ProvisioningTemplateSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
112 
116  inline ProvisioningTemplateSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
117 
121  inline ProvisioningTemplateSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline ProvisioningTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline ProvisioningTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline ProvisioningTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
169 
173  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
174 
178  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
179 
183  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
184 
188  inline ProvisioningTemplateSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
189 
193  inline ProvisioningTemplateSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
194 
195 
199  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
200 
204  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
205 
209  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
210 
214  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
215 
219  inline ProvisioningTemplateSummary& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
220 
224  inline ProvisioningTemplateSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
225 
226 
230  inline bool GetEnabled() const{ return m_enabled; }
231 
235  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
236 
240  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
241 
245  inline ProvisioningTemplateSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
246 
247  private:
248 
249  Aws::String m_templateArn;
250  bool m_templateArnHasBeenSet;
251 
252  Aws::String m_templateName;
253  bool m_templateNameHasBeenSet;
254 
255  Aws::String m_description;
256  bool m_descriptionHasBeenSet;
257 
258  Aws::Utils::DateTime m_creationDate;
259  bool m_creationDateHasBeenSet;
260 
261  Aws::Utils::DateTime m_lastModifiedDate;
262  bool m_lastModifiedDateHasBeenSet;
263 
264  bool m_enabled;
265  bool m_enabledHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace IoT
270 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::ProvisioningTemplateSummary::ProvisioningTemplateSummary
ProvisioningTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ProvisioningTemplateSummary::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateSummary.h:209
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateName
ProvisioningTemplateSummary & WithTemplateName(const char *value)
Definition: ProvisioningTemplateSummary.h:121
Aws::IoT::Model::ProvisioningTemplateSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateSummary.h:183
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateArn
ProvisioningTemplateSummary & WithTemplateArn(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:75
Aws::IoT::Model::ProvisioningTemplateSummary::WithLastModifiedDate
ProvisioningTemplateSummary & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateSummary.h:224
Aws::IoT::Model::ProvisioningTemplateSummary::SetEnabled
void SetEnabled(bool value)
Definition: ProvisioningTemplateSummary.h:240
DateTime.h
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateName
ProvisioningTemplateSummary & WithTemplateName(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:116
Aws::IoT::Model::ProvisioningTemplateSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ProvisioningTemplateSummary.h:168
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateArn
ProvisioningTemplateSummary & WithTemplateArn(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:70
Aws::IoT::Model::ProvisioningTemplateSummary::ProvisioningTemplateSummary
ProvisioningTemplateSummary()
Aws::IoT::Model::ProvisioningTemplateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ProvisioningTemplateSummary::WithEnabled
ProvisioningTemplateSummary & WithEnabled(bool value)
Definition: ProvisioningTemplateSummary.h:245
Aws::IoT::Model::ProvisioningTemplateSummary::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:235
Aws::IoT::Model::ProvisioningTemplateSummary::WithCreationDate
ProvisioningTemplateSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateSummary.h:193
Aws::IoT::Model::ProvisioningTemplateSummary::WithCreationDate
ProvisioningTemplateSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateSummary.h:188
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:96
Aws::IoT::Model::ProvisioningTemplateSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:132
Aws::IoT::Model::ProvisioningTemplateSummary::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: ProvisioningTemplateSummary.h:199
Aws::IoT::Model::ProvisioningTemplateSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:173
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateArn
void SetTemplateArn(const char *value)
Definition: ProvisioningTemplateSummary.h:65
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateName
void SetTemplateName(const char *value)
Definition: ProvisioningTemplateSummary.h:106
Aws::IoT::Model::ProvisioningTemplateSummary::GetDescription
const Aws::String & GetDescription() const
Definition: ProvisioningTemplateSummary.h:127
Aws::IoT::Model::ProvisioningTemplateSummary::operator=
ProvisioningTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ProvisioningTemplateSummary::TemplateArnHasBeenSet
bool TemplateArnHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:50
Aws::IoT::Model::ProvisioningTemplateSummary::WithDescription
ProvisioningTemplateSummary & WithDescription(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:157
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ProvisioningTemplateSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateSummary.h:178
Aws::IoT::Model::ProvisioningTemplateSummary::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:204
Aws::IoT::Model::ProvisioningTemplateSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:142
Aws::IoT::Model::ProvisioningTemplateSummary::WithDescription
ProvisioningTemplateSummary & WithDescription(const char *value)
Definition: ProvisioningTemplateSummary.h:162
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:101
Aws::IoT::Model::ProvisioningTemplateSummary
Definition: ProvisioningTemplateSummary.h:34
Aws::IoT::Model::ProvisioningTemplateSummary::WithLastModifiedDate
ProvisioningTemplateSummary & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateSummary.h:219
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateArn
ProvisioningTemplateSummary & WithTemplateArn(const char *value)
Definition: ProvisioningTemplateSummary.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ProvisioningTemplateSummary::GetEnabled
bool GetEnabled() const
Definition: ProvisioningTemplateSummary.h:230
Aws::IoT::Model::ProvisioningTemplateSummary::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: ProvisioningTemplateSummary.h:86
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::ProvisioningTemplateSummary::WithDescription
ProvisioningTemplateSummary & WithDescription(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:152
Aws::IoT::Model::ProvisioningTemplateSummary::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: ProvisioningTemplateSummary.h:91
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateArn
void SetTemplateArn(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:55
Aws::IoT::Model::ProvisioningTemplateSummary::GetTemplateArn
const Aws::String & GetTemplateArn() const
Definition: ProvisioningTemplateSummary.h:45
Aws::IoT::Model::ProvisioningTemplateSummary::SetTemplateArn
void SetTemplateArn(Aws::String &&value)
Definition: ProvisioningTemplateSummary.h:60
Aws::IoT::Model::ProvisioningTemplateSummary::WithTemplateName
ProvisioningTemplateSummary & WithTemplateName(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:111
Aws::IoT::Model::ProvisioningTemplateSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: ProvisioningTemplateSummary.h:137
Aws::IoT::Model::ProvisioningTemplateSummary::SetDescription
void SetDescription(const char *value)
Definition: ProvisioningTemplateSummary.h:147
IoT_EXPORTS.h
Aws::IoT::Model::ProvisioningTemplateSummary::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateSummary.h:214