7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/accessanalyzer/model/KmsGrantConfiguration.h>
24namespace AccessAnalyzer
63 template<
typename KeyPoliciesT = Aws::Map<Aws::String, Aws::String>>
64 void SetKeyPolicies(KeyPoliciesT&& value) { m_keyPoliciesHasBeenSet =
true; m_keyPolicies = std::forward<KeyPoliciesT>(value); }
65 template<
typename KeyPoliciesT = Aws::Map<Aws::String, Aws::String>>
67 template<
typename KeyPoliciesKeyT = Aws::String,
typename KeyPoliciesValueT = Aws::String>
69 m_keyPoliciesHasBeenSet =
true; m_keyPolicies.emplace(std::forward<KeyPoliciesKeyT>(key), std::forward<KeyPoliciesValueT>(value));
return *
this;
82 template<
typename GrantsT = Aws::Vector<KmsGrantConfiguration>>
83 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
84 template<
typename GrantsT = Aws::Vector<KmsGrantConfiguration>>
86 template<
typename GrantsT = KmsGrantConfiguration>
92 bool m_keyPoliciesHasBeenSet =
false;
95 bool m_grantsHasBeenSet =
false;
const Aws::Vector< KmsGrantConfiguration > & GetGrants() const
void SetGrants(GrantsT &&value)
KmsKeyConfiguration & WithGrants(GrantsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyPolicies() const
bool KeyPoliciesHasBeenSet() const
AWS_ACCESSANALYZER_API KmsKeyConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool GrantsHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
KmsKeyConfiguration & AddGrants(GrantsT &&value)
KmsKeyConfiguration & AddKeyPolicies(KeyPoliciesKeyT &&key, KeyPoliciesValueT &&value)
AWS_ACCESSANALYZER_API KmsKeyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API KmsKeyConfiguration()=default
void SetKeyPolicies(KeyPoliciesT &&value)
KmsKeyConfiguration & WithKeyPolicies(KeyPoliciesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue