AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Parameter.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/ParameterType.h>
10#include <aws/core/utils/DateTime.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 SSM
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSM_API Parameter();
38 AWS_SSM_API Parameter(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline Parameter& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline Parameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline Parameter& WithName(const char* value) { SetName(value); return *this;}
56
58
65 inline const ParameterType& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const ParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(ParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline Parameter& WithType(const ParameterType& value) { SetType(value); return *this;}
70 inline Parameter& WithType(ParameterType&& value) { SetType(std::move(value)); return *this;}
72
74
79 inline const Aws::String& GetValue() const{ return m_value; }
80 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
81 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
82 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
83 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
84 inline Parameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
85 inline Parameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
86 inline Parameter& WithValue(const char* value) { SetValue(value); return *this;}
88
90
93 inline long long GetVersion() const{ return m_version; }
94 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
95 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
96 inline Parameter& WithVersion(long long value) { SetVersion(value); return *this;}
98
100
105 inline const Aws::String& GetSelector() const{ return m_selector; }
106 inline bool SelectorHasBeenSet() const { return m_selectorHasBeenSet; }
107 inline void SetSelector(const Aws::String& value) { m_selectorHasBeenSet = true; m_selector = value; }
108 inline void SetSelector(Aws::String&& value) { m_selectorHasBeenSet = true; m_selector = std::move(value); }
109 inline void SetSelector(const char* value) { m_selectorHasBeenSet = true; m_selector.assign(value); }
110 inline Parameter& WithSelector(const Aws::String& value) { SetSelector(value); return *this;}
111 inline Parameter& WithSelector(Aws::String&& value) { SetSelector(std::move(value)); return *this;}
112 inline Parameter& WithSelector(const char* value) { SetSelector(value); return *this;}
114
116
121 inline const Aws::String& GetSourceResult() const{ return m_sourceResult; }
122 inline bool SourceResultHasBeenSet() const { return m_sourceResultHasBeenSet; }
123 inline void SetSourceResult(const Aws::String& value) { m_sourceResultHasBeenSet = true; m_sourceResult = value; }
124 inline void SetSourceResult(Aws::String&& value) { m_sourceResultHasBeenSet = true; m_sourceResult = std::move(value); }
125 inline void SetSourceResult(const char* value) { m_sourceResultHasBeenSet = true; m_sourceResult.assign(value); }
126 inline Parameter& WithSourceResult(const Aws::String& value) { SetSourceResult(value); return *this;}
127 inline Parameter& WithSourceResult(Aws::String&& value) { SetSourceResult(std::move(value)); return *this;}
128 inline Parameter& WithSourceResult(const char* value) { SetSourceResult(value); return *this;}
130
132
136 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
137 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
138 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
139 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
140 inline Parameter& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
141 inline Parameter& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetARN() const{ return m_aRN; }
149 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
150 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
151 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
152 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
153 inline Parameter& WithARN(const Aws::String& value) { SetARN(value); return *this;}
154 inline Parameter& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
155 inline Parameter& WithARN(const char* value) { SetARN(value); return *this;}
157
159
163 inline const Aws::String& GetDataType() const{ return m_dataType; }
164 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
165 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
166 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
167 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
168 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
169 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
170 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
172 private:
173
174 Aws::String m_name;
175 bool m_nameHasBeenSet = false;
176
177 ParameterType m_type;
178 bool m_typeHasBeenSet = false;
179
180 Aws::String m_value;
181 bool m_valueHasBeenSet = false;
182
183 long long m_version;
184 bool m_versionHasBeenSet = false;
185
186 Aws::String m_selector;
187 bool m_selectorHasBeenSet = false;
188
189 Aws::String m_sourceResult;
190 bool m_sourceResultHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastModifiedDate;
193 bool m_lastModifiedDateHasBeenSet = false;
194
195 Aws::String m_aRN;
196 bool m_aRNHasBeenSet = false;
197
198 Aws::String m_dataType;
199 bool m_dataTypeHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace SSM
204} // namespace Aws
long long GetVersion() const
Definition Parameter.h:93
void SetName(const char *value)
Definition Parameter.h:51
void SetValue(Aws::String &&value)
Definition Parameter.h:82
void SetARN(const Aws::String &value)
Definition Parameter.h:150
void SetDataType(const Aws::String &value)
Definition Parameter.h:165
Parameter & WithValue(Aws::String &&value)
Definition Parameter.h:85
void SetType(ParameterType &&value)
Definition Parameter.h:68
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Parameter.h:138
Parameter & WithType(ParameterType &&value)
Definition Parameter.h:70
void SetName(Aws::String &&value)
Definition Parameter.h:50
Parameter & WithSelector(const char *value)
Definition Parameter.h:112
Parameter & WithARN(const char *value)
Definition Parameter.h:155
void SetType(const ParameterType &value)
Definition Parameter.h:67
void SetValue(const char *value)
Definition Parameter.h:83
Parameter & WithSelector(const Aws::String &value)
Definition Parameter.h:110
Parameter & WithName(const char *value)
Definition Parameter.h:54
void SetARN(const char *value)
Definition Parameter.h:152
const Aws::String & GetSourceResult() const
Definition Parameter.h:121
const Aws::String & GetDataType() const
Definition Parameter.h:163
const ParameterType & GetType() const
Definition Parameter.h:65
Parameter & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Parameter.h:141
Parameter & WithVersion(long long value)
Definition Parameter.h:96
Parameter & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Parameter.h:140
void SetSourceResult(const char *value)
Definition Parameter.h:125
Parameter & WithDataType(const char *value)
Definition Parameter.h:170
bool DataTypeHasBeenSet() const
Definition Parameter.h:164
const Aws::String & GetARN() const
Definition Parameter.h:148
bool SourceResultHasBeenSet() const
Definition Parameter.h:122
void SetSelector(const char *value)
Definition Parameter.h:109
void SetSelector(const Aws::String &value)
Definition Parameter.h:107
void SetSelector(Aws::String &&value)
Definition Parameter.h:108
Parameter & WithARN(Aws::String &&value)
Definition Parameter.h:154
const Aws::String & GetName() const
Definition Parameter.h:47
Parameter & WithValue(const Aws::String &value)
Definition Parameter.h:84
bool ValueHasBeenSet() const
Definition Parameter.h:80
Parameter & WithType(const ParameterType &value)
Definition Parameter.h:69
Parameter & WithName(const Aws::String &value)
Definition Parameter.h:52
void SetDataType(Aws::String &&value)
Definition Parameter.h:166
void SetName(const Aws::String &value)
Definition Parameter.h:49
Parameter & WithARN(const Aws::String &value)
Definition Parameter.h:153
Parameter & WithSelector(Aws::String &&value)
Definition Parameter.h:111
void SetARN(Aws::String &&value)
Definition Parameter.h:151
AWS_SSM_API Parameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataType(const char *value)
Definition Parameter.h:167
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:168
void SetSourceResult(Aws::String &&value)
Definition Parameter.h:124
Parameter & WithName(Aws::String &&value)
Definition Parameter.h:53
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:169
bool LastModifiedDateHasBeenSet() const
Definition Parameter.h:137
bool SelectorHasBeenSet() const
Definition Parameter.h:106
void SetVersion(long long value)
Definition Parameter.h:95
const Aws::String & GetValue() const
Definition Parameter.h:79
Parameter & WithSourceResult(Aws::String &&value)
Definition Parameter.h:127
Parameter & WithSourceResult(const char *value)
Definition Parameter.h:128
bool TypeHasBeenSet() const
Definition Parameter.h:66
Parameter & WithSourceResult(const Aws::String &value)
Definition Parameter.h:126
bool VersionHasBeenSet() const
Definition Parameter.h:94
AWS_SSM_API Parameter(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
Parameter & WithValue(const char *value)
Definition Parameter.h:86
void SetSourceResult(const Aws::String &value)
Definition Parameter.h:123
bool NameHasBeenSet() const
Definition Parameter.h:48
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Parameter.h:136
void SetValue(const Aws::String &value)
Definition Parameter.h:81
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Parameter.h:139
const Aws::String & GetSelector() const
Definition Parameter.h:105
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue