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>
12#include <aws/core/utils/UUID.h>
16namespace WellArchitected
46 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
58 inline void SetSharedWith(
const char* value) { m_sharedWithHasBeenSet =
true; m_sharedWith.assign(value); }
80 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
88 bool m_workloadIdHasBeenSet =
false;
91 bool m_sharedWithHasBeenSet =
false;
94 bool m_permissionTypeHasBeenSet =
false;
97 bool m_clientRequestTokenHasBeenSet =
false;
AWS_WELLARCHITECTED_API CreateWorkloadShareRequest()
CreateWorkloadShareRequest & WithSharedWith(const Aws::String &value)
void SetPermissionType(const PermissionType &value)
const Aws::String & GetSharedWith() const
void SetSharedWith(const char *value)
void SetWorkloadId(const Aws::String &value)
void SetPermissionType(PermissionType &&value)
CreateWorkloadShareRequest & WithPermissionType(const PermissionType &value)
bool WorkloadIdHasBeenSet() const
CreateWorkloadShareRequest & WithSharedWith(const char *value)
const PermissionType & GetPermissionType() const
void SetClientRequestToken(const char *value)
CreateWorkloadShareRequest & WithClientRequestToken(const char *value)
CreateWorkloadShareRequest & WithPermissionType(PermissionType &&value)
bool ClientRequestTokenHasBeenSet() const
CreateWorkloadShareRequest & WithClientRequestToken(Aws::String &&value)
void SetSharedWith(Aws::String &&value)
CreateWorkloadShareRequest & WithSharedWith(Aws::String &&value)
void SetWorkloadId(const char *value)
const Aws::String & GetWorkloadId() const
void SetWorkloadId(Aws::String &&value)
CreateWorkloadShareRequest & WithWorkloadId(const char *value)
CreateWorkloadShareRequest & WithClientRequestToken(const Aws::String &value)
bool SharedWithHasBeenSet() const
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
const Aws::String & GetClientRequestToken() const
bool PermissionTypeHasBeenSet() const
CreateWorkloadShareRequest & WithWorkloadId(const Aws::String &value)
void SetSharedWith(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateWorkloadShareRequest & WithWorkloadId(Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String