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 SetSharedBy(
const char* value) { m_sharedByHasBeenSet =
true; m_sharedBy.assign(value); }
72 inline void SetSharedWith(
const char* value) { m_sharedWithHasBeenSet =
true; m_sharedWith.assign(value); }
104 inline void SetWorkloadName(
const char* value) { m_workloadNameHasBeenSet =
true; m_workloadName.assign(value); }
116 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
124 bool m_shareIdHasBeenSet =
false;
127 bool m_sharedByHasBeenSet =
false;
130 bool m_sharedWithHasBeenSet =
false;
133 bool m_permissionTypeHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
139 bool m_workloadNameHasBeenSet =
false;
142 bool m_workloadIdHasBeenSet =
false;
void SetSharedBy(const char *value)
void SetShareId(Aws::String &&value)
const PermissionType & GetPermissionType() const
void SetStatus(const ShareStatus &value)
bool StatusHasBeenSet() const
WorkloadShare & WithWorkloadName(Aws::String &&value)
WorkloadShare & WithSharedBy(const Aws::String &value)
void SetWorkloadName(const Aws::String &value)
AWS_WELLARCHITECTED_API WorkloadShare()
void SetSharedBy(const Aws::String &value)
bool WorkloadNameHasBeenSet() const
void SetWorkloadId(Aws::String &&value)
WorkloadShare & WithSharedWith(const char *value)
void SetSharedWith(Aws::String &&value)
WorkloadShare & WithStatus(const ShareStatus &value)
bool PermissionTypeHasBeenSet() const
void SetWorkloadName(Aws::String &&value)
void SetSharedWith(const Aws::String &value)
WorkloadShare & WithShareId(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
bool SharedByHasBeenSet() const
const Aws::String & GetWorkloadName() const
const Aws::String & GetSharedWith() const
WorkloadShare & WithShareId(Aws::String &&value)
WorkloadShare & WithWorkloadName(const Aws::String &value)
void SetStatus(ShareStatus &&value)
void SetSharedBy(Aws::String &&value)
WorkloadShare & WithWorkloadId(const Aws::String &value)
WorkloadShare & WithPermissionType(PermissionType &&value)
WorkloadShare & WithSharedWith(const Aws::String &value)
bool WorkloadIdHasBeenSet() const
void SetShareId(const char *value)
void SetSharedWith(const char *value)
bool SharedWithHasBeenSet() const
const ShareStatus & GetStatus() const
WorkloadShare & WithSharedWith(Aws::String &&value)
bool ShareIdHasBeenSet() const
const Aws::String & GetSharedBy() const
void SetPermissionType(const PermissionType &value)
const Aws::String & GetWorkloadId() const
void SetWorkloadId(const Aws::String &value)
WorkloadShare & WithWorkloadId(const char *value)
WorkloadShare & WithWorkloadName(const char *value)
void SetPermissionType(PermissionType &&value)
WorkloadShare & WithPermissionType(const PermissionType &value)
AWS_WELLARCHITECTED_API WorkloadShare & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API WorkloadShare(Aws::Utils::Json::JsonView jsonValue)
void SetWorkloadName(const char *value)
WorkloadShare & WithSharedBy(const char *value)
const Aws::String & GetShareId() const
WorkloadShare & WithSharedBy(Aws::String &&value)
WorkloadShare & WithShareId(const char *value)
WorkloadShare & WithStatus(ShareStatus &&value)
void SetShareId(const Aws::String &value)
void SetWorkloadId(const char *value)
WorkloadShare & WithWorkloadId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue