AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterHistory.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/ParameterTier.h>
13#include <aws/ssm/model/ParameterInlinePolicy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SSM
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SSM_API ParameterHistory();
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline ParameterHistory& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline ParameterHistory& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline ParameterHistory& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const ParameterType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const ParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(ParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline ParameterHistory& WithType(const ParameterType& value) { SetType(value); return *this;}
68 inline ParameterHistory& WithType(ParameterType&& value) { SetType(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetKeyId() const{ return m_keyId; }
77 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
78 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
79 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
80 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
81 inline ParameterHistory& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
82 inline ParameterHistory& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
83 inline ParameterHistory& WithKeyId(const char* value) { SetKeyId(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
91 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
92 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
93 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
95 inline ParameterHistory& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
97
99
103 inline const Aws::String& GetLastModifiedUser() const{ return m_lastModifiedUser; }
104 inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; }
105 inline void SetLastModifiedUser(const Aws::String& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = value; }
106 inline void SetLastModifiedUser(Aws::String&& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = std::move(value); }
107 inline void SetLastModifiedUser(const char* value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser.assign(value); }
108 inline ParameterHistory& WithLastModifiedUser(const Aws::String& value) { SetLastModifiedUser(value); return *this;}
109 inline ParameterHistory& WithLastModifiedUser(Aws::String&& value) { SetLastModifiedUser(std::move(value)); return *this;}
110 inline ParameterHistory& WithLastModifiedUser(const char* value) { SetLastModifiedUser(value); return *this;}
112
114
117 inline const Aws::String& GetDescription() const{ return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
120 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
121 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
122 inline ParameterHistory& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
123 inline ParameterHistory& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
124 inline ParameterHistory& WithDescription(const char* value) { SetDescription(value); return *this;}
126
128
131 inline const Aws::String& GetValue() const{ return m_value; }
132 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
133 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
134 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
135 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
136 inline ParameterHistory& WithValue(const Aws::String& value) { SetValue(value); return *this;}
137 inline ParameterHistory& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
138 inline ParameterHistory& WithValue(const char* value) { SetValue(value); return *this;}
140
142
146 inline const Aws::String& GetAllowedPattern() const{ return m_allowedPattern; }
147 inline bool AllowedPatternHasBeenSet() const { return m_allowedPatternHasBeenSet; }
148 inline void SetAllowedPattern(const Aws::String& value) { m_allowedPatternHasBeenSet = true; m_allowedPattern = value; }
149 inline void SetAllowedPattern(Aws::String&& value) { m_allowedPatternHasBeenSet = true; m_allowedPattern = std::move(value); }
150 inline void SetAllowedPattern(const char* value) { m_allowedPatternHasBeenSet = true; m_allowedPattern.assign(value); }
151 inline ParameterHistory& WithAllowedPattern(const Aws::String& value) { SetAllowedPattern(value); return *this;}
152 inline ParameterHistory& WithAllowedPattern(Aws::String&& value) { SetAllowedPattern(std::move(value)); return *this;}
153 inline ParameterHistory& WithAllowedPattern(const char* value) { SetAllowedPattern(value); return *this;}
155
157
160 inline long long GetVersion() const{ return m_version; }
161 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
162 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
163 inline ParameterHistory& WithVersion(long long value) { SetVersion(value); return *this;}
165
167
170 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
171 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
172 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
173 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
174 inline ParameterHistory& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
175 inline ParameterHistory& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
176 inline ParameterHistory& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
177 inline ParameterHistory& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
178 inline ParameterHistory& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
180
182
185 inline const ParameterTier& GetTier() const{ return m_tier; }
186 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
187 inline void SetTier(const ParameterTier& value) { m_tierHasBeenSet = true; m_tier = value; }
188 inline void SetTier(ParameterTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
189 inline ParameterHistory& WithTier(const ParameterTier& value) { SetTier(value); return *this;}
190 inline ParameterHistory& WithTier(ParameterTier&& value) { SetTier(std::move(value)); return *this;}
192
194
200 inline const Aws::Vector<ParameterInlinePolicy>& GetPolicies() const{ return m_policies; }
201 inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; }
202 inline void SetPolicies(const Aws::Vector<ParameterInlinePolicy>& value) { m_policiesHasBeenSet = true; m_policies = value; }
203 inline void SetPolicies(Aws::Vector<ParameterInlinePolicy>&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); }
205 inline ParameterHistory& WithPolicies(Aws::Vector<ParameterInlinePolicy>&& value) { SetPolicies(std::move(value)); return *this;}
206 inline ParameterHistory& AddPolicies(const ParameterInlinePolicy& value) { m_policiesHasBeenSet = true; m_policies.push_back(value); return *this; }
207 inline ParameterHistory& AddPolicies(ParameterInlinePolicy&& value) { m_policiesHasBeenSet = true; m_policies.push_back(std::move(value)); return *this; }
209
211
215 inline const Aws::String& GetDataType() const{ return m_dataType; }
216 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
217 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
218 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
219 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
220 inline ParameterHistory& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
221 inline ParameterHistory& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
222 inline ParameterHistory& WithDataType(const char* value) { SetDataType(value); return *this;}
224 private:
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 ParameterType m_type;
230 bool m_typeHasBeenSet = false;
231
232 Aws::String m_keyId;
233 bool m_keyIdHasBeenSet = false;
234
235 Aws::Utils::DateTime m_lastModifiedDate;
236 bool m_lastModifiedDateHasBeenSet = false;
237
238 Aws::String m_lastModifiedUser;
239 bool m_lastModifiedUserHasBeenSet = false;
240
241 Aws::String m_description;
242 bool m_descriptionHasBeenSet = false;
243
244 Aws::String m_value;
245 bool m_valueHasBeenSet = false;
246
247 Aws::String m_allowedPattern;
248 bool m_allowedPatternHasBeenSet = false;
249
250 long long m_version;
251 bool m_versionHasBeenSet = false;
252
254 bool m_labelsHasBeenSet = false;
255
256 ParameterTier m_tier;
257 bool m_tierHasBeenSet = false;
258
260 bool m_policiesHasBeenSet = false;
261
262 Aws::String m_dataType;
263 bool m_dataTypeHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace SSM
268} // namespace Aws
void SetLabels(Aws::Vector< Aws::String > &&value)
ParameterHistory & WithKeyId(Aws::String &&value)
ParameterHistory & AddLabels(const char *value)
ParameterHistory & WithDataType(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetLastModifiedUser(const Aws::String &value)
ParameterHistory & WithLastModifiedUser(Aws::String &&value)
ParameterHistory & WithAllowedPattern(const char *value)
const Aws::Vector< ParameterInlinePolicy > & GetPolicies() const
void SetAllowedPattern(const Aws::String &value)
ParameterHistory & WithValue(const char *value)
ParameterHistory & WithVersion(long long value)
void SetAllowedPattern(Aws::String &&value)
ParameterHistory & WithDescription(const char *value)
ParameterHistory & WithAllowedPattern(Aws::String &&value)
ParameterHistory & WithName(Aws::String &&value)
void SetDataType(const Aws::String &value)
void SetTier(ParameterTier &&value)
ParameterHistory & WithType(ParameterType &&value)
ParameterHistory & WithLabels(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetDataType(const char *value)
void SetPolicies(const Aws::Vector< ParameterInlinePolicy > &value)
const ParameterType & GetType() const
ParameterHistory & WithName(const Aws::String &value)
ParameterHistory & WithLastModifiedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
void SetKeyId(Aws::String &&value)
void SetLastModifiedUser(const char *value)
ParameterHistory & WithValue(Aws::String &&value)
void SetLastModifiedUser(Aws::String &&value)
const Aws::String & GetLastModifiedUser() const
const Aws::Vector< Aws::String > & GetLabels() const
void SetDescription(Aws::String &&value)
AWS_SSM_API ParameterHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataType(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetAllowedPattern() const
ParameterHistory & WithAllowedPattern(const Aws::String &value)
ParameterHistory & WithPolicies(const Aws::Vector< ParameterInlinePolicy > &value)
const Aws::String & GetName() const
ParameterHistory & WithTier(const ParameterTier &value)
void SetAllowedPattern(const char *value)
void SetType(const ParameterType &value)
ParameterHistory & WithDataType(const Aws::String &value)
const ParameterTier & GetTier() const
void SetDescription(const char *value)
ParameterHistory & WithKeyId(const char *value)
AWS_SSM_API ParameterHistory(Aws::Utils::Json::JsonView jsonValue)
void SetTier(const ParameterTier &value)
ParameterHistory & WithName(const char *value)
void SetKeyId(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetKeyId() const
ParameterHistory & AddLabels(const Aws::String &value)
ParameterHistory & WithLastModifiedDate(Aws::Utils::DateTime &&value)
const Aws::String & GetDataType() const
ParameterHistory & WithLastModifiedUser(const Aws::String &value)
ParameterHistory & WithLabels(const Aws::Vector< Aws::String > &value)
ParameterHistory & WithTier(ParameterTier &&value)
void SetValue(Aws::String &&value)
void SetValue(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
ParameterHistory & WithDescription(Aws::String &&value)
void SetName(const Aws::String &value)
ParameterHistory & WithPolicies(Aws::Vector< ParameterInlinePolicy > &&value)
void SetPolicies(Aws::Vector< ParameterInlinePolicy > &&value)
void SetName(const char *value)
ParameterHistory & WithValue(const Aws::String &value)
ParameterHistory & AddPolicies(const ParameterInlinePolicy &value)
void SetType(ParameterType &&value)
ParameterHistory & WithDataType(const char *value)
ParameterHistory & AddPolicies(ParameterInlinePolicy &&value)
ParameterHistory & WithKeyId(const Aws::String &value)
ParameterHistory & WithType(const ParameterType &value)
ParameterHistory & AddLabels(Aws::String &&value)
void SetLabels(const Aws::Vector< Aws::String > &value)
const Aws::String & GetValue() const
ParameterHistory & WithLastModifiedUser(const char *value)
void SetKeyId(const Aws::String &value)
ParameterHistory & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue