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
51 template<
typename OperationsT = Aws::Vector<KmsGrantOperation>>
52 void SetOperations(OperationsT&& value) { m_operationsHasBeenSet =
true; m_operations = std::forward<OperationsT>(value); }
53 template<
typename OperationsT = Aws::Vector<KmsGrantOperation>>
65 template<
typename GranteePrincipalT = Aws::String>
66 void SetGranteePrincipal(GranteePrincipalT&& value) { m_granteePrincipalHasBeenSet =
true; m_granteePrincipal = std::forward<GranteePrincipalT>(value); }
67 template<
typename GranteePrincipalT = Aws::String>
79 template<
typename RetiringPrincipalT = Aws::String>
80 void SetRetiringPrincipal(RetiringPrincipalT&& value) { m_retiringPrincipalHasBeenSet =
true; m_retiringPrincipal = std::forward<RetiringPrincipalT>(value); }
81 template<
typename RetiringPrincipalT = Aws::String>
96 template<
typename Constra
intsT = KmsGrantConstra
ints>
97 void SetConstraints(ConstraintsT&& value) { m_constraintsHasBeenSet =
true; m_constraints = std::forward<ConstraintsT>(value); }
98 template<
typename Constra
intsT = KmsGrantConstra
ints>
110 template<
typename IssuingAccountT = Aws::String>
111 void SetIssuingAccount(IssuingAccountT&& value) { m_issuingAccountHasBeenSet =
true; m_issuingAccount = std::forward<IssuingAccountT>(value); }
112 template<
typename IssuingAccountT = Aws::String>
118 bool m_operationsHasBeenSet =
false;
121 bool m_granteePrincipalHasBeenSet =
false;
124 bool m_retiringPrincipalHasBeenSet =
false;
127 bool m_constraintsHasBeenSet =
false;
130 bool m_issuingAccountHasBeenSet =
false;
const KmsGrantConstraints & GetConstraints() const
void SetRetiringPrincipal(RetiringPrincipalT &&value)
AWS_ACCESSANALYZER_API KmsGrantConfiguration()=default
const Aws::String & GetGranteePrincipal() const
KmsGrantConfiguration & WithGranteePrincipal(GranteePrincipalT &&value)
bool OperationsHasBeenSet() const
const Aws::Vector< KmsGrantOperation > & GetOperations() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GranteePrincipalHasBeenSet() const
void SetGranteePrincipal(GranteePrincipalT &&value)
const Aws::String & GetIssuingAccount() const
void SetIssuingAccount(IssuingAccountT &&value)
KmsGrantConfiguration & AddOperations(KmsGrantOperation value)
KmsGrantConfiguration & WithRetiringPrincipal(RetiringPrincipalT &&value)
void SetConstraints(ConstraintsT &&value)
AWS_ACCESSANALYZER_API KmsGrantConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetiringPrincipalHasBeenSet() const
KmsGrantConfiguration & WithIssuingAccount(IssuingAccountT &&value)
const Aws::String & GetRetiringPrincipal() const
KmsGrantConfiguration & WithConstraints(ConstraintsT &&value)
void SetOperations(OperationsT &&value)
bool IssuingAccountHasBeenSet() const
KmsGrantConfiguration & WithOperations(OperationsT &&value)
AWS_ACCESSANALYZER_API KmsGrantConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool ConstraintsHasBeenSet() 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