7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/KmsGrantConstraints.h>
9#include <aws/accessanalyzer/model/KmsGrantOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace AccessAnalyzer {
45 template <
typename OperationsT = Aws::Vector<KmsGrantOperation>>
47 m_operationsHasBeenSet =
true;
48 m_operations = std::forward<OperationsT>(value);
50 template <
typename OperationsT = Aws::Vector<KmsGrantOperation>>
56 m_operationsHasBeenSet =
true;
57 m_operations.push_back(value);
69 template <
typename GranteePrincipalT = Aws::String>
71 m_granteePrincipalHasBeenSet =
true;
72 m_granteePrincipal = std::forward<GranteePrincipalT>(value);
74 template <
typename GranteePrincipalT = Aws::String>
89 template <
typename RetiringPrincipalT = Aws::String>
91 m_retiringPrincipalHasBeenSet =
true;
92 m_retiringPrincipal = std::forward<RetiringPrincipalT>(value);
94 template <
typename RetiringPrincipalT = Aws::String>
112 template <
typename Constra
intsT = KmsGrantConstra
ints>
114 m_constraintsHasBeenSet =
true;
115 m_constraints = std::forward<ConstraintsT>(value);
117 template <
typename Constra
intsT = KmsGrantConstra
ints>
132 template <
typename IssuingAccountT = Aws::String>
134 m_issuingAccountHasBeenSet =
true;
135 m_issuingAccount = std::forward<IssuingAccountT>(value);
137 template <
typename IssuingAccountT = Aws::String>
153 bool m_operationsHasBeenSet =
false;
154 bool m_granteePrincipalHasBeenSet =
false;
155 bool m_retiringPrincipalHasBeenSet =
false;
156 bool m_constraintsHasBeenSet =
false;
157 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