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>
52 template<
typename ResourceShareArnT = Aws::String>
53 void SetResourceShareArn(ResourceShareArnT&& value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn = std::forward<ResourceShareArnT>(value); }
54 template<
typename ResourceShareArnT = Aws::String>
64 template<
typename ResourceShareNameT = Aws::String>
65 void SetResourceShareName(ResourceShareNameT&& value) { m_resourceShareNameHasBeenSet =
true; m_resourceShareName = std::forward<ResourceShareNameT>(value); }
66 template<
typename ResourceShareNameT = Aws::String>
86 template<
typename AssociatedEntityT = Aws::String>
87 void SetAssociatedEntity(AssociatedEntityT&& value) { m_associatedEntityHasBeenSet =
true; m_associatedEntity = std::forward<AssociatedEntityT>(value); }
88 template<
typename AssociatedEntityT = Aws::String>
118 template<
typename StatusMessageT = Aws::String>
119 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
120 template<
typename StatusMessageT = Aws::String>
130 template<
typename CreationTimeT = Aws::Utils::DateTime>
131 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
132 template<
typename CreationTimeT = Aws::Utils::DateTime>
142 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
143 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
144 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
156 inline void SetExternal(
bool value) { m_externalHasBeenSet =
true; m_external = value; }
162 bool m_resourceShareArnHasBeenSet =
false;
165 bool m_resourceShareNameHasBeenSet =
false;
168 bool m_associatedEntityHasBeenSet =
false;
171 bool m_associationTypeHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
177 bool m_statusMessageHasBeenSet =
false;
180 bool m_creationTimeHasBeenSet =
false;
183 bool m_lastUpdatedTimeHasBeenSet =
false;
185 bool m_external{
false};
186 bool m_externalHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetCreationTime(CreationTimeT &&value)
AWS_RAM_API ResourceShareAssociation()=default
ResourceShareAssociation & WithAssociationType(ResourceShareAssociationType value)
void SetResourceShareName(ResourceShareNameT &&value)
ResourceShareAssociation & WithStatusMessage(StatusMessageT &&value)
AWS_RAM_API ResourceShareAssociation(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
bool ResourceShareNameHasBeenSet() const
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociationTypeHasBeenSet() const
ResourceShareAssociationType GetAssociationType() const
void SetExternal(bool value)
const Aws::String & GetAssociatedEntity() const
ResourceShareAssociation & WithExternal(bool value)
ResourceShareAssociation & WithCreationTime(CreationTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool AssociatedEntityHasBeenSet() const
void SetStatus(ResourceShareAssociationStatus value)
ResourceShareAssociation & WithResourceShareName(ResourceShareNameT &&value)
void SetResourceShareArn(ResourceShareArnT &&value)
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetResourceShareArn() const
bool ResourceShareArnHasBeenSet() const
ResourceShareAssociationStatus GetStatus() const
AWS_RAM_API ResourceShareAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusMessageHasBeenSet() const
void SetAssociationType(ResourceShareAssociationType value)
const Aws::String & GetStatusMessage() const
bool CreationTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
ResourceShareAssociation & WithResourceShareArn(ResourceShareArnT &&value)
ResourceShareAssociation & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetAssociatedEntity(AssociatedEntityT &&value)
ResourceShareAssociation & WithStatus(ResourceShareAssociationStatus value)
const Aws::String & GetResourceShareName() const
bool ExternalHasBeenSet() const
ResourceShareAssociation & WithAssociatedEntity(AssociatedEntityT &&value)
ResourceShareAssociationStatus
ResourceShareAssociationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue