AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentTemplateVersionSummary.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
35 {
36 public:
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline EnvironmentTemplateVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline EnvironmentTemplateVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline EnvironmentTemplateVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
64 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
66 inline EnvironmentTemplateVersionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline EnvironmentTemplateVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline EnvironmentTemplateVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline EnvironmentTemplateVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
88 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
89 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
90 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
94
96
100 inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; }
101 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
102 inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
103 inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); }
104 inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); }
106 inline EnvironmentTemplateVersionSummary& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
107 inline EnvironmentTemplateVersionSummary& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;}
109
111
114 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
115 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
116 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
117 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
118 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
120 inline EnvironmentTemplateVersionSummary& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
121 inline EnvironmentTemplateVersionSummary& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
123
125
128 inline const Aws::String& GetRecommendedMinorVersion() const{ return m_recommendedMinorVersion; }
129 inline bool RecommendedMinorVersionHasBeenSet() const { return m_recommendedMinorVersionHasBeenSet; }
130 inline void SetRecommendedMinorVersion(const Aws::String& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = value; }
131 inline void SetRecommendedMinorVersion(Aws::String&& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = std::move(value); }
132 inline void SetRecommendedMinorVersion(const char* value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion.assign(value); }
137
139
142 inline const TemplateVersionStatus& GetStatus() const{ return m_status; }
143 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 inline void SetStatus(const TemplateVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
145 inline void SetStatus(TemplateVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 inline EnvironmentTemplateVersionSummary& WithStatus(TemplateVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
155 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
156 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
157 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
158 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
160 inline EnvironmentTemplateVersionSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
161 inline EnvironmentTemplateVersionSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
163
165
168 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
169 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
170 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
171 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
172 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
174 inline EnvironmentTemplateVersionSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
175 inline EnvironmentTemplateVersionSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
177 private:
178
179 Aws::String m_arn;
180 bool m_arnHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdAt;
183 bool m_createdAtHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedAt;
189 bool m_lastModifiedAtHasBeenSet = false;
190
191 Aws::String m_majorVersion;
192 bool m_majorVersionHasBeenSet = false;
193
194 Aws::String m_minorVersion;
195 bool m_minorVersionHasBeenSet = false;
196
197 Aws::String m_recommendedMinorVersion;
198 bool m_recommendedMinorVersionHasBeenSet = false;
199
200 TemplateVersionStatus m_status;
201 bool m_statusHasBeenSet = false;
202
203 Aws::String m_statusMessage;
204 bool m_statusMessageHasBeenSet = false;
205
206 Aws::String m_templateName;
207 bool m_templateNameHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace Proton
212} // namespace Aws
EnvironmentTemplateVersionSummary & WithMajorVersion(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithRecommendedMinorVersion(Aws::String &&value)
AWS_PROTON_API EnvironmentTemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplateVersionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplateVersionSummary & WithDescription(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersionSummary & WithStatusMessage(Aws::String &&value)
EnvironmentTemplateVersionSummary & WithStatusMessage(const char *value)
EnvironmentTemplateVersionSummary & WithStatus(const TemplateVersionStatus &value)
EnvironmentTemplateVersionSummary & WithStatusMessage(const Aws::String &value)
AWS_PROTON_API EnvironmentTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplateVersionSummary & WithArn(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplateVersionSummary & WithArn(const char *value)
EnvironmentTemplateVersionSummary & WithRecommendedMinorVersion(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateVersionSummary & WithMinorVersion(Aws::String &&value)
EnvironmentTemplateVersionSummary & WithStatus(TemplateVersionStatus &&value)
EnvironmentTemplateVersionSummary & WithDescription(const char *value)
EnvironmentTemplateVersionSummary & WithMinorVersion(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithMajorVersion(const char *value)
EnvironmentTemplateVersionSummary & WithTemplateName(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentTemplateVersionSummary & WithMajorVersion(Aws::String &&value)
EnvironmentTemplateVersionSummary & WithTemplateName(const Aws::String &value)
EnvironmentTemplateVersionSummary & WithTemplateName(const char *value)
EnvironmentTemplateVersionSummary & WithRecommendedMinorVersion(const char *value)
EnvironmentTemplateVersionSummary & WithArn(Aws::String &&value)
EnvironmentTemplateVersionSummary & WithMinorVersion(const char *value)
EnvironmentTemplateVersionSummary & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue