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>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
74 template<
typename KeyIdT = Aws::String>
75 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
76 template<
typename KeyIdT = Aws::String>
86 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
87 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
88 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
99 template<
typename LastModifiedUserT = Aws::String>
100 void SetLastModifiedUser(LastModifiedUserT&& value) { m_lastModifiedUserHasBeenSet =
true; m_lastModifiedUser = std::forward<LastModifiedUserT>(value); }
101 template<
typename LastModifiedUserT = Aws::String>
111 template<
typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
113 template<
typename DescriptionT = Aws::String>
123 template<
typename ValueT = Aws::String>
124 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
125 template<
typename ValueT = Aws::String>
136 template<
typename AllowedPatternT = Aws::String>
137 void SetAllowedPattern(AllowedPatternT&& value) { m_allowedPatternHasBeenSet =
true; m_allowedPattern = std::forward<AllowedPatternT>(value); }
138 template<
typename AllowedPatternT = Aws::String>
148 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
158 template<
typename LabelsT = Aws::Vector<Aws::String>>
159 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet =
true; m_labels = std::forward<LabelsT>(value); }
160 template<
typename LabelsT = Aws::Vector<Aws::String>>
162 template<
typename LabelsT = Aws::String>
163 ParameterHistory&
AddLabels(LabelsT&& value) { m_labelsHasBeenSet =
true; m_labels.emplace_back(std::forward<LabelsT>(value));
return *
this; }
185 template<
typename PoliciesT = Aws::Vector<ParameterInlinePolicy>>
186 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
187 template<
typename PoliciesT = Aws::Vector<ParameterInlinePolicy>>
189 template<
typename PoliciesT = ParameterInlinePolicy>
190 ParameterHistory&
AddPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies.emplace_back(std::forward<PoliciesT>(value));
return *
this; }
200 template<
typename DataTypeT = Aws::String>
201 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet =
true; m_dataType = std::forward<DataTypeT>(value); }
202 template<
typename DataTypeT = Aws::String>
208 bool m_nameHasBeenSet =
false;
211 bool m_typeHasBeenSet =
false;
214 bool m_keyIdHasBeenSet =
false;
217 bool m_lastModifiedDateHasBeenSet =
false;
220 bool m_lastModifiedUserHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
226 bool m_valueHasBeenSet =
false;
229 bool m_allowedPatternHasBeenSet =
false;
231 long long m_version{0};
232 bool m_versionHasBeenSet =
false;
235 bool m_labelsHasBeenSet =
false;
238 bool m_tierHasBeenSet =
false;
241 bool m_policiesHasBeenSet =
false;
244 bool m_dataTypeHasBeenSet =
false;
bool DescriptionHasBeenSet() const
bool DataTypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
ParameterHistory & WithLastModifiedDate(LastModifiedDateT &&value)
bool LastModifiedDateHasBeenSet() const
const Aws::Vector< ParameterInlinePolicy > & GetPolicies() const
ParameterHistory & WithVersion(long long value)
bool PoliciesHasBeenSet() const
ParameterHistory & WithName(NameT &&value)
void SetKeyId(KeyIdT &&value)
AWS_SSM_API ParameterHistory()=default
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
ParameterHistory & AddPolicies(PoliciesT &&value)
void SetType(ParameterType value)
ParameterHistory & WithLastModifiedUser(LastModifiedUserT &&value)
ParameterHistory & WithTier(ParameterTier value)
const Aws::String & GetDescription() const
bool LabelsHasBeenSet() const
const Aws::String & GetLastModifiedUser() const
const Aws::Vector< Aws::String > & GetLabels() const
ParameterHistory & WithDataType(DataTypeT &&value)
AWS_SSM_API ParameterHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetVersion() const
void SetAllowedPattern(AllowedPatternT &&value)
bool NameHasBeenSet() const
const Aws::String & GetAllowedPattern() const
ParameterHistory & WithType(ParameterType value)
bool ValueHasBeenSet() const
const Aws::String & GetName() const
bool LastModifiedUserHasBeenSet() const
AWS_SSM_API ParameterHistory(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::String & GetKeyId() const
ParameterHistory & WithKeyId(KeyIdT &&value)
bool VersionHasBeenSet() const
ParameterHistory & WithLabels(LabelsT &&value)
void SetDataType(DataTypeT &&value)
bool TypeHasBeenSet() const
void SetValue(ValueT &&value)
const Aws::String & GetDataType() const
void SetLastModifiedUser(LastModifiedUserT &&value)
ParameterHistory & AddLabels(LabelsT &&value)
ParameterHistory & WithDescription(DescriptionT &&value)
void SetPolicies(PoliciesT &&value)
void SetLabels(LabelsT &&value)
void SetTier(ParameterTier value)
ParameterType GetType() const
bool TierHasBeenSet() const
bool KeyIdHasBeenSet() const
ParameterHistory & WithAllowedPattern(AllowedPatternT &&value)
ParameterHistory & WithPolicies(PoliciesT &&value)
bool AllowedPatternHasBeenSet() const
void SetVersion(long long value)
const Aws::String & GetValue() const
ParameterHistory & WithValue(ValueT &&value)
ParameterTier GetTier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue