/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a change in state for a task attachment.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the attachment.
*/ inline const Aws::String& GetAttachmentArn() const{ return m_attachmentArn; } /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline bool AttachmentArnHasBeenSet() const { return m_attachmentArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline void SetAttachmentArn(const Aws::String& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = value; } /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline void SetAttachmentArn(Aws::String&& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline void SetAttachmentArn(const char* value) { m_attachmentArnHasBeenSet = true; m_attachmentArn.assign(value); } /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline AttachmentStateChange& WithAttachmentArn(const Aws::String& value) { SetAttachmentArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline AttachmentStateChange& WithAttachmentArn(Aws::String&& value) { SetAttachmentArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the attachment.
*/ inline AttachmentStateChange& WithAttachmentArn(const char* value) { SetAttachmentArn(value); return *this;} /** *The status of the attachment.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the attachment.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the attachment.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the attachment.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the attachment.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the attachment.
*/ inline AttachmentStateChange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the attachment.
*/ inline AttachmentStateChange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the attachment.
*/ inline AttachmentStateChange& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_attachmentArn; bool m_attachmentArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws