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/BundleAssociatedResourceType.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 BundleIdT = Aws::String>
81 m_bundleIdHasBeenSet =
true;
82 m_bundleId = std::forward<BundleIdT>(value);
84 template <
typename BundleIdT = Aws::String>
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_associatedResourceIdHasBeenSet =
false;
175 bool m_associatedResourceTypeHasBeenSet =
false;
176 bool m_bundleIdHasBeenSet =
false;
177 bool m_createdHasBeenSet =
false;
178 bool m_lastUpdatedTimeHasBeenSet =
false;
179 bool m_stateHasBeenSet =
false;
180 bool m_stateReasonHasBeenSet =
false;
BundleResourceAssociation & WithState(AssociationState value)
BundleAssociatedResourceType GetAssociatedResourceType() const
bool AssociatedResourceTypeHasBeenSet() const
bool AssociatedResourceIdHasBeenSet() const
bool CreatedHasBeenSet() const
AWS_WORKSPACES_API BundleResourceAssociation()=default
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetStateReason(StateReasonT &&value)
BundleResourceAssociation & WithCreated(CreatedT &&value)
const AssociationStateReason & GetStateReason() const
bool StateHasBeenSet() const
bool StateReasonHasBeenSet() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
BundleResourceAssociation & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_WORKSPACES_API BundleResourceAssociation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetBundleId() const
BundleResourceAssociation & WithBundleId(BundleIdT &&value)
AssociationState GetState() const
void SetAssociatedResourceId(AssociatedResourceIdT &&value)
const Aws::Utils::DateTime & GetCreated() const
BundleResourceAssociation & WithAssociatedResourceType(BundleAssociatedResourceType value)
bool BundleIdHasBeenSet() const
void SetBundleId(BundleIdT &&value)
AWS_WORKSPACES_API BundleResourceAssociation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetAssociatedResourceType(BundleAssociatedResourceType value)
void SetCreated(CreatedT &&value)
bool LastUpdatedTimeHasBeenSet() const
BundleResourceAssociation & WithAssociatedResourceId(AssociatedResourceIdT &&value)
void SetState(AssociationState value)
BundleResourceAssociation & WithStateReason(StateReasonT &&value)
const Aws::String & GetAssociatedResourceId() const
BundleAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String