7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workdocs/model/RoleType.h>
10#include <aws/workdocs/model/ShareStatusType.h>
50 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
64 inline void SetInviteePrincipalId(
const char* value) { m_inviteePrincipalIdHasBeenSet =
true; m_inviteePrincipalId.assign(value); }
76 inline void SetRole(
const RoleType& value) { m_roleHasBeenSet =
true; m_role = value; }
77 inline void SetRole(
RoleType&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
102 inline void SetShareId(
const char* value) { m_shareIdHasBeenSet =
true; m_shareId.assign(value); }
116 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
124 bool m_principalIdHasBeenSet =
false;
127 bool m_inviteePrincipalIdHasBeenSet =
false;
130 bool m_roleHasBeenSet =
false;
133 bool m_statusHasBeenSet =
false;
136 bool m_shareIdHasBeenSet =
false;
139 bool m_statusMessageHasBeenSet =
false;
const Aws::String & GetPrincipalId() const
ShareResult & WithRole(const RoleType &value)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PrincipalIdHasBeenSet() const
ShareResult & WithStatusMessage(Aws::String &&value)
void SetInviteePrincipalId(const char *value)
ShareResult & WithInviteePrincipalId(const Aws::String &value)
const ShareStatusType & GetStatus() const
AWS_WORKDOCS_API ShareResult()
ShareResult & WithInviteePrincipalId(Aws::String &&value)
ShareResult & WithRole(RoleType &&value)
void SetStatusMessage(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
const Aws::String & GetStatusMessage() const
bool RoleHasBeenSet() const
void SetStatusMessage(const Aws::String &value)
const Aws::String & GetInviteePrincipalId() const
AWS_WORKDOCS_API ShareResult(Aws::Utils::Json::JsonView jsonValue)
bool InviteePrincipalIdHasBeenSet() const
ShareResult & WithInviteePrincipalId(const char *value)
ShareResult & WithStatusMessage(const char *value)
ShareResult & WithPrincipalId(const Aws::String &value)
const Aws::String & GetShareId() const
void SetStatus(const ShareStatusType &value)
void SetRole(const RoleType &value)
void SetRole(RoleType &&value)
ShareResult & WithStatus(ShareStatusType &&value)
void SetPrincipalId(Aws::String &&value)
void SetStatusMessage(const char *value)
void SetInviteePrincipalId(Aws::String &&value)
ShareResult & WithShareId(Aws::String &&value)
void SetShareId(const char *value)
void SetStatus(ShareStatusType &&value)
AWS_WORKDOCS_API ShareResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipalId(const char *value)
ShareResult & WithShareId(const Aws::String &value)
ShareResult & WithShareId(const char *value)
ShareResult & WithPrincipalId(const char *value)
void SetInviteePrincipalId(const Aws::String &value)
void SetShareId(const Aws::String &value)
bool StatusMessageHasBeenSet() const
bool StatusHasBeenSet() const
bool ShareIdHasBeenSet() const
ShareResult & WithPrincipalId(Aws::String &&value)
void SetShareId(Aws::String &&value)
ShareResult & WithStatus(const ShareStatusType &value)
const RoleType & GetRole() const
ShareResult & WithStatusMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue