7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/ImageAssociatedResourceType.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); }
103 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.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_imageIdHasBeenSet =
false;
150 bool m_stateHasBeenSet =
false;
153 bool m_stateReasonHasBeenSet =
false;
AWS_WORKSPACES_API ImageResourceAssociation()
ImageResourceAssociation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreated() const
bool CreatedHasBeenSet() const
ImageResourceAssociation & WithAssociatedResourceId(const char *value)
ImageResourceAssociation & WithAssociatedResourceType(ImageAssociatedResourceType &&value)
AWS_WORKSPACES_API ImageResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetImageId(Aws::String &&value)
void SetAssociatedResourceType(const ImageAssociatedResourceType &value)
void SetStateReason(const AssociationStateReason &value)
ImageResourceAssociation & WithState(AssociationState &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ImageResourceAssociation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetAssociatedResourceId(Aws::String &&value)
void SetCreated(Aws::Utils::DateTime &&value)
ImageResourceAssociation & WithCreated(Aws::Utils::DateTime &&value)
const Aws::String & GetImageId() const
void SetAssociatedResourceId(const char *value)
void SetStateReason(AssociationStateReason &&value)
bool ImageIdHasBeenSet() const
bool AssociatedResourceIdHasBeenSet() const
ImageResourceAssociation & WithAssociatedResourceId(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetAssociatedResourceId(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ImageResourceAssociation & WithImageId(const char *value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetState(AssociationState &&value)
ImageResourceAssociation & WithImageId(Aws::String &&value)
const Aws::String & GetAssociatedResourceId() const
const AssociationStateReason & GetStateReason() const
AWS_WORKSPACES_API ImageResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const ImageAssociatedResourceType & GetAssociatedResourceType() const
void SetAssociatedResourceType(ImageAssociatedResourceType &&value)
ImageResourceAssociation & WithStateReason(const AssociationStateReason &value)
ImageResourceAssociation & WithAssociatedResourceId(const Aws::String &value)
bool StateHasBeenSet() const
void SetImageId(const char *value)
void SetCreated(const Aws::Utils::DateTime &value)
ImageResourceAssociation & WithImageId(const Aws::String &value)
void SetState(const AssociationState &value)
void SetImageId(const Aws::String &value)
ImageResourceAssociation & WithStateReason(AssociationStateReason &&value)
const AssociationState & GetState() const
ImageResourceAssociation & WithAssociatedResourceType(const ImageAssociatedResourceType &value)
ImageResourceAssociation & WithCreated(const Aws::Utils::DateTime &value)
bool AssociatedResourceTypeHasBeenSet() const
ImageResourceAssociation & WithState(const AssociationState &value)
bool StateReasonHasBeenSet() const
ImageAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue