7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/RAM_EXPORTS.h>
10#include <aws/ram/model/ResourceShareAssociationStatus.h>
11#include <aws/ram/model/ResourceShareAssociationType.h>
46 template <
typename ResourceShareArnT = Aws::String>
48 m_resourceShareArnHasBeenSet =
true;
49 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
51 template <
typename ResourceShareArnT = Aws::String>
64 template <
typename ResourceShareNameT = Aws::String>
66 m_resourceShareNameHasBeenSet =
true;
67 m_resourceShareName = std::forward<ResourceShareNameT>(value);
69 template <
typename ResourceShareNameT = Aws::String>
92 template <
typename AssociatedEntityT = Aws::String>
94 m_associatedEntityHasBeenSet =
true;
95 m_associatedEntity = std::forward<AssociatedEntityT>(value);
97 template <
typename AssociatedEntityT = Aws::String>
111 m_associationTypeHasBeenSet =
true;
112 m_associationType = value;
127 m_statusHasBeenSet =
true;
142 template <
typename StatusMessageT = Aws::String>
144 m_statusMessageHasBeenSet =
true;
145 m_statusMessage = std::forward<StatusMessageT>(value);
147 template <
typename StatusMessageT = Aws::String>
160 template <
typename CreationTimeT = Aws::Utils::DateTime>
162 m_creationTimeHasBeenSet =
true;
163 m_creationTime = std::forward<CreationTimeT>(value);
165 template <
typename CreationTimeT = Aws::Utils::DateTime>
178 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
180 m_lastUpdatedTimeHasBeenSet =
true;
181 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
183 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
199 m_externalHasBeenSet =
true;
224 bool m_external{
false};
225 bool m_resourceShareArnHasBeenSet =
false;
226 bool m_resourceShareNameHasBeenSet =
false;
227 bool m_associatedEntityHasBeenSet =
false;
228 bool m_associationTypeHasBeenSet =
false;
229 bool m_statusHasBeenSet =
false;
230 bool m_statusMessageHasBeenSet =
false;
231 bool m_creationTimeHasBeenSet =
false;
232 bool m_lastUpdatedTimeHasBeenSet =
false;
233 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