7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/model/PermissionType.h>
15namespace WellArchitected
45 inline void SetShareId(
const char* value) { m_shareIdHasBeenSet =
true; m_shareId.assign(value); }
57 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
75 bool m_shareIdHasBeenSet =
false;
78 bool m_workloadIdHasBeenSet =
false;
81 bool m_permissionTypeHasBeenSet =
false;
bool WorkloadIdHasBeenSet() const
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
const Aws::String & GetShareId() const
void SetWorkloadId(const Aws::String &value)
void SetWorkloadId(Aws::String &&value)
UpdateWorkloadShareRequest & WithPermissionType(const PermissionType &value)
UpdateWorkloadShareRequest & WithWorkloadId(Aws::String &&value)
UpdateWorkloadShareRequest & WithShareId(const char *value)
bool ShareIdHasBeenSet() const
const Aws::String & GetWorkloadId() const
void SetShareId(const char *value)
UpdateWorkloadShareRequest & WithWorkloadId(const Aws::String &value)
UpdateWorkloadShareRequest & WithShareId(Aws::String &&value)
bool PermissionTypeHasBeenSet() const
UpdateWorkloadShareRequest & WithShareId(const Aws::String &value)
void SetShareId(const Aws::String &value)
AWS_WELLARCHITECTED_API UpdateWorkloadShareRequest()
const PermissionType & GetPermissionType() const
void SetPermissionType(const PermissionType &value)
void SetWorkloadId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPermissionType(PermissionType &&value)
UpdateWorkloadShareRequest & WithPermissionType(PermissionType &&value)
UpdateWorkloadShareRequest & WithWorkloadId(const char *value)
void SetShareId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String