7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/BundleAssociatedResourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/workspaces/model/AssociationState.h>
12#include <aws/workspaces/model/AssociationStateReason.h>
51 template<
typename AssociatedResourceIdT = Aws::String>
52 void SetAssociatedResourceId(AssociatedResourceIdT&& value) { m_associatedResourceIdHasBeenSet =
true; m_associatedResourceId = std::forward<AssociatedResourceIdT>(value); }
53 template<
typename AssociatedResourceIdT = Aws::String>
73 template<
typename BundleIdT = Aws::String>
74 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
75 template<
typename BundleIdT = Aws::String>
85 template<
typename CreatedT = Aws::Utils::DateTime>
86 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
87 template<
typename CreatedT = Aws::Utils::DateTime>
97 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
98 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
99 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
119 template<
typename StateReasonT = AssociationStateReason>
120 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
121 template<
typename StateReasonT = AssociationStateReason>
127 bool m_associatedResourceIdHasBeenSet =
false;
130 bool m_associatedResourceTypeHasBeenSet =
false;
133 bool m_bundleIdHasBeenSet =
false;
136 bool m_createdHasBeenSet =
false;
139 bool m_lastUpdatedTimeHasBeenSet =
false;
142 bool m_stateHasBeenSet =
false;
144 AssociationStateReason m_stateReason;
145 bool m_stateReasonHasBeenSet =
false;
BundleResourceAssociation & WithState(AssociationState value)
BundleAssociatedResourceType GetAssociatedResourceType() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociatedResourceTypeHasBeenSet() const
bool AssociatedResourceIdHasBeenSet() const
bool CreatedHasBeenSet() const
AWS_WORKSPACES_API BundleResourceAssociation()=default
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)
const Aws::String & GetBundleId() const
BundleResourceAssociation & WithBundleId(BundleIdT &&value)
AssociationState GetState() const
AWS_WORKSPACES_API BundleResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociatedResourceId(AssociatedResourceIdT &&value)
AWS_WORKSPACES_API BundleResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreated() const
BundleResourceAssociation & WithAssociatedResourceType(BundleAssociatedResourceType value)
bool BundleIdHasBeenSet() const
void SetBundleId(BundleIdT &&value)
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
Aws::Utils::Json::JsonValue JsonValue