7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/ShareStatus.h>
10#include <aws/core/utils/DateTime.h>
50 inline void SetShareId(
const char* value) { m_shareIdHasBeenSet =
true; m_shareId.assign(value); }
64 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
78 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
92 inline void SetPrincipalSubscriber(
const char* value) { m_principalSubscriberHasBeenSet =
true; m_principalSubscriber.assign(value); }
106 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
133 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
147 inline void SetShareName(
const char* value) { m_shareNameHasBeenSet =
true; m_shareName.assign(value); }
179 bool m_shareIdHasBeenSet =
false;
182 bool m_resourceArnHasBeenSet =
false;
185 bool m_resourceIdHasBeenSet =
false;
188 bool m_principalSubscriberHasBeenSet =
false;
191 bool m_ownerIdHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
197 bool m_statusMessageHasBeenSet =
false;
200 bool m_shareNameHasBeenSet =
false;
203 bool m_creationTimeHasBeenSet =
false;
206 bool m_updateTimeHasBeenSet =
false;
AWS_OMICS_API ShareDetails()
void SetResourceArn(const Aws::String &value)
ShareDetails & WithShareName(const Aws::String &value)
void SetOwnerId(const char *value)
ShareDetails & WithShareId(const Aws::String &value)
ShareDetails & WithShareId(const char *value)
ShareDetails & WithResourceArn(const char *value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusMessage() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetStatus(ShareStatus &&value)
void SetStatusMessage(Aws::String &&value)
void SetPrincipalSubscriber(Aws::String &&value)
ShareDetails & WithStatusMessage(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
const ShareStatus & GetStatus() const
void SetShareId(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const ShareStatus &value)
ShareDetails & WithPrincipalSubscriber(const char *value)
ShareDetails & WithResourceId(Aws::String &&value)
ShareDetails & WithStatusMessage(const char *value)
bool ResourceArnHasBeenSet() const
bool StatusMessageHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool PrincipalSubscriberHasBeenSet() const
void SetOwnerId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_OMICS_API ShareDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(Aws::String &&value)
void SetShareId(const Aws::String &value)
void SetResourceArn(const char *value)
ShareDetails & WithShareId(Aws::String &&value)
ShareDetails & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetShareName(Aws::String &&value)
bool UpdateTimeHasBeenSet() const
ShareDetails & WithCreationTime(const Aws::Utils::DateTime &value)
void SetResourceId(const char *value)
const Aws::String & GetShareName() const
void SetPrincipalSubscriber(const char *value)
void SetShareId(const char *value)
ShareDetails & WithResourceArn(const Aws::String &value)
ShareDetails & WithResourceArn(Aws::String &&value)
const Aws::String & GetPrincipalSubscriber() const
AWS_OMICS_API ShareDetails(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(const Aws::String &value)
void SetShareName(const char *value)
void SetPrincipalSubscriber(const Aws::String &value)
ShareDetails & WithStatus(const ShareStatus &value)
const Aws::String & GetOwnerId() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ShareDetails & WithCreationTime(Aws::Utils::DateTime &&value)
bool ShareNameHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetStatusMessage(const Aws::String &value)
bool ShareIdHasBeenSet() const
ShareDetails & WithShareName(const char *value)
const Aws::String & GetResourceArn() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetResourceId() const
ShareDetails & WithStatus(ShareStatus &&value)
void SetOwnerId(const Aws::String &value)
void SetShareName(const Aws::String &value)
ShareDetails & WithShareName(Aws::String &&value)
void SetStatusMessage(const char *value)
const Aws::String & GetShareId() const
ShareDetails & WithPrincipalSubscriber(const Aws::String &value)
ShareDetails & WithOwnerId(const char *value)
ShareDetails & WithUpdateTime(Aws::Utils::DateTime &&value)
bool OwnerIdHasBeenSet() const
bool StatusHasBeenSet() const
ShareDetails & WithOwnerId(Aws::String &&value)
ShareDetails & WithStatusMessage(Aws::String &&value)
ShareDetails & WithResourceId(const char *value)
ShareDetails & WithResourceId(const Aws::String &value)
ShareDetails & WithOwnerId(const Aws::String &value)
ShareDetails & WithPrincipalSubscriber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue