/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the association between an instance and an Elastic Graphics
* accelerator.See Also:
AWS
* API Reference
The ID of the Elastic Graphics accelerator.
*/ inline const Aws::String& GetElasticGpuId() const{ return m_elasticGpuId; } /** *The ID of the Elastic Graphics accelerator.
*/ inline bool ElasticGpuIdHasBeenSet() const { return m_elasticGpuIdHasBeenSet; } /** *The ID of the Elastic Graphics accelerator.
*/ inline void SetElasticGpuId(const Aws::String& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = value; } /** *The ID of the Elastic Graphics accelerator.
*/ inline void SetElasticGpuId(Aws::String&& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = std::move(value); } /** *The ID of the Elastic Graphics accelerator.
*/ inline void SetElasticGpuId(const char* value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId.assign(value); } /** *The ID of the Elastic Graphics accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuId(const Aws::String& value) { SetElasticGpuId(value); return *this;} /** *The ID of the Elastic Graphics accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuId(Aws::String&& value) { SetElasticGpuId(std::move(value)); return *this;} /** *The ID of the Elastic Graphics accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuId(const char* value) { SetElasticGpuId(value); return *this;} /** *The ID of the association.
*/ inline const Aws::String& GetElasticGpuAssociationId() const{ return m_elasticGpuAssociationId; } /** *The ID of the association.
*/ inline bool ElasticGpuAssociationIdHasBeenSet() const { return m_elasticGpuAssociationIdHasBeenSet; } /** *The ID of the association.
*/ inline void SetElasticGpuAssociationId(const Aws::String& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = value; } /** *The ID of the association.
*/ inline void SetElasticGpuAssociationId(Aws::String&& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = std::move(value); } /** *The ID of the association.
*/ inline void SetElasticGpuAssociationId(const char* value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId.assign(value); } /** *The ID of the association.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationId(const Aws::String& value) { SetElasticGpuAssociationId(value); return *this;} /** *The ID of the association.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationId(Aws::String&& value) { SetElasticGpuAssociationId(std::move(value)); return *this;} /** *The ID of the association.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationId(const char* value) { SetElasticGpuAssociationId(value); return *this;} /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline const Aws::String& GetElasticGpuAssociationState() const{ return m_elasticGpuAssociationState; } /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline bool ElasticGpuAssociationStateHasBeenSet() const { return m_elasticGpuAssociationStateHasBeenSet; } /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline void SetElasticGpuAssociationState(const Aws::String& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = value; } /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline void SetElasticGpuAssociationState(Aws::String&& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = std::move(value); } /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline void SetElasticGpuAssociationState(const char* value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState.assign(value); } /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationState(const Aws::String& value) { SetElasticGpuAssociationState(value); return *this;} /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationState(Aws::String&& value) { SetElasticGpuAssociationState(std::move(value)); return *this;} /** *The state of the association between the instance and the Elastic Graphics * accelerator.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationState(const char* value) { SetElasticGpuAssociationState(value); return *this;} /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline const Aws::String& GetElasticGpuAssociationTime() const{ return m_elasticGpuAssociationTime; } /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline bool ElasticGpuAssociationTimeHasBeenSet() const { return m_elasticGpuAssociationTimeHasBeenSet; } /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline void SetElasticGpuAssociationTime(const Aws::String& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = value; } /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline void SetElasticGpuAssociationTime(Aws::String&& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = std::move(value); } /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline void SetElasticGpuAssociationTime(const char* value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime.assign(value); } /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationTime(const Aws::String& value) { SetElasticGpuAssociationTime(value); return *this;} /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationTime(Aws::String&& value) { SetElasticGpuAssociationTime(std::move(value)); return *this;} /** *The time the Elastic Graphics accelerator was associated with the * instance.
*/ inline ElasticGpuAssociation& WithElasticGpuAssociationTime(const char* value) { SetElasticGpuAssociationTime(value); return *this;} private: Aws::String m_elasticGpuId; bool m_elasticGpuIdHasBeenSet; Aws::String m_elasticGpuAssociationId; bool m_elasticGpuAssociationIdHasBeenSet; Aws::String m_elasticGpuAssociationState; bool m_elasticGpuAssociationStateHasBeenSet; Aws::String m_elasticGpuAssociationTime; bool m_elasticGpuAssociationTimeHasBeenSet; }; } // namespace Model } // namespace EC2 } // namespace Aws