7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/PermissionType.h>
10#include <aws/wellarchitected/model/ShareStatus.h>
23namespace WellArchitected
48 inline void SetShareId(
const char* value) { m_shareIdHasBeenSet =
true; m_shareId.assign(value); }
60 inline void SetSharedWith(
const char* value) { m_sharedWithHasBeenSet =
true; m_sharedWith.assign(value); }
94 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
102 bool m_shareIdHasBeenSet =
false;
105 bool m_sharedWithHasBeenSet =
false;
108 bool m_permissionTypeHasBeenSet =
false;
111 bool m_statusHasBeenSet =
false;
114 bool m_statusMessageHasBeenSet =
false;
const ShareStatus & GetStatus() const
WorkloadShareSummary & WithStatusMessage(Aws::String &&value)
const Aws::String & GetStatusMessage() const
WorkloadShareSummary & WithPermissionType(PermissionType &&value)
void SetStatus(const ShareStatus &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
WorkloadShareSummary & WithSharedWith(const char *value)
void SetStatus(ShareStatus &&value)
bool ShareIdHasBeenSet() const
void SetSharedWith(const char *value)
bool PermissionTypeHasBeenSet() const
void SetSharedWith(Aws::String &&value)
WorkloadShareSummary & WithSharedWith(const Aws::String &value)
WorkloadShareSummary & WithStatusMessage(const char *value)
void SetPermissionType(PermissionType &&value)
WorkloadShareSummary & WithStatus(const ShareStatus &value)
WorkloadShareSummary & WithShareId(const Aws::String &value)
WorkloadShareSummary & WithPermissionType(const PermissionType &value)
AWS_WELLARCHITECTED_API WorkloadShareSummary()
WorkloadShareSummary & WithSharedWith(Aws::String &&value)
WorkloadShareSummary & WithStatusMessage(const Aws::String &value)
bool SharedWithHasBeenSet() const
void SetStatusMessage(Aws::String &&value)
const Aws::String & GetShareId() const
void SetPermissionType(const PermissionType &value)
const PermissionType & GetPermissionType() const
WorkloadShareSummary & WithStatus(ShareStatus &&value)
WorkloadShareSummary & WithShareId(Aws::String &&value)
void SetShareId(const char *value)
AWS_WELLARCHITECTED_API WorkloadShareSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetShareId(Aws::String &&value)
void SetShareId(const Aws::String &value)
WorkloadShareSummary & WithShareId(const char *value)
void SetStatusMessage(const char *value)
AWS_WELLARCHITECTED_API WorkloadShareSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSharedWith(const Aws::String &value)
const Aws::String & GetSharedWith() const
void SetStatusMessage(const Aws::String &value)
bool StatusMessageHasBeenSet() const
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue