7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocs_EXPORTS.h>
9#include <aws/workdocs/model/PrincipalType.h>
10#include <aws/workdocs/model/RoleType.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
62 m_typeHasBeenSet =
true;
78 m_roleHasBeenSet =
true;
92 bool m_idHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
94 bool m_roleHasBeenSet =
false;
SharePrincipal & WithRole(RoleType value)
void SetRole(RoleType value)
SharePrincipal & WithId(IdT &&value)
PrincipalType GetType() const
bool TypeHasBeenSet() const
SharePrincipal & WithType(PrincipalType value)
void SetType(PrincipalType value)
AWS_WORKDOCS_API SharePrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKDOCS_API SharePrincipal()=default
bool RoleHasBeenSet() const
AWS_WORKDOCS_API SharePrincipal(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool IdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue