7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ReadAccessType.h>
10#include <aws/qbusiness/model/MembershipType.h>
49 template<
typename NameT = Aws::String>
50 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
78 bool m_nameHasBeenSet =
false;
81 bool m_accessHasBeenSet =
false;
84 bool m_membershipTypeHasBeenSet =
false;
AWS_QBUSINESS_API PrincipalGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
PrincipalGroup & WithMembershipType(MembershipType value)
bool MembershipTypeHasBeenSet() const
bool AccessHasBeenSet() const
MembershipType GetMembershipType() const
void SetMembershipType(MembershipType value)
const Aws::String & GetName() const
AWS_QBUSINESS_API PrincipalGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API PrincipalGroup()=default
void SetName(NameT &&value)
ReadAccessType GetAccess() const
bool NameHasBeenSet() const
PrincipalGroup & WithAccess(ReadAccessType value)
PrincipalGroup & WithName(NameT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccess(ReadAccessType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue