7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/MemberType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workmail/model/PermissionType.h>
51 template<
typename GranteeIdT = Aws::String>
52 void SetGranteeId(GranteeIdT&& value) { m_granteeIdHasBeenSet =
true; m_granteeId = std::forward<GranteeIdT>(value); }
53 template<
typename GranteeIdT = Aws::String>
78 template<
typename PermissionValuesT = Aws::Vector<PermissionType>>
79 void SetPermissionValues(PermissionValuesT&& value) { m_permissionValuesHasBeenSet =
true; m_permissionValues = std::forward<PermissionValuesT>(value); }
80 template<
typename PermissionValuesT = Aws::Vector<PermissionType>>
87 bool m_granteeIdHasBeenSet =
false;
90 bool m_granteeTypeHasBeenSet =
false;
93 bool m_permissionValuesHasBeenSet =
false;
const Aws::Vector< PermissionType > & GetPermissionValues() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGranteeId() const
AWS_WORKMAIL_API Permission(Aws::Utils::Json::JsonView jsonValue)
Permission & AddPermissionValues(PermissionType value)
void SetPermissionValues(PermissionValuesT &&value)
bool GranteeTypeHasBeenSet() const
bool GranteeIdHasBeenSet() const
MemberType GetGranteeType() const
void SetGranteeType(MemberType value)
Permission & WithPermissionValues(PermissionValuesT &&value)
void SetGranteeId(GranteeIdT &&value)
Permission & WithGranteeType(MemberType value)
AWS_WORKMAIL_API Permission()=default
AWS_WORKMAIL_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PermissionValuesHasBeenSet() const
Permission & WithGranteeId(GranteeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue