AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceTemplateVersionSummary.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 ServiceTemplateVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceTemplateVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceTemplateVersionSummary& 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 ServiceTemplateVersionSummary& 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 ServiceTemplateVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ServiceTemplateVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ServiceTemplateVersionSummary& 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); }
105 inline ServiceTemplateVersionSummary& WithMajorVersion(const Aws::String& value) { SetMajorVersion(value); return *this;}
106 inline ServiceTemplateVersionSummary& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
107 inline ServiceTemplateVersionSummary& 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); }
119 inline ServiceTemplateVersionSummary& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;}
120 inline ServiceTemplateVersionSummary& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
121 inline ServiceTemplateVersionSummary& 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); }
146 inline ServiceTemplateVersionSummary& WithStatus(const TemplateVersionStatus& value) { SetStatus(value); return *this;}
147 inline ServiceTemplateVersionSummary& 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 ServiceTemplateVersionSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
161 inline ServiceTemplateVersionSummary& 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); }
173 inline ServiceTemplateVersionSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
174 inline ServiceTemplateVersionSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
175 inline ServiceTemplateVersionSummary& 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
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceTemplateVersionSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplateVersionSummary & WithRecommendedMinorVersion(const Aws::String &value)
ServiceTemplateVersionSummary & WithMajorVersion(const char *value)
ServiceTemplateVersionSummary & WithTemplateName(const Aws::String &value)
ServiceTemplateVersionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplateVersionSummary & WithRecommendedMinorVersion(Aws::String &&value)
ServiceTemplateVersionSummary & WithStatus(const TemplateVersionStatus &value)
ServiceTemplateVersionSummary & WithTemplateName(Aws::String &&value)
AWS_PROTON_API ServiceTemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateVersionSummary & WithMajorVersion(Aws::String &&value)
ServiceTemplateVersionSummary & WithStatusMessage(const Aws::String &value)
ServiceTemplateVersionSummary & WithStatus(TemplateVersionStatus &&value)
ServiceTemplateVersionSummary & WithArn(const Aws::String &value)
ServiceTemplateVersionSummary & WithStatusMessage(Aws::String &&value)
ServiceTemplateVersionSummary & WithDescription(const char *value)
ServiceTemplateVersionSummary & WithArn(const char *value)
ServiceTemplateVersionSummary & WithDescription(Aws::String &&value)
ServiceTemplateVersionSummary & WithMinorVersion(Aws::String &&value)
ServiceTemplateVersionSummary & WithTemplateName(const char *value)
AWS_PROTON_API ServiceTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateVersionSummary & WithRecommendedMinorVersion(const char *value)
ServiceTemplateVersionSummary & WithMajorVersion(const Aws::String &value)
ServiceTemplateVersionSummary & WithDescription(const Aws::String &value)
ServiceTemplateVersionSummary & WithStatusMessage(const char *value)
ServiceTemplateVersionSummary & WithArn(Aws::String &&value)
ServiceTemplateVersionSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplateVersionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceTemplateVersionSummary & WithMinorVersion(const Aws::String &value)
ServiceTemplateVersionSummary & WithMinorVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue