7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/Tag.h>
54 inline void SetActivationId(
const char* value) { m_activationIdHasBeenSet =
true; m_activationId.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
82 inline void SetDefaultInstanceName(
const char* value) { m_defaultInstanceNameHasBeenSet =
true; m_defaultInstanceName.assign(value); }
97 inline void SetIamRole(
const char* value) { m_iamRoleHasBeenSet =
true; m_iamRole.assign(value); }
110 inline void SetRegistrationLimit(
int value) { m_registrationLimitHasBeenSet =
true; m_registrationLimit = value; }
120 inline void SetRegistrationsCount(
int value) { m_registrationsCountHasBeenSet =
true; m_registrationsCount = value; }
143 inline void SetExpired(
bool value) { m_expiredHasBeenSet =
true; m_expired = value; }
169 inline Activation&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
170 inline Activation&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
175 bool m_activationIdHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_defaultInstanceNameHasBeenSet =
false;
184 bool m_iamRoleHasBeenSet =
false;
186 int m_registrationLimit;
187 bool m_registrationLimitHasBeenSet =
false;
189 int m_registrationsCount;
190 bool m_registrationsCountHasBeenSet =
false;
193 bool m_expirationDateHasBeenSet =
false;
196 bool m_expiredHasBeenSet =
false;
199 bool m_createdDateHasBeenSet =
false;
202 bool m_tagsHasBeenSet =
false;
void SetDefaultInstanceName(const Aws::String &value)
Activation & WithDescription(const char *value)
void SetActivationId(Aws::String &&value)
Activation & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
Activation & WithActivationId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Utils::DateTime & GetCreatedDate() const
Activation & WithTags(Aws::Vector< Tag > &&value)
Activation & WithExpired(bool value)
bool IamRoleHasBeenSet() const
void SetActivationId(const char *value)
bool ExpirationDateHasBeenSet() const
Activation & WithIamRole(Aws::String &&value)
Activation & WithDescription(Aws::String &&value)
Activation & WithIamRole(const Aws::String &value)
void SetDescription(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetIamRole(Aws::String &&value)
bool DefaultInstanceNameHasBeenSet() const
int GetRegistrationLimit() const
void SetRegistrationsCount(int value)
Activation & WithExpirationDate(const Aws::Utils::DateTime &value)
Activation & WithExpirationDate(Aws::Utils::DateTime &&value)
bool ActivationIdHasBeenSet() const
Activation & WithRegistrationsCount(int value)
Activation & AddTags(const Tag &value)
bool CreatedDateHasBeenSet() const
const Aws::String & GetDescription() const
void SetIamRole(const Aws::String &value)
bool TagsHasBeenSet() const
Activation & WithRegistrationLimit(int value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetDefaultInstanceName(const char *value)
const Aws::String & GetIamRole() const
void SetDescription(const Aws::String &value)
bool ExpiredHasBeenSet() const
bool RegistrationLimitHasBeenSet() const
bool RegistrationsCountHasBeenSet() const
void SetDefaultInstanceName(Aws::String &&value)
Activation & WithIamRole(const char *value)
AWS_SSM_API Activation & operator=(Aws::Utils::Json::JsonView jsonValue)
Activation & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetExpirationDate(Aws::Utils::DateTime &&value)
void SetActivationId(const Aws::String &value)
Activation & WithDefaultInstanceName(Aws::String &&value)
Activation & WithDefaultInstanceName(const char *value)
Activation & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetRegistrationLimit(int value)
Activation & WithActivationId(const Aws::String &value)
const Aws::String & GetDefaultInstanceName() const
void SetExpired(bool value)
void SetExpirationDate(const Aws::Utils::DateTime &value)
Activation & AddTags(Tag &&value)
int GetRegistrationsCount() const
Activation & WithActivationId(const char *value)
void SetIamRole(const char *value)
AWS_SSM_API Activation(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
Activation & WithDefaultInstanceName(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetActivationId() const
Activation & 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