7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ReplacePermissionAssociationsWorkStatus.h>
10#include <aws/core/utils/DateTime.h>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
70 inline void SetFromPermissionArn(
const char* value) { m_fromPermissionArnHasBeenSet =
true; m_fromPermissionArn.assign(value); }
85 inline void SetFromPermissionVersion(
const char* value) { m_fromPermissionVersionHasBeenSet =
true; m_fromPermissionVersion.assign(value); }
102 inline void SetToPermissionArn(
const char* value) { m_toPermissionArnHasBeenSet =
true; m_toPermissionArn.assign(value); }
118 inline void SetToPermissionVersion(
const char* value) { m_toPermissionVersionHasBeenSet =
true; m_toPermissionVersion.assign(value); }
148 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
181 bool m_idHasBeenSet =
false;
184 bool m_fromPermissionArnHasBeenSet =
false;
187 bool m_fromPermissionVersionHasBeenSet =
false;
190 bool m_toPermissionArnHasBeenSet =
false;
193 bool m_toPermissionVersionHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_statusMessageHasBeenSet =
false;
202 bool m_creationTimeHasBeenSet =
false;
205 bool m_lastUpdatedTimeHasBeenSet =
false;
ReplacePermissionAssociationsWork & WithFromPermissionVersion(Aws::String &&value)
ReplacePermissionAssociationsWork & WithStatus(const ReplacePermissionAssociationsWorkStatus &value)
const Aws::String & GetToPermissionArn() const
void SetId(const Aws::String &value)
const Aws::String & GetFromPermissionVersion() const
ReplacePermissionAssociationsWork & WithFromPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithStatus(ReplacePermissionAssociationsWorkStatus &&value)
const Aws::String & GetStatusMessage() const
AWS_RAM_API ReplacePermissionAssociationsWork & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RAM_API ReplacePermissionAssociationsWork()
const ReplacePermissionAssociationsWorkStatus & GetStatus() const
ReplacePermissionAssociationsWork & WithStatusMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetToPermissionArn(const Aws::String &value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ReplacePermissionAssociationsWork & WithId(Aws::String &&value)
const Aws::String & GetFromPermissionArn() const
bool StatusMessageHasBeenSet() const
void SetFromPermissionVersion(Aws::String &&value)
ReplacePermissionAssociationsWork & WithFromPermissionVersion(const char *value)
ReplacePermissionAssociationsWork & WithId(const Aws::String &value)
void SetFromPermissionArn(Aws::String &&value)
bool ToPermissionArnHasBeenSet() const
void SetFromPermissionArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ReplacePermissionAssociationsWork & WithToPermissionVersion(Aws::String &&value)
bool StatusHasBeenSet() const
void SetToPermissionArn(const char *value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetToPermissionVersion(Aws::String &&value)
ReplacePermissionAssociationsWork & WithToPermissionArn(const Aws::String &value)
void SetId(const char *value)
const Aws::String & GetToPermissionVersion() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetToPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const ReplacePermissionAssociationsWorkStatus &value)
void SetStatusMessage(const Aws::String &value)
void SetStatus(ReplacePermissionAssociationsWorkStatus &&value)
void SetFromPermissionVersion(const char *value)
bool FromPermissionArnHasBeenSet() const
void SetStatusMessage(Aws::String &&value)
ReplacePermissionAssociationsWork & WithStatusMessage(const char *value)
ReplacePermissionAssociationsWork & WithStatusMessage(Aws::String &&value)
bool IdHasBeenSet() const
void SetToPermissionVersion(const char *value)
ReplacePermissionAssociationsWork & WithToPermissionVersion(const char *value)
void SetId(Aws::String &&value)
AWS_RAM_API ReplacePermissionAssociationsWork(Aws::Utils::Json::JsonView jsonValue)
void SetToPermissionArn(Aws::String &&value)
void SetFromPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithToPermissionArn(Aws::String &&value)
const Aws::String & GetId() const
ReplacePermissionAssociationsWork & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ReplacePermissionAssociationsWork & WithFromPermissionArn(Aws::String &&value)
ReplacePermissionAssociationsWork & WithCreationTime(Aws::Utils::DateTime &&value)
bool FromPermissionVersionHasBeenSet() const
ReplacePermissionAssociationsWork & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
bool CreationTimeHasBeenSet() const
ReplacePermissionAssociationsWork & WithToPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithToPermissionArn(const char *value)
bool ToPermissionVersionHasBeenSet() const
void SetFromPermissionArn(const Aws::String &value)
ReplacePermissionAssociationsWork & WithId(const char *value)
ReplacePermissionAssociationsWork & WithFromPermissionArn(const char *value)
void SetStatusMessage(const char *value)
bool LastUpdatedTimeHasBeenSet() const
ReplacePermissionAssociationsWork & WithFromPermissionArn(const Aws::String &value)
ReplacePermissionAssociationsWorkStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue