AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ServiceTemplateSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/Provisioning.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Proton {
22namespace Model {
23
31 public:
32 AWS_PROTON_API ServiceTemplateSummary() = default;
35 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template <typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) {
63 m_createdAtHasBeenSet = true;
64 m_createdAt = std::forward<CreatedAtT>(value);
65 }
66 template <typename CreatedAtT = Aws::Utils::DateTime>
68 SetCreatedAt(std::forward<CreatedAtT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 ServiceTemplateSummary& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDisplayName() const { return m_displayName; }
96 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
97 template <typename DisplayNameT = Aws::String>
98 void SetDisplayName(DisplayNameT&& value) {
99 m_displayNameHasBeenSet = true;
100 m_displayName = std::forward<DisplayNameT>(value);
101 }
102 template <typename DisplayNameT = Aws::String>
104 SetDisplayName(std::forward<DisplayNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
114 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
115 template <typename LastModifiedAtT = Aws::Utils::DateTime>
116 void SetLastModifiedAt(LastModifiedAtT&& value) {
117 m_lastModifiedAtHasBeenSet = true;
118 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
119 }
120 template <typename LastModifiedAtT = Aws::Utils::DateTime>
121 ServiceTemplateSummary& WithLastModifiedAt(LastModifiedAtT&& value) {
122 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetName() const { return m_name; }
132 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 template <typename NameT = Aws::String>
134 void SetName(NameT&& value) {
135 m_nameHasBeenSet = true;
136 m_name = std::forward<NameT>(value);
137 }
138 template <typename NameT = Aws::String>
140 SetName(std::forward<NameT>(value));
141 return *this;
142 }
144
146
151 inline Provisioning GetPipelineProvisioning() const { return m_pipelineProvisioning; }
152 inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; }
154 m_pipelineProvisioningHasBeenSet = true;
155 m_pipelineProvisioning = value;
156 }
159 return *this;
160 }
162
164
167 inline const Aws::String& GetRecommendedVersion() const { return m_recommendedVersion; }
168 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
169 template <typename RecommendedVersionT = Aws::String>
170 void SetRecommendedVersion(RecommendedVersionT&& value) {
171 m_recommendedVersionHasBeenSet = true;
172 m_recommendedVersion = std::forward<RecommendedVersionT>(value);
173 }
174 template <typename RecommendedVersionT = Aws::String>
175 ServiceTemplateSummary& WithRecommendedVersion(RecommendedVersionT&& value) {
176 SetRecommendedVersion(std::forward<RecommendedVersionT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_arn;
182
183 Aws::Utils::DateTime m_createdAt{};
184
185 Aws::String m_description;
186
187 Aws::String m_displayName;
188
189 Aws::Utils::DateTime m_lastModifiedAt{};
190
191 Aws::String m_name;
192
193 Provisioning m_pipelineProvisioning{Provisioning::NOT_SET};
194
195 Aws::String m_recommendedVersion;
196 bool m_arnHasBeenSet = false;
197 bool m_createdAtHasBeenSet = false;
198 bool m_descriptionHasBeenSet = false;
199 bool m_displayNameHasBeenSet = false;
200 bool m_lastModifiedAtHasBeenSet = false;
201 bool m_nameHasBeenSet = false;
202 bool m_pipelineProvisioningHasBeenSet = false;
203 bool m_recommendedVersionHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace Proton
208} // namespace Aws
AWS_PROTON_API ServiceTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateSummary & WithArn(ArnT &&value)
ServiceTemplateSummary & WithPipelineProvisioning(Provisioning value)
ServiceTemplateSummary & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServiceTemplateSummary & WithName(NameT &&value)
ServiceTemplateSummary & WithLastModifiedAt(LastModifiedAtT &&value)
AWS_PROTON_API ServiceTemplateSummary()=default
ServiceTemplateSummary & WithRecommendedVersion(RecommendedVersionT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendedVersion(RecommendedVersionT &&value)
ServiceTemplateSummary & WithCreatedAt(CreatedAtT &&value)
ServiceTemplateSummary & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PROTON_API ServiceTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue