7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/ApplicationAssociatedResourceType.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 SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
67 inline void SetAssociatedResourceId(
const char* value) { m_associatedResourceIdHasBeenSet =
true; m_associatedResourceId.assign(value); }
135 bool m_applicationIdHasBeenSet =
false;
138 bool m_associatedResourceIdHasBeenSet =
false;
141 bool m_associatedResourceTypeHasBeenSet =
false;
144 bool m_createdHasBeenSet =
false;
147 bool m_lastUpdatedTimeHasBeenSet =
false;
150 bool m_stateHasBeenSet =
false;
153 bool m_stateReasonHasBeenSet =
false;
ApplicationResourceAssociation & WithApplicationId(Aws::String &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociatedResourceTypeHasBeenSet() const
void SetCreated(Aws::Utils::DateTime &&value)
ApplicationResourceAssociation & WithStateReason(const AssociationStateReason &value)
bool LastUpdatedTimeHasBeenSet() const
void SetApplicationId(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
ApplicationResourceAssociation & WithAssociatedResourceId(const char *value)
void SetStateReason(const AssociationStateReason &value)
void SetAssociatedResourceType(ApplicationAssociatedResourceType &&value)
const Aws::String & GetApplicationId() const
ApplicationResourceAssociation & WithAssociatedResourceId(Aws::String &&value)
ApplicationResourceAssociation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetAssociatedResourceId(Aws::String &&value)
bool StateReasonHasBeenSet() const
ApplicationResourceAssociation & WithState(AssociationState &&value)
ApplicationResourceAssociation & WithCreated(Aws::Utils::DateTime &&value)
const AssociationState & GetState() const
const Aws::String & GetAssociatedResourceId() const
AWS_WORKSPACES_API ApplicationResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API ApplicationResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationId(const Aws::String &value)
bool ApplicationIdHasBeenSet() const
AWS_WORKSPACES_API ApplicationResourceAssociation()
ApplicationResourceAssociation & WithAssociatedResourceId(const Aws::String &value)
bool StateHasBeenSet() const
ApplicationResourceAssociation & WithApplicationId(const Aws::String &value)
ApplicationResourceAssociation & WithCreated(const Aws::Utils::DateTime &value)
ApplicationResourceAssociation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetState(const AssociationState &value)
ApplicationResourceAssociation & WithAssociatedResourceType(const ApplicationAssociatedResourceType &value)
void SetCreated(const Aws::Utils::DateTime &value)
void SetApplicationId(const char *value)
const Aws::Utils::DateTime & GetCreated() const
ApplicationResourceAssociation & WithState(const AssociationState &value)
void SetState(AssociationState &&value)
bool AssociatedResourceIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const ApplicationAssociatedResourceType & GetAssociatedResourceType() const
ApplicationResourceAssociation & WithStateReason(AssociationStateReason &&value)
void SetAssociatedResourceId(const Aws::String &value)
ApplicationResourceAssociation & WithAssociatedResourceType(ApplicationAssociatedResourceType &&value)
void SetAssociatedResourceType(const ApplicationAssociatedResourceType &value)
ApplicationResourceAssociation & WithApplicationId(const char *value)
bool CreatedHasBeenSet() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const AssociationStateReason & GetStateReason() const
void SetAssociatedResourceId(const char *value)
void SetStateReason(AssociationStateReason &&value)
ApplicationAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue