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>
53 inline void SetAssociatedResourceId(
const char* value) { m_associatedResourceIdHasBeenSet =
true; m_associatedResourceId.assign(value); }
79 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
135 bool m_associatedResourceIdHasBeenSet =
false;
138 bool m_associatedResourceTypeHasBeenSet =
false;
141 bool m_bundleIdHasBeenSet =
false;
144 bool m_createdHasBeenSet =
false;
147 bool m_lastUpdatedTimeHasBeenSet =
false;
150 bool m_stateHasBeenSet =
false;
153 bool m_stateReasonHasBeenSet =
false;
void SetBundleId(const char *value)
void SetState(AssociationState &&value)
BundleResourceAssociation & WithBundleId(const Aws::String &value)
BundleResourceAssociation & WithAssociatedResourceType(const BundleAssociatedResourceType &value)
BundleResourceAssociation & WithBundleId(const char *value)
void SetStateReason(AssociationStateReason &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociatedResourceTypeHasBeenSet() const
BundleResourceAssociation & WithAssociatedResourceId(const char *value)
bool AssociatedResourceIdHasBeenSet() const
void SetAssociatedResourceType(BundleAssociatedResourceType &&value)
BundleResourceAssociation & WithAssociatedResourceId(Aws::String &&value)
bool CreatedHasBeenSet() const
BundleResourceAssociation & WithStateReason(AssociationStateReason &&value)
BundleResourceAssociation & WithAssociatedResourceType(BundleAssociatedResourceType &&value)
BundleResourceAssociation & WithState(const AssociationState &value)
void SetCreated(const Aws::Utils::DateTime &value)
BundleResourceAssociation & WithBundleId(Aws::String &&value)
BundleResourceAssociation & WithState(AssociationState &&value)
const AssociationStateReason & GetStateReason() const
bool StateHasBeenSet() const
bool StateReasonHasBeenSet() const
void SetState(const AssociationState &value)
BundleResourceAssociation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetAssociatedResourceId(const char *value)
const Aws::String & GetBundleId() const
const BundleAssociatedResourceType & GetAssociatedResourceType() const
void SetStateReason(const AssociationStateReason &value)
AWS_WORKSPACES_API BundleResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_WORKSPACES_API BundleResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreated() const
bool BundleIdHasBeenSet() const
const AssociationState & GetState() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
BundleResourceAssociation & WithAssociatedResourceId(const Aws::String &value)
BundleResourceAssociation & WithCreated(const Aws::Utils::DateTime &value)
bool LastUpdatedTimeHasBeenSet() const
void SetAssociatedResourceId(const Aws::String &value)
void SetBundleId(const Aws::String &value)
void SetAssociatedResourceId(Aws::String &&value)
BundleResourceAssociation & WithStateReason(const AssociationStateReason &value)
void SetAssociatedResourceType(const BundleAssociatedResourceType &value)
BundleResourceAssociation & WithCreated(Aws::Utils::DateTime &&value)
AWS_WORKSPACES_API BundleResourceAssociation()
BundleResourceAssociation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetBundleId(Aws::String &&value)
void SetCreated(Aws::Utils::DateTime &&value)
const Aws::String & GetAssociatedResourceId() const
BundleAssociatedResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue