7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AccessRuleCondition.h>
9#include <aws/amplifygen3/model/Unit.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AmplifyGen3 {
43 template <
typename AnyAuthenticatedUserT = Unit>
45 m_anyAuthenticatedUserHasBeenSet =
true;
46 m_anyAuthenticatedUser = std::forward<AnyAuthenticatedUserT>(value);
48 template <
typename AnyAuthenticatedUserT = Unit>
61 template <
typename UserClaimsT = Aws::Vector<AccessRuleCondition>>
63 m_userClaimsHasBeenSet =
true;
64 m_userClaims = std::forward<UserClaimsT>(value);
66 template <
typename UserClaimsT = Aws::Vector<AccessRuleCondition>>
71 template <
typename UserClaimsT = AccessRuleCondition>
73 m_userClaimsHasBeenSet =
true;
74 m_userClaims.emplace_back(std::forward<UserClaimsT>(value));
79 Unit m_anyAuthenticatedUser;
82 bool m_anyAuthenticatedUserHasBeenSet =
false;
83 bool m_userClaimsHasBeenSet =
false;
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API AccessControlRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API AccessControlRule()=default
AWS_AMPLIFYGEN3_API AccessControlRule(Aws::Utils::Json::JsonView jsonValue)
void SetAnyAuthenticatedUser(AnyAuthenticatedUserT &&value)
const Unit & GetAnyAuthenticatedUser() const
const Aws::Vector< AccessRuleCondition > & GetUserClaims() const
bool UserClaimsHasBeenSet() const
AccessControlRule & AddUserClaims(UserClaimsT &&value)
void SetUserClaims(UserClaimsT &&value)
bool AnyAuthenticatedUserHasBeenSet() const
AccessControlRule & WithUserClaims(UserClaimsT &&value)
AccessControlRule & WithAnyAuthenticatedUser(AnyAuthenticatedUserT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue