AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentTemplateVersion.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/TemplateVersionStatus.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 Proton
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline EnvironmentTemplateVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline EnvironmentTemplateVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline EnvironmentTemplateVersion& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline EnvironmentTemplateVersion& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline EnvironmentTemplateVersion& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline EnvironmentTemplateVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline EnvironmentTemplateVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline EnvironmentTemplateVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
87 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
88 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
89 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
91 inline EnvironmentTemplateVersion& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; }
100 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
101 inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
102 inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); }
103 inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); }
104 inline EnvironmentTemplateVersion& WithMajorVersion(const Aws::String& value) { SetMajorVersion(value); return *this;}
105 inline EnvironmentTemplateVersion& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
106 inline EnvironmentTemplateVersion& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;}
108
110
113 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
114 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
115 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
116 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
117 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
118 inline EnvironmentTemplateVersion& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;}
119 inline EnvironmentTemplateVersion& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
120 inline EnvironmentTemplateVersion& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
122
124
127 inline const Aws::String& GetRecommendedMinorVersion() const{ return m_recommendedMinorVersion; }
128 inline bool RecommendedMinorVersionHasBeenSet() const { return m_recommendedMinorVersionHasBeenSet; }
129 inline void SetRecommendedMinorVersion(const Aws::String& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = value; }
130 inline void SetRecommendedMinorVersion(Aws::String&& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = std::move(value); }
131 inline void SetRecommendedMinorVersion(const char* value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion.assign(value); }
136
138
141 inline const Aws::String& GetSchema() const{ return m_schema; }
142 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
143 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
144 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
145 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
146 inline EnvironmentTemplateVersion& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
147 inline EnvironmentTemplateVersion& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
148 inline EnvironmentTemplateVersion& WithSchema(const char* value) { SetSchema(value); return *this;}
150
152
155 inline const TemplateVersionStatus& GetStatus() const{ return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
157 inline void SetStatus(const TemplateVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
158 inline void SetStatus(TemplateVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
159 inline EnvironmentTemplateVersion& WithStatus(const TemplateVersionStatus& value) { SetStatus(value); return *this;}
160 inline EnvironmentTemplateVersion& WithStatus(TemplateVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
168 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
169 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
170 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
171 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
172 inline EnvironmentTemplateVersion& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
173 inline EnvironmentTemplateVersion& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
174 inline EnvironmentTemplateVersion& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
176
178
181 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
182 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
183 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
184 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
185 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
186 inline EnvironmentTemplateVersion& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
187 inline EnvironmentTemplateVersion& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
188 inline EnvironmentTemplateVersion& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
190 private:
191
192 Aws::String m_arn;
193 bool m_arnHasBeenSet = false;
194
195 Aws::Utils::DateTime m_createdAt;
196 bool m_createdAtHasBeenSet = false;
197
198 Aws::String m_description;
199 bool m_descriptionHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModifiedAt;
202 bool m_lastModifiedAtHasBeenSet = false;
203
204 Aws::String m_majorVersion;
205 bool m_majorVersionHasBeenSet = false;
206
207 Aws::String m_minorVersion;
208 bool m_minorVersionHasBeenSet = false;
209
210 Aws::String m_recommendedMinorVersion;
211 bool m_recommendedMinorVersionHasBeenSet = false;
212
213 Aws::String m_schema;
214 bool m_schemaHasBeenSet = false;
215
216 TemplateVersionStatus m_status;
217 bool m_statusHasBeenSet = false;
218
219 Aws::String m_statusMessage;
220 bool m_statusMessageHasBeenSet = false;
221
222 Aws::String m_templateName;
223 bool m_templateNameHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace Proton
228} // namespace Aws
void SetStatus(const TemplateVersionStatus &value)
EnvironmentTemplateVersion & WithTemplateName(Aws::String &&value)
EnvironmentTemplateVersion & WithTemplateName(const char *value)
AWS_PROTON_API EnvironmentTemplateVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplateVersion & WithDescription(Aws::String &&value)
EnvironmentTemplateVersion & WithMinorVersion(const char *value)
EnvironmentTemplateVersion & WithRecommendedMinorVersion(const char *value)
EnvironmentTemplateVersion & WithSchema(const char *value)
EnvironmentTemplateVersion & WithLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplateVersion & WithCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersion & WithStatusMessage(Aws::String &&value)
EnvironmentTemplateVersion & WithArn(const Aws::String &value)
EnvironmentTemplateVersion & WithSchema(Aws::String &&value)
EnvironmentTemplateVersion & WithMajorVersion(const Aws::String &value)
EnvironmentTemplateVersion & WithMajorVersion(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersion & WithSchema(const Aws::String &value)
EnvironmentTemplateVersion & WithDescription(const Aws::String &value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentTemplateVersion & WithStatus(TemplateVersionStatus &&value)
EnvironmentTemplateVersion & WithTemplateName(const Aws::String &value)
EnvironmentTemplateVersion & WithMajorVersion(const char *value)
EnvironmentTemplateVersion & WithMinorVersion(const Aws::String &value)
EnvironmentTemplateVersion & WithArn(Aws::String &&value)
AWS_PROTON_API EnvironmentTemplateVersion(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplateVersion & WithLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersion & WithRecommendedMinorVersion(Aws::String &&value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersion & WithStatus(const TemplateVersionStatus &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
EnvironmentTemplateVersion & WithMinorVersion(Aws::String &&value)
EnvironmentTemplateVersion & WithArn(const char *value)
EnvironmentTemplateVersion & WithStatusMessage(const char *value)
EnvironmentTemplateVersion & WithRecommendedMinorVersion(const Aws::String &value)
EnvironmentTemplateVersion & WithDescription(const char *value)
EnvironmentTemplateVersion & WithStatusMessage(const Aws::String &value)
EnvironmentTemplateVersion & WithCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue