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
95 bool m_keyPoliciesHasBeenSet =
false;
98 bool m_grantsHasBeenSet =
false;
KmsKeyConfiguration & AddGrants(const KmsGrantConfiguration &value)
const Aws::Vector< KmsGrantConfiguration > & GetGrants() const
KmsKeyConfiguration & WithKeyPolicies(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetKeyPolicies() const
KmsKeyConfiguration & AddKeyPolicies(Aws::String &&key, Aws::String &&value)
void SetGrants(Aws::Vector< KmsGrantConfiguration > &&value)
bool KeyPoliciesHasBeenSet() const
AWS_ACCESSANALYZER_API KmsKeyConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool GrantsHasBeenSet() const
KmsKeyConfiguration & AddKeyPolicies(const Aws::String &key, Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
KmsKeyConfiguration & WithGrants(const Aws::Vector< KmsGrantConfiguration > &value)
KmsKeyConfiguration & AddKeyPolicies(const Aws::String &key, const Aws::String &value)
KmsKeyConfiguration & AddKeyPolicies(Aws::String &&key, const char *value)
KmsKeyConfiguration & WithKeyPolicies(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ACCESSANALYZER_API KmsKeyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KmsKeyConfiguration & AddKeyPolicies(const char *key, Aws::String &&value)
KmsKeyConfiguration & AddKeyPolicies(Aws::String &&key, const Aws::String &value)
void SetGrants(const Aws::Vector< KmsGrantConfiguration > &value)
void SetKeyPolicies(const Aws::Map< Aws::String, Aws::String > &value)
KmsKeyConfiguration & AddKeyPolicies(const char *key, const char *value)
void SetKeyPolicies(Aws::Map< Aws::String, Aws::String > &&value)
KmsKeyConfiguration & AddGrants(KmsGrantConfiguration &&value)
AWS_ACCESSANALYZER_API KmsKeyConfiguration()
KmsKeyConfiguration & WithGrants(Aws::Vector< KmsGrantConfiguration > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue