7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/Tag.h>
46 template <
typename ActivationIdT = Aws::String>
48 m_activationIdHasBeenSet =
true;
49 m_activationId = std::forward<ActivationIdT>(value);
51 template <
typename ActivationIdT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename DefaultInstanceNameT = Aws::String>
84 m_defaultInstanceNameHasBeenSet =
true;
85 m_defaultInstanceName = std::forward<DefaultInstanceNameT>(value);
87 template <
typename DefaultInstanceNameT = Aws::String>
101 template <
typename IamRoleT = Aws::String>
103 m_iamRoleHasBeenSet =
true;
104 m_iamRole = std::forward<IamRoleT>(value);
106 template <
typename IamRoleT = Aws::String>
121 m_registrationLimitHasBeenSet =
true;
122 m_registrationLimit = value;
137 m_registrationsCountHasBeenSet =
true;
138 m_registrationsCount = value;
153 template <
typename ExpirationDateT = Aws::Utils::DateTime>
155 m_expirationDateHasBeenSet =
true;
156 m_expirationDate = std::forward<ExpirationDateT>(value);
158 template <
typename ExpirationDateT = Aws::Utils::DateTime>
172 m_expiredHasBeenSet =
true;
187 template <
typename CreatedDateT = Aws::Utils::DateTime>
189 m_createdDateHasBeenSet =
true;
190 m_createdDate = std::forward<CreatedDateT>(value);
192 template <
typename CreatedDateT = Aws::Utils::DateTime>
205 template <
typename TagsT = Aws::Vector<Tag>>
207 m_tagsHasBeenSet =
true;
208 m_tags = std::forward<TagsT>(value);
210 template <
typename TagsT = Aws::Vector<Tag>>
212 SetTags(std::forward<TagsT>(value));
215 template <
typename TagsT = Tag>
217 m_tagsHasBeenSet =
true;
218 m_tags.emplace_back(std::forward<TagsT>(value));
231 int m_registrationLimit{0};
233 int m_registrationsCount{0};
237 bool m_expired{
false};
242 bool m_activationIdHasBeenSet =
false;
243 bool m_descriptionHasBeenSet =
false;
244 bool m_defaultInstanceNameHasBeenSet =
false;
245 bool m_iamRoleHasBeenSet =
false;
246 bool m_registrationLimitHasBeenSet =
false;
247 bool m_registrationsCountHasBeenSet =
false;
248 bool m_expirationDateHasBeenSet =
false;
249 bool m_expiredHasBeenSet =
false;
250 bool m_createdDateHasBeenSet =
false;
251 bool m_tagsHasBeenSet =
false;
Activation & WithDefaultInstanceName(DefaultInstanceNameT &&value)
void SetActivationId(ActivationIdT &&value)
void SetIamRole(IamRoleT &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
Activation & WithCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
Activation & WithExpired(bool value)
bool IamRoleHasBeenSet() const
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
bool ExpirationDateHasBeenSet() const
Activation & WithExpirationDate(ExpirationDateT &&value)
AWS_SSM_API Activation()=default
bool DefaultInstanceNameHasBeenSet() const
int GetRegistrationLimit() const
void SetRegistrationsCount(int value)
Activation & WithDescription(DescriptionT &&value)
void SetDefaultInstanceName(DefaultInstanceNameT &&value)
bool ActivationIdHasBeenSet() const
Activation & WithRegistrationsCount(int value)
bool CreatedDateHasBeenSet() const
void SetExpirationDate(ExpirationDateT &&value)
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
Activation & WithRegistrationLimit(int value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetIamRole() const
Activation & AddTags(TagsT &&value)
bool ExpiredHasBeenSet() const
bool RegistrationLimitHasBeenSet() const
bool RegistrationsCountHasBeenSet() const
AWS_SSM_API Activation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegistrationLimit(int value)
const Aws::String & GetDefaultInstanceName() const
void SetExpired(bool value)
Activation & WithTags(TagsT &&value)
int GetRegistrationsCount() const
void SetCreatedDate(CreatedDateT &&value)
AWS_SSM_API Activation(Aws::Utils::Json::JsonView jsonValue)
Activation & WithIamRole(IamRoleT &&value)
Activation & WithActivationId(ActivationIdT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetActivationId() 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