/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a container instance or task attachment.See
* Also:
AWS API
* Reference
The unique identifier for the attachment.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the attachment.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the attachment.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the attachment.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the attachment.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the attachment.
*/ inline Attachment& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the attachment.
*/ inline Attachment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the attachment.
*/ inline Attachment& WithId(const char* value) { SetId(value); return *this;} /** *The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The type of the attachment, such as ElasticNetworkInterface.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
The status of the attachment. Valid values are PRECREATED,
* CREATED, ATTACHING, ATTACHED,
* DETACHING, DETACHED, DELETED, and
* FAILED.
Details of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline const Aws::VectorDetails of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *Details of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline void SetDetails(const Aws::VectorDetails of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline void SetDetails(Aws::VectorDetails of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline Attachment& WithDetails(const Aws::VectorDetails of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline Attachment& WithDetails(Aws::VectorDetails of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline Attachment& AddDetails(const KeyValuePair& value) { m_detailsHasBeenSet = true; m_details.push_back(value); return *this; } /** *Details of the attachment. For elastic network interfaces, this includes the * network interface ID, the MAC address, the subnet ID, and the private IPv4 * address.
*/ inline Attachment& AddDetails(KeyValuePair&& value) { m_detailsHasBeenSet = true; m_details.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Vector