7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/KmsGrantConstraints.h>
11#include <aws/accessanalyzer/model/KmsGrantOperation.h>
24namespace AccessAnalyzer
68 inline void SetGranteePrincipal(
const char* value) { m_granteePrincipalHasBeenSet =
true; m_granteePrincipal.assign(value); }
84 inline void SetRetiringPrincipal(
const char* value) { m_retiringPrincipalHasBeenSet =
true; m_retiringPrincipal.assign(value); }
117 inline void SetIssuingAccount(
const char* value) { m_issuingAccountHasBeenSet =
true; m_issuingAccount.assign(value); }
125 bool m_operationsHasBeenSet =
false;
128 bool m_granteePrincipalHasBeenSet =
false;
131 bool m_retiringPrincipalHasBeenSet =
false;
134 bool m_constraintsHasBeenSet =
false;
137 bool m_issuingAccountHasBeenSet =
false;
KmsGrantConfiguration & WithGranteePrincipal(const Aws::String &value)
KmsGrantConfiguration & WithIssuingAccount(const Aws::String &value)
KmsGrantConfiguration & AddOperations(KmsGrantOperation &&value)
const KmsGrantConstraints & GetConstraints() const
void SetRetiringPrincipal(Aws::String &&value)
const Aws::String & GetGranteePrincipal() const
KmsGrantConfiguration & WithConstraints(const KmsGrantConstraints &value)
bool OperationsHasBeenSet() const
void SetGranteePrincipal(const Aws::String &value)
KmsGrantConfiguration & WithRetiringPrincipal(const Aws::String &value)
const Aws::Vector< KmsGrantOperation > & GetOperations() const
AWS_ACCESSANALYZER_API KmsGrantConfiguration()
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GranteePrincipalHasBeenSet() const
const Aws::String & GetIssuingAccount() const
void SetGranteePrincipal(Aws::String &&value)
void SetIssuingAccount(const char *value)
KmsGrantConfiguration & WithOperations(Aws::Vector< KmsGrantOperation > &&value)
KmsGrantConfiguration & WithRetiringPrincipal(Aws::String &&value)
KmsGrantConfiguration & WithOperations(const Aws::Vector< KmsGrantOperation > &value)
KmsGrantConfiguration & WithGranteePrincipal(Aws::String &&value)
void SetOperations(Aws::Vector< KmsGrantOperation > &&value)
void SetConstraints(KmsGrantConstraints &&value)
AWS_ACCESSANALYZER_API KmsGrantConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KmsGrantConfiguration & WithIssuingAccount(const char *value)
void SetOperations(const Aws::Vector< KmsGrantOperation > &value)
KmsGrantConfiguration & WithConstraints(KmsGrantConstraints &&value)
bool RetiringPrincipalHasBeenSet() const
KmsGrantConfiguration & WithIssuingAccount(Aws::String &&value)
void SetRetiringPrincipal(const char *value)
KmsGrantConfiguration & WithRetiringPrincipal(const char *value)
void SetGranteePrincipal(const char *value)
const Aws::String & GetRetiringPrincipal() const
KmsGrantConfiguration & AddOperations(const KmsGrantOperation &value)
bool IssuingAccountHasBeenSet() const
AWS_ACCESSANALYZER_API KmsGrantConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetIssuingAccount(Aws::String &&value)
bool ConstraintsHasBeenSet() const
void SetIssuingAccount(const Aws::String &value)
KmsGrantConfiguration & WithGranteePrincipal(const char *value)
void SetRetiringPrincipal(const Aws::String &value)
void SetConstraints(const KmsGrantConstraints &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