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/ApplicationAssociatedResourceType.h>
12#include <aws/workspaces/model/AssociationState.h>
13#include <aws/workspaces/model/AssociationStateReason.h>
37 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename ApplicationIdT = Aws::String>
47 m_applicationIdHasBeenSet =
true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
50 template <
typename ApplicationIdT = Aws::String>
63 template <
typename AssociatedResourceIdT = Aws::String>
65 m_associatedResourceIdHasBeenSet =
true;
66 m_associatedResourceId = std::forward<AssociatedResourceIdT>(value);
68 template <
typename AssociatedResourceIdT = Aws::String>
82 m_associatedResourceTypeHasBeenSet =
true;
83 m_associatedResourceType = value;
97 template <
typename CreatedT = Aws::Utils::DateTime>
99 m_createdHasBeenSet =
true;
100 m_created = std::forward<CreatedT>(value);
102 template <
typename CreatedT = Aws::Utils::DateTime>
115 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
117 m_lastUpdatedTimeHasBeenSet =
true;
118 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
120 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
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_applicationIdHasBeenSet =
false;
175 bool m_associatedResourceIdHasBeenSet =
false;
176 bool m_associatedResourceTypeHasBeenSet =
false;
177 bool m_createdHasBeenSet =
false;
178 bool m_lastUpdatedTimeHasBeenSet =
false;
179 bool m_stateHasBeenSet =
false;
180 bool m_stateReasonHasBeenSet =
false;
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool AssociatedResourceTypeHasBeenSet() const
ApplicationResourceAssociation & WithStateReason(StateReasonT &&value)
void SetAssociatedResourceType(ApplicationAssociatedResourceType value)
AWS_WORKSPACES_API ApplicationResourceAssociation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool LastUpdatedTimeHasBeenSet() const
ApplicationResourceAssociation & WithCreated(CreatedT &&value)
const Aws::String & GetApplicationId() const
void SetApplicationId(ApplicationIdT &&value)
ApplicationResourceAssociation & WithAssociatedResourceType(ApplicationAssociatedResourceType value)
bool StateReasonHasBeenSet() const
const Aws::String & GetAssociatedResourceId() const
bool ApplicationIdHasBeenSet() const
AWS_WORKSPACES_API ApplicationResourceAssociation()=default
bool StateHasBeenSet() const
void SetStateReason(StateReasonT &&value)
const Aws::Utils::DateTime & GetCreated() const
ApplicationResourceAssociation & WithApplicationId(ApplicationIdT &&value)
ApplicationResourceAssociation & WithState(AssociationState value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AssociatedResourceIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetState(AssociationState value)
AssociationState GetState() const
ApplicationAssociatedResourceType GetAssociatedResourceType() const
bool CreatedHasBeenSet() const
void SetAssociatedResourceId(AssociatedResourceIdT &&value)
const AssociationStateReason & GetStateReason() const
AWS_WORKSPACES_API ApplicationResourceAssociation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCreated(CreatedT &&value)
ApplicationResourceAssociation & WithAssociatedResourceId(AssociatedResourceIdT &&value)
ApplicationResourceAssociation & WithLastUpdatedTime(LastUpdatedTimeT &&value)
ApplicationAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String