7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ResourceShareAssociationType.h>
10#include <aws/ram/model/ResourceShareAssociationStatus.h>
11#include <aws/core/utils/DateTime.h>
54 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
68 inline void SetResourceShareName(
const char* value) { m_resourceShareNameHasBeenSet =
true; m_resourceShareName.assign(value); }
92 inline void SetAssociatedEntity(
const char* value) { m_associatedEntityHasBeenSet =
true; m_associatedEntity.assign(value); }
130 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
168 inline void SetExternal(
bool value) { m_externalHasBeenSet =
true; m_external = value; }
174 bool m_resourceShareArnHasBeenSet =
false;
177 bool m_resourceShareNameHasBeenSet =
false;
180 bool m_associatedEntityHasBeenSet =
false;
183 bool m_associationTypeHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_statusMessageHasBeenSet =
false;
192 bool m_creationTimeHasBeenSet =
false;
195 bool m_lastUpdatedTimeHasBeenSet =
false;
198 bool m_externalHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetStatusMessage(const Aws::String &value)
ResourceShareAssociation & WithAssociatedEntity(const Aws::String &value)
ResourceShareAssociation & WithAssociatedEntity(const char *value)
ResourceShareAssociation & WithStatusMessage(Aws::String &&value)
void SetAssociationType(const ResourceShareAssociationType &value)
ResourceShareAssociation & WithStatusMessage(const char *value)
AWS_RAM_API ResourceShareAssociation(Aws::Utils::Json::JsonView jsonValue)
ResourceShareAssociation & WithResourceShareArn(const Aws::String &value)
ResourceShareAssociation & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_RAM_API ResourceShareAssociation()
bool StatusHasBeenSet() const
bool ResourceShareNameHasBeenSet() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociationTypeHasBeenSet() const
void SetExternal(bool value)
const Aws::String & GetAssociatedEntity() const
void SetAssociatedEntity(const char *value)
ResourceShareAssociation & WithAssociationType(ResourceShareAssociationType &&value)
ResourceShareAssociation & WithExternal(bool value)
ResourceShareAssociation & WithCreationTime(const Aws::Utils::DateTime &value)
bool LastUpdatedTimeHasBeenSet() const
void SetAssociatedEntity(Aws::String &&value)
bool AssociatedEntityHasBeenSet() const
ResourceShareAssociation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ResourceShareAssociation & WithResourceShareName(Aws::String &&value)
void SetResourceShareName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetAssociationType(ResourceShareAssociationType &&value)
void SetResourceShareName(const Aws::String &value)
const Aws::String & GetResourceShareArn() const
const ResourceShareAssociationType & GetAssociationType() const
bool ResourceShareArnHasBeenSet() const
ResourceShareAssociation & WithResourceShareName(const Aws::String &value)
void SetResourceShareArn(const char *value)
void SetStatus(ResourceShareAssociationStatus &&value)
void SetAssociatedEntity(const Aws::String &value)
void SetResourceShareArn(Aws::String &&value)
ResourceShareAssociation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ResourceShareAssociation & WithAssociatedEntity(Aws::String &&value)
ResourceShareAssociation & WithStatusMessage(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
AWS_RAM_API ResourceShareAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusMessageHasBeenSet() const
void SetResourceShareArn(const Aws::String &value)
void SetStatusMessage(const char *value)
const Aws::String & GetStatusMessage() const
bool CreationTimeHasBeenSet() const
void SetResourceShareName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
ResourceShareAssociation & WithResourceShareName(const char *value)
ResourceShareAssociation & WithStatus(ResourceShareAssociationStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const ResourceShareAssociationStatus &value)
ResourceShareAssociation & WithResourceShareArn(Aws::String &&value)
const ResourceShareAssociationStatus & GetStatus() const
ResourceShareAssociation & WithStatus(const ResourceShareAssociationStatus &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
ResourceShareAssociation & WithAssociationType(const ResourceShareAssociationType &value)
ResourceShareAssociation & WithResourceShareArn(const char *value)
const Aws::String & GetResourceShareName() const
bool ExternalHasBeenSet() const
ResourceShareAssociationStatus
ResourceShareAssociationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue