AWS SDK for C++  1.9.71
AWS SDK for C++
Parameter.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SSM
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline Parameter& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline Parameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline Parameter& WithName(const char* value) { SetName(value); return *this;}
82 
83 
88  inline const ParameterType& GetType() const{ return m_type; }
89 
94  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 
100  inline void SetType(const ParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
101 
106  inline void SetType(ParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
107 
112  inline Parameter& WithType(const ParameterType& value) { SetType(value); return *this;}
113 
118  inline Parameter& WithType(ParameterType&& value) { SetType(std::move(value)); return *this;}
119 
120 
124  inline const Aws::String& GetValue() const{ return m_value; }
125 
129  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
130 
134  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
135 
139  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
140 
144  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
145 
149  inline Parameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
150 
154  inline Parameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
155 
159  inline Parameter& WithValue(const char* value) { SetValue(value); return *this;}
160 
161 
165  inline long long GetVersion() const{ return m_version; }
166 
170  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
171 
175  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
176 
180  inline Parameter& WithVersion(long long value) { SetVersion(value); return *this;}
181 
182 
188  inline const Aws::String& GetSelector() const{ return m_selector; }
189 
195  inline bool SelectorHasBeenSet() const { return m_selectorHasBeenSet; }
196 
202  inline void SetSelector(const Aws::String& value) { m_selectorHasBeenSet = true; m_selector = value; }
203 
209  inline void SetSelector(Aws::String&& value) { m_selectorHasBeenSet = true; m_selector = std::move(value); }
210 
216  inline void SetSelector(const char* value) { m_selectorHasBeenSet = true; m_selector.assign(value); }
217 
223  inline Parameter& WithSelector(const Aws::String& value) { SetSelector(value); return *this;}
224 
230  inline Parameter& WithSelector(Aws::String&& value) { SetSelector(std::move(value)); return *this;}
231 
237  inline Parameter& WithSelector(const char* value) { SetSelector(value); return *this;}
238 
239 
245  inline const Aws::String& GetSourceResult() const{ return m_sourceResult; }
246 
252  inline bool SourceResultHasBeenSet() const { return m_sourceResultHasBeenSet; }
253 
259  inline void SetSourceResult(const Aws::String& value) { m_sourceResultHasBeenSet = true; m_sourceResult = value; }
260 
266  inline void SetSourceResult(Aws::String&& value) { m_sourceResultHasBeenSet = true; m_sourceResult = std::move(value); }
267 
273  inline void SetSourceResult(const char* value) { m_sourceResultHasBeenSet = true; m_sourceResult.assign(value); }
274 
280  inline Parameter& WithSourceResult(const Aws::String& value) { SetSourceResult(value); return *this;}
281 
287  inline Parameter& WithSourceResult(Aws::String&& value) { SetSourceResult(std::move(value)); return *this;}
288 
294  inline Parameter& WithSourceResult(const char* value) { SetSourceResult(value); return *this;}
295 
296 
301  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
302 
307  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
308 
313  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
314 
319  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
320 
325  inline Parameter& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
326 
331  inline Parameter& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
332 
333 
337  inline const Aws::String& GetARN() const{ return m_aRN; }
338 
342  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
343 
347  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
348 
352  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
353 
357  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
358 
362  inline Parameter& WithARN(const Aws::String& value) { SetARN(value); return *this;}
363 
367  inline Parameter& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
368 
372  inline Parameter& WithARN(const char* value) { SetARN(value); return *this;}
373 
374 
379  inline const Aws::String& GetDataType() const{ return m_dataType; }
380 
385  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
386 
391  inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
392 
397  inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
398 
403  inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
404 
409  inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
410 
415  inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
416 
421  inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
422 
423  private:
424 
425  Aws::String m_name;
426  bool m_nameHasBeenSet;
427 
428  ParameterType m_type;
429  bool m_typeHasBeenSet;
430 
431  Aws::String m_value;
432  bool m_valueHasBeenSet;
433 
434  long long m_version;
435  bool m_versionHasBeenSet;
436 
437  Aws::String m_selector;
438  bool m_selectorHasBeenSet;
439 
440  Aws::String m_sourceResult;
441  bool m_sourceResultHasBeenSet;
442 
443  Aws::Utils::DateTime m_lastModifiedDate;
444  bool m_lastModifiedDateHasBeenSet;
445 
446  Aws::String m_aRN;
447  bool m_aRNHasBeenSet;
448 
449  Aws::String m_dataType;
450  bool m_dataTypeHasBeenSet;
451  };
452 
453 } // namespace Model
454 } // namespace SSM
455 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SSM::Model::Parameter::WithLastModifiedDate
Parameter & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: Parameter.h:325
Aws::SSM::Model::Parameter::Parameter
Parameter()
Aws::SSM::Model::Parameter::GetName
const Aws::String & GetName() const
Definition: Parameter.h:46
Aws::SSM::Model::Parameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Parameter.h:51
ParameterType.h
Aws::SSM::Model::Parameter::WithDataType
Parameter & WithDataType(const char *value)
Definition: Parameter.h:421
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::Parameter::WithType
Parameter & WithType(const ParameterType &value)
Definition: Parameter.h:112
Aws::SSM::Model::Parameter::WithSourceResult
Parameter & WithSourceResult(const char *value)
Definition: Parameter.h:294
DateTime.h
Aws::SSM::Model::Parameter::SetName
void SetName(Aws::String &&value)
Definition: Parameter.h:61
Aws::SSM::Model::Parameter::operator=
Parameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::Parameter::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: Parameter.h:385
Aws::SSM::Model::Parameter::WithType
Parameter & WithType(ParameterType &&value)
Definition: Parameter.h:118
SSM_EXPORTS.h
Aws::SSM::Model::Parameter::SetVersion
void SetVersion(long long value)
Definition: Parameter.h:175
Aws::SSM::Model::Parameter::GetValue
const Aws::String & GetValue() const
Definition: Parameter.h:124
Aws::SSM::Model::Parameter::SetARN
void SetARN(Aws::String &&value)
Definition: Parameter.h:352
Aws::SSM::Model::Parameter::WithName
Parameter & WithName(Aws::String &&value)
Definition: Parameter.h:76
Aws::SSM::Model::Parameter::SetARN
void SetARN(const Aws::String &value)
Definition: Parameter.h:347
Aws::SSM::Model::Parameter::GetSourceResult
const Aws::String & GetSourceResult() const
Definition: Parameter.h:245
Aws::SSM::Model::Parameter::SetSelector
void SetSelector(Aws::String &&value)
Definition: Parameter.h:209
Aws::SSM::Model::Parameter::GetSelector
const Aws::String & GetSelector() const
Definition: Parameter.h:188
Aws::SSM::Model::Parameter::WithSelector
Parameter & WithSelector(Aws::String &&value)
Definition: Parameter.h:230
Aws::SSM::Model::Parameter::SetSelector
void SetSelector(const Aws::String &value)
Definition: Parameter.h:202
Aws::SSM::Model::Parameter::WithDataType
Parameter & WithDataType(Aws::String &&value)
Definition: Parameter.h:415
Aws::SSM::Model::Parameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSM::Model::Parameter::SetDataType
void SetDataType(Aws::String &&value)
Definition: Parameter.h:397
Aws::SSM::Model::Parameter::WithValue
Parameter & WithValue(const Aws::String &value)
Definition: Parameter.h:149
Aws::SSM::Model::Parameter::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Parameter.h:94
Aws::SSM::Model::Parameter
Definition: Parameter.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::SSM::Model::Parameter::SetValue
void SetValue(const char *value)
Definition: Parameter.h:144
Aws::SSM::Model::Parameter::WithValue
Parameter & WithValue(Aws::String &&value)
Definition: Parameter.h:154
AWSString.h
Aws::SSM::Model::Parameter::WithARN
Parameter & WithARN(const char *value)
Definition: Parameter.h:372
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SSM::Model::Parameter::WithSourceResult
Parameter & WithSourceResult(const Aws::String &value)
Definition: Parameter.h:280
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::Parameter::WithARN
Parameter & WithARN(const Aws::String &value)
Definition: Parameter.h:362
Aws::SSM::Model::Parameter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Parameter.h:129
Aws::SSM::Model::Parameter::SetName
void SetName(const char *value)
Definition: Parameter.h:66
Aws::SSM::Model::Parameter::WithDataType
Parameter & WithDataType(const Aws::String &value)
Definition: Parameter.h:409
Aws::SSM::Model::Parameter::WithName
Parameter & WithName(const Aws::String &value)
Definition: Parameter.h:71
Aws::SSM::Model::Parameter::SelectorHasBeenSet
bool SelectorHasBeenSet() const
Definition: Parameter.h:195
Aws::SSM::Model::Parameter::SetValue
void SetValue(const Aws::String &value)
Definition: Parameter.h:134
Aws::SSM::Model::ParameterType
ParameterType
Definition: ParameterType.h:17
Aws::SSM::Model::Parameter::SetName
void SetName(const Aws::String &value)
Definition: Parameter.h:56
Aws::SSM::Model::Parameter::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: Parameter.h:342
Aws::SSM::Model::Parameter::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: Parameter.h:170
Aws::SSM::Model::Parameter::GetARN
const Aws::String & GetARN() const
Definition: Parameter.h:337
Aws::SSM::Model::Parameter::Parameter
Parameter(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::Parameter::GetVersion
long long GetVersion() const
Definition: Parameter.h:165
Aws::SSM::Model::Parameter::WithSelector
Parameter & WithSelector(const Aws::String &value)
Definition: Parameter.h:223
Aws::SSM::Model::Parameter::SetARN
void SetARN(const char *value)
Definition: Parameter.h:357
Aws::SSM::Model::Parameter::WithSelector
Parameter & WithSelector(const char *value)
Definition: Parameter.h:237
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::Parameter::WithARN
Parameter & WithARN(Aws::String &&value)
Definition: Parameter.h:367
Aws::SSM::Model::Parameter::WithSourceResult
Parameter & WithSourceResult(Aws::String &&value)
Definition: Parameter.h:287
Aws::SSM::Model::Parameter::SetSourceResult
void SetSourceResult(const char *value)
Definition: Parameter.h:273
Aws::SSM::Model::Parameter::SetSourceResult
void SetSourceResult(Aws::String &&value)
Definition: Parameter.h:266
Aws::SSM::Model::Parameter::SetSelector
void SetSelector(const char *value)
Definition: Parameter.h:216
Aws::SSM::Model::Parameter::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: Parameter.h:301
Aws::SSM::Model::Parameter::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: Parameter.h:307
Aws::SSM::Model::Parameter::SetDataType
void SetDataType(const Aws::String &value)
Definition: Parameter.h:391
Aws::SSM::Model::Parameter::WithVersion
Parameter & WithVersion(long long value)
Definition: Parameter.h:180
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::Parameter::WithLastModifiedDate
Parameter & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: Parameter.h:331
Aws::SSM::Model::Parameter::SetDataType
void SetDataType(const char *value)
Definition: Parameter.h:403
Aws::SSM::Model::Parameter::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: Parameter.h:313
Aws::SSM::Model::Parameter::SetType
void SetType(ParameterType &&value)
Definition: Parameter.h:106
Aws::SSM::Model::Parameter::WithName
Parameter & WithName(const char *value)
Definition: Parameter.h:81
Aws::SSM::Model::Parameter::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: Parameter.h:319
Aws::SSM::Model::Parameter::SetSourceResult
void SetSourceResult(const Aws::String &value)
Definition: Parameter.h:259
Aws::SSM::Model::Parameter::SourceResultHasBeenSet
bool SourceResultHasBeenSet() const
Definition: Parameter.h:252
Aws::SSM::Model::Parameter::SetType
void SetType(const ParameterType &value)
Definition: Parameter.h:100
Aws::SSM::Model::Parameter::WithValue
Parameter & WithValue(const char *value)
Definition: Parameter.h:159
Aws::SSM::Model::Parameter::GetDataType
const Aws::String & GetDataType() const
Definition: Parameter.h:379
Aws::SSM::Model::Parameter::SetValue
void SetValue(Aws::String &&value)
Definition: Parameter.h:139
Aws::SSM::Model::Parameter::GetType
const ParameterType & GetType() const
Definition: Parameter.h:88