7#include <aws/kms/KMS_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/kms/model/GrantConstraints.h>
12#include <aws/kms/model/GrantOperation.h>
52 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
66 inline void SetGrantId(
const char* value) { m_grantIdHasBeenSet =
true; m_grantId.assign(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
114 inline void SetGranteePrincipal(
const char* value) { m_granteePrincipalHasBeenSet =
true; m_granteePrincipal.assign(value); }
128 inline void SetRetiringPrincipal(
const char* value) { m_retiringPrincipalHasBeenSet =
true; m_retiringPrincipal.assign(value); }
142 inline void SetIssuingAccount(
const char* value) { m_issuingAccountHasBeenSet =
true; m_issuingAccount.assign(value); }
177 bool m_keyIdHasBeenSet =
false;
180 bool m_grantIdHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_creationDateHasBeenSet =
false;
189 bool m_granteePrincipalHasBeenSet =
false;
192 bool m_retiringPrincipalHasBeenSet =
false;
195 bool m_issuingAccountHasBeenSet =
false;
198 bool m_operationsHasBeenSet =
false;
201 bool m_constraintsHasBeenSet =
false;
void SetRetiringPrincipal(const Aws::String &value)
GrantListEntry & WithIssuingAccount(const Aws::String &value)
void SetGranteePrincipal(Aws::String &&value)
bool OperationsHasBeenSet() const
void SetGranteePrincipal(const char *value)
GrantListEntry & WithName(Aws::String &&value)
GrantListEntry & WithRetiringPrincipal(Aws::String &&value)
GrantListEntry & WithName(const char *value)
GrantListEntry & WithOperations(const Aws::Vector< GrantOperation > &value)
GrantListEntry & WithIssuingAccount(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetCreationDate(const Aws::Utils::DateTime &value)
bool ConstraintsHasBeenSet() const
AWS_KMS_API GrantListEntry()
void SetConstraints(GrantConstraints &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
bool IssuingAccountHasBeenSet() const
void SetOperations(const Aws::Vector< GrantOperation > &value)
void SetGrantId(Aws::String &&value)
void SetOperations(Aws::Vector< GrantOperation > &&value)
void SetGranteePrincipal(const Aws::String &value)
bool RetiringPrincipalHasBeenSet() const
AWS_KMS_API GrantListEntry(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
GrantListEntry & WithRetiringPrincipal(const char *value)
AWS_KMS_API GrantListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
GrantListEntry & WithRetiringPrincipal(const Aws::String &value)
const Aws::String & GetIssuingAccount() const
bool KeyIdHasBeenSet() const
GrantListEntry & WithGrantId(Aws::String &&value)
void SetRetiringPrincipal(const char *value)
void SetGrantId(const Aws::String &value)
void SetName(Aws::String &&value)
bool CreationDateHasBeenSet() const
GrantListEntry & WithGranteePrincipal(const Aws::String &value)
bool GranteePrincipalHasBeenSet() const
GrantListEntry & WithGranteePrincipal(Aws::String &&value)
GrantListEntry & WithKeyId(const char *value)
GrantListEntry & AddOperations(const GrantOperation &value)
GrantListEntry & WithIssuingAccount(Aws::String &&value)
void SetKeyId(const char *value)
void SetName(const Aws::String &value)
GrantListEntry & AddOperations(GrantOperation &&value)
GrantListEntry & WithGranteePrincipal(const char *value)
GrantListEntry & WithName(const Aws::String &value)
GrantListEntry & WithGrantId(const Aws::String &value)
void SetIssuingAccount(const Aws::String &value)
void SetIssuingAccount(const char *value)
GrantListEntry & WithConstraints(GrantConstraints &&value)
void SetRetiringPrincipal(Aws::String &&value)
GrantListEntry & WithGrantId(const char *value)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConstraints(const GrantConstraints &value)
const GrantConstraints & GetConstraints() const
void SetIssuingAccount(Aws::String &&value)
GrantListEntry & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetGranteePrincipal() const
GrantListEntry & WithCreationDate(const Aws::Utils::DateTime &value)
GrantListEntry & WithOperations(Aws::Vector< GrantOperation > &&value)
const Aws::String & GetName() const
GrantListEntry & WithConstraints(const GrantConstraints &value)
const Aws::String & GetGrantId() const
GrantListEntry & WithKeyId(const Aws::String &value)
GrantListEntry & WithKeyId(Aws::String &&value)
void SetKeyId(const Aws::String &value)
const Aws::Vector< GrantOperation > & GetOperations() const
bool GrantIdHasBeenSet() const
const Aws::String & GetRetiringPrincipal() const
const Aws::String & GetKeyId() const
void SetName(const char *value)
void SetKeyId(Aws::String &&value)
void SetGrantId(const char *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