7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/AssociationState.h>
12#include <aws/workspaces/model/AssociationStateReason.h>
13#include <aws/workspaces/model/ImageAssociatedResourceType.h>
37 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename AssociatedResourceIdT = Aws::String>
47 m_associatedResourceIdHasBeenSet =
true;
48 m_associatedResourceId = std::forward<AssociatedResourceIdT>(value);
50 template <
typename AssociatedResourceIdT = Aws::String>
64 m_associatedResourceTypeHasBeenSet =
true;
65 m_associatedResourceType = value;
79 template <
typename CreatedT = Aws::Utils::DateTime>
81 m_createdHasBeenSet =
true;
82 m_created = std::forward<CreatedT>(value);
84 template <
typename CreatedT = Aws::Utils::DateTime>
97 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
99 m_lastUpdatedTimeHasBeenSet =
true;
100 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
102 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
115 template <
typename ImageIdT = Aws::String>
117 m_imageIdHasBeenSet =
true;
118 m_imageId = std::forward<ImageIdT>(value);
120 template <
typename ImageIdT = Aws::String>
134 m_stateHasBeenSet =
true;
149 template <
typename StateReasonT = AssociationStateReason>
151 m_stateReasonHasBeenSet =
true;
152 m_stateReason = std::forward<StateReasonT>(value);
154 template <
typename StateReasonT = AssociationStateReason>
173 AssociationStateReason m_stateReason;
174 bool m_associatedResourceIdHasBeenSet =
false;
175 bool m_associatedResourceTypeHasBeenSet =
false;
176 bool m_createdHasBeenSet =
false;
177 bool m_lastUpdatedTimeHasBeenSet =
false;
178 bool m_imageIdHasBeenSet =
false;
179 bool m_stateHasBeenSet =
false;
180 bool m_stateReasonHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreated() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool CreatedHasBeenSet() const
ImageResourceAssociation & WithCreated(CreatedT &&value)
ImageResourceAssociation & WithState(AssociationState value)
AWS_WORKSPACES_API ImageResourceAssociation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStateReason(StateReasonT &&value)
void SetAssociatedResourceId(AssociatedResourceIdT &&value)
AssociationState GetState() const
ImageAssociatedResourceType GetAssociatedResourceType() const
ImageResourceAssociation & WithAssociatedResourceId(AssociatedResourceIdT &&value)
AWS_WORKSPACES_API ImageResourceAssociation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetImageId() const
bool ImageIdHasBeenSet() const
bool AssociatedResourceIdHasBeenSet() const
void SetState(AssociationState value)
ImageResourceAssociation & WithAssociatedResourceType(ImageAssociatedResourceType value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::String & GetAssociatedResourceId() const
const AssociationStateReason & GetStateReason() const
ImageResourceAssociation & WithImageId(ImageIdT &&value)
bool StateHasBeenSet() const
ImageResourceAssociation & WithStateReason(StateReasonT &&value)
void SetAssociatedResourceType(ImageAssociatedResourceType value)
void SetCreated(CreatedT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API ImageResourceAssociation()=default
bool AssociatedResourceTypeHasBeenSet() const
ImageResourceAssociation & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetImageId(ImageIdT &&value)
bool StateReasonHasBeenSet() const
ImageAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String