AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningTemplateSummary.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/TemplateType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
48 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
49 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
50 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
51 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
52 inline ProvisioningTemplateSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
53 inline ProvisioningTemplateSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
54 inline ProvisioningTemplateSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
56
58
61 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
62 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
63 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
64 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
65 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
66 inline ProvisioningTemplateSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
67 inline ProvisioningTemplateSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
68 inline ProvisioningTemplateSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline ProvisioningTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline ProvisioningTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline ProvisioningTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
90 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
91 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
92 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
94 inline ProvisioningTemplateSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
102 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
103 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
104 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
108
110
113 inline bool GetEnabled() const{ return m_enabled; }
114 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
115 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
116 inline ProvisioningTemplateSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
118
120
128 inline const TemplateType& GetType() const{ return m_type; }
129 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
130 inline void SetType(const TemplateType& value) { m_typeHasBeenSet = true; m_type = value; }
131 inline void SetType(TemplateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
132 inline ProvisioningTemplateSummary& WithType(const TemplateType& value) { SetType(value); return *this;}
133 inline ProvisioningTemplateSummary& WithType(TemplateType&& value) { SetType(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_templateArn;
138 bool m_templateArnHasBeenSet = false;
139
140 Aws::String m_templateName;
141 bool m_templateNameHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationDate;
147 bool m_creationDateHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastModifiedDate;
150 bool m_lastModifiedDateHasBeenSet = false;
151
152 bool m_enabled;
153 bool m_enabledHasBeenSet = false;
154
155 TemplateType m_type;
156 bool m_typeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace IoT
161} // namespace Aws
ProvisioningTemplateSummary & WithTemplateArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
ProvisioningTemplateSummary & WithType(TemplateType &&value)
AWS_IOT_API ProvisioningTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisioningTemplateSummary & WithTemplateName(Aws::String &&value)
ProvisioningTemplateSummary & WithDescription(const Aws::String &value)
ProvisioningTemplateSummary & WithTemplateName(const Aws::String &value)
ProvisioningTemplateSummary & WithDescription(const char *value)
ProvisioningTemplateSummary & WithType(const TemplateType &value)
ProvisioningTemplateSummary & WithDescription(Aws::String &&value)
ProvisioningTemplateSummary & WithCreationDate(const Aws::Utils::DateTime &value)
ProvisioningTemplateSummary & WithLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_IOT_API ProvisioningTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
ProvisioningTemplateSummary & WithTemplateArn(const char *value)
ProvisioningTemplateSummary & WithLastModifiedDate(Aws::Utils::DateTime &&value)
ProvisioningTemplateSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ProvisioningTemplateSummary & WithTemplateName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
ProvisioningTemplateSummary & WithTemplateArn(Aws::String &&value)
ProvisioningTemplateSummary & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue