7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AccessAnalyzer {
54 template <
typename UserIdsT = Aws::Vector<Aws::String>>
56 m_userIdsHasBeenSet =
true;
57 m_userIds = std::forward<UserIdsT>(value);
59 template <
typename UserIdsT = Aws::Vector<Aws::String>>
64 template <
typename UserIdsT = Aws::String>
66 m_userIdsHasBeenSet =
true;
67 m_userIds.emplace_back(std::forward<UserIdsT>(value));
87 template <
typename GroupsT = Aws::Vector<Aws::String>>
89 m_groupsHasBeenSet =
true;
90 m_groups = std::forward<GroupsT>(value);
92 template <
typename GroupsT = Aws::Vector<Aws::String>>
97 template <
typename GroupsT = Aws::String>
99 m_groupsHasBeenSet =
true;
100 m_groups.emplace_back(std::forward<GroupsT>(value));
118 template <
typename KmsKeyIdT = Aws::String>
120 m_kmsKeyIdHasBeenSet =
true;
121 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
123 template <
typename KmsKeyIdT = Aws::String>
135 bool m_userIdsHasBeenSet =
false;
136 bool m_groupsHasBeenSet =
false;
137 bool m_kmsKeyIdHasBeenSet =
false;
AWS_ACCESSANALYZER_API EbsSnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetKmsKeyId() const
EbsSnapshotConfiguration & AddGroups(GroupsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
EbsSnapshotConfiguration & AddUserIds(UserIdsT &&value)
void SetGroups(GroupsT &&value)
bool UserIdsHasBeenSet() const
AWS_ACCESSANALYZER_API EbsSnapshotConfiguration()=default
AWS_ACCESSANALYZER_API EbsSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetUserIds(UserIdsT &&value)
EbsSnapshotConfiguration & WithUserIds(UserIdsT &&value)
bool GroupsHasBeenSet() const
EbsSnapshotConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
EbsSnapshotConfiguration & WithGroups(GroupsT &&value)
const Aws::Vector< Aws::String > & GetUserIds() 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