7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/WorkSpaceAssociatedResourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/workspaces/model/AssociationState.h>
12#include <aws/workspaces/model/AssociationStateReason.h>
53 inline void SetAssociatedResourceId(
const char* value) { m_associatedResourceIdHasBeenSet =
true; m_associatedResourceId.assign(value); }
127 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
135 bool m_associatedResourceIdHasBeenSet =
false;
138 bool m_associatedResourceTypeHasBeenSet =
false;
141 bool m_createdHasBeenSet =
false;
144 bool m_lastUpdatedTimeHasBeenSet =
false;
147 bool m_stateHasBeenSet =
false;
150 bool m_stateReasonHasBeenSet =
false;
153 bool m_workspaceIdHasBeenSet =
false;
void SetAssociatedResourceId(const char *value)
WorkspaceResourceAssociation & WithWorkspaceId(const char *value)
WorkspaceResourceAssociation & WithAssociatedResourceId(const Aws::String &value)
bool StateHasBeenSet() const
WorkspaceResourceAssociation & WithState(const AssociationState &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
WorkspaceResourceAssociation & WithState(AssociationState &&value)
void SetState(const AssociationState &value)
WorkspaceResourceAssociation & WithAssociatedResourceId(const char *value)
const AssociationState & GetState() const
void SetAssociatedResourceId(Aws::String &&value)
WorkspaceResourceAssociation & WithAssociatedResourceType(const WorkSpaceAssociatedResourceType &value)
const Aws::String & GetAssociatedResourceId() const
WorkspaceResourceAssociation & WithStateReason(AssociationStateReason &&value)
void SetWorkspaceId(const Aws::String &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssociatedResourceId(const Aws::String &value)
void SetWorkspaceId(const char *value)
WorkspaceResourceAssociation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const WorkSpaceAssociatedResourceType & GetAssociatedResourceType() const
bool StateReasonHasBeenSet() const
const Aws::String & GetWorkspaceId() const
AWS_WORKSPACES_API WorkspaceResourceAssociation()
void SetAssociatedResourceType(const WorkSpaceAssociatedResourceType &value)
void SetAssociatedResourceType(WorkSpaceAssociatedResourceType &&value)
bool LastUpdatedTimeHasBeenSet() const
WorkspaceResourceAssociation & WithAssociatedResourceType(WorkSpaceAssociatedResourceType &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool AssociatedResourceTypeHasBeenSet() const
WorkspaceResourceAssociation & WithCreated(const Aws::Utils::DateTime &value)
bool WorkspaceIdHasBeenSet() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetWorkspaceId(Aws::String &&value)
WorkspaceResourceAssociation & WithStateReason(const AssociationStateReason &value)
const AssociationStateReason & GetStateReason() const
void SetCreated(const Aws::Utils::DateTime &value)
bool CreatedHasBeenSet() const
void SetState(AssociationState &&value)
WorkspaceResourceAssociation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
bool AssociatedResourceIdHasBeenSet() const
WorkspaceResourceAssociation & WithWorkspaceId(const Aws::String &value)
void SetStateReason(const AssociationStateReason &value)
const Aws::Utils::DateTime & GetCreated() const
WorkspaceResourceAssociation & WithAssociatedResourceId(Aws::String &&value)
AWS_WORKSPACES_API WorkspaceResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreated(Aws::Utils::DateTime &&value)
AWS_WORKSPACES_API WorkspaceResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetStateReason(AssociationStateReason &&value)
WorkspaceResourceAssociation & WithCreated(Aws::Utils::DateTime &&value)
WorkspaceResourceAssociation & WithWorkspaceId(Aws::String &&value)
WorkSpaceAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue