AWS SDK for C++

AWS SDK for C++ Version 1.11.861

Loading...
Searching...
No Matches
ExperimentDefinitionSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/ExperimentDefinitionStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig {
22namespace Model {
23
31 public:
32 AWS_APPCONFIG_API ExperimentDefinitionSummary() = default;
35 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) {
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetHypothesis() const { return m_hypothesis; }
96 inline bool HypothesisHasBeenSet() const { return m_hypothesisHasBeenSet; }
97 template <typename HypothesisT = Aws::String>
98 void SetHypothesis(HypothesisT&& value) {
99 m_hypothesisHasBeenSet = true;
100 m_hypothesis = std::forward<HypothesisT>(value);
101 }
102 template <typename HypothesisT = Aws::String>
104 SetHypothesis(std::forward<HypothesisT>(value));
105 return *this;
106 }
108
110
113 inline ExperimentDefinitionStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
130 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
131 template <typename ConfigurationProfileIdT = Aws::String>
132 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
133 m_configurationProfileIdHasBeenSet = true;
134 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
135 }
136 template <typename ConfigurationProfileIdT = Aws::String>
137 ExperimentDefinitionSummary& WithConfigurationProfileId(ConfigurationProfileIdT&& value) {
138 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
148 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
149 template <typename EnvironmentIdT = Aws::String>
150 void SetEnvironmentId(EnvironmentIdT&& value) {
151 m_environmentIdHasBeenSet = true;
152 m_environmentId = std::forward<EnvironmentIdT>(value);
153 }
154 template <typename EnvironmentIdT = Aws::String>
156 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetFlagKey() const { return m_flagKey; }
166 inline bool FlagKeyHasBeenSet() const { return m_flagKeyHasBeenSet; }
167 template <typename FlagKeyT = Aws::String>
168 void SetFlagKey(FlagKeyT&& value) {
169 m_flagKeyHasBeenSet = true;
170 m_flagKey = std::forward<FlagKeyT>(value);
171 }
172 template <typename FlagKeyT = Aws::String>
174 SetFlagKey(std::forward<FlagKeyT>(value));
175 return *this;
176 }
178
180
184 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
185 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
186 template <typename CreatedAtT = Aws::Utils::DateTime>
187 void SetCreatedAt(CreatedAtT&& value) {
188 m_createdAtHasBeenSet = true;
189 m_createdAt = std::forward<CreatedAtT>(value);
190 }
191 template <typename CreatedAtT = Aws::Utils::DateTime>
193 SetCreatedAt(std::forward<CreatedAtT>(value));
194 return *this;
195 }
197
199
203 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
204 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
205 template <typename UpdatedAtT = Aws::Utils::DateTime>
206 void SetUpdatedAt(UpdatedAtT&& value) {
207 m_updatedAtHasBeenSet = true;
208 m_updatedAt = std::forward<UpdatedAtT>(value);
209 }
210 template <typename UpdatedAtT = Aws::Utils::DateTime>
212 SetUpdatedAt(std::forward<UpdatedAtT>(value));
213 return *this;
214 }
216 private:
217 Aws::String m_applicationId;
218
219 Aws::String m_id;
220
221 Aws::String m_name;
222
223 Aws::String m_hypothesis;
224
226
227 Aws::String m_configurationProfileId;
228
229 Aws::String m_environmentId;
230
231 Aws::String m_flagKey;
232
233 Aws::Utils::DateTime m_createdAt{};
234
235 Aws::Utils::DateTime m_updatedAt{};
236 bool m_applicationIdHasBeenSet = false;
237 bool m_idHasBeenSet = false;
238 bool m_nameHasBeenSet = false;
239 bool m_hypothesisHasBeenSet = false;
240 bool m_statusHasBeenSet = false;
241 bool m_configurationProfileIdHasBeenSet = false;
242 bool m_environmentIdHasBeenSet = false;
243 bool m_flagKeyHasBeenSet = false;
244 bool m_createdAtHasBeenSet = false;
245 bool m_updatedAtHasBeenSet = false;
246};
247
248} // namespace Model
249} // namespace AppConfig
250} // namespace Aws
ExperimentDefinitionSummary & WithEnvironmentId(EnvironmentIdT &&value)
AWS_APPCONFIG_API ExperimentDefinitionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentDefinitionSummary & WithApplicationId(ApplicationIdT &&value)
ExperimentDefinitionSummary & WithName(NameT &&value)
ExperimentDefinitionSummary & WithFlagKey(FlagKeyT &&value)
ExperimentDefinitionSummary & WithUpdatedAt(UpdatedAtT &&value)
ExperimentDefinitionSummary & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentDefinitionSummary & WithStatus(ExperimentDefinitionStatus value)
ExperimentDefinitionSummary & WithCreatedAt(CreatedAtT &&value)
AWS_APPCONFIG_API ExperimentDefinitionSummary()=default
ExperimentDefinitionSummary & WithId(IdT &&value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
ExperimentDefinitionSummary & WithHypothesis(HypothesisT &&value)
AWS_APPCONFIG_API ExperimentDefinitionSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue