This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ecs/include/aws/ecs/model/AttachmentStateChange.h

134 lines
3.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ecs/ECS_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ECS
{
namespace Model
{
/**
* <p>An object representing a change in state for a task attachment.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AttachmentStateChange">AWS
* API Reference</a></p>
*/
class AWS_ECS_API AttachmentStateChange
{
public:
AttachmentStateChange();
AttachmentStateChange(Aws::Utils::Json::JsonView jsonValue);
AttachmentStateChange& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline const Aws::String& GetAttachmentArn() const{ return m_attachmentArn; }
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline bool AttachmentArnHasBeenSet() const { return m_attachmentArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline void SetAttachmentArn(const Aws::String& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline void SetAttachmentArn(Aws::String&& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline void SetAttachmentArn(const char* value) { m_attachmentArnHasBeenSet = true; m_attachmentArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline AttachmentStateChange& WithAttachmentArn(const Aws::String& value) { SetAttachmentArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline AttachmentStateChange& WithAttachmentArn(Aws::String&& value) { SetAttachmentArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the attachment.</p>
*/
inline AttachmentStateChange& WithAttachmentArn(const char* value) { SetAttachmentArn(value); return *this;}
/**
* <p>The status of the attachment.</p>
*/
inline const Aws::String& GetStatus() const{ return m_status; }
/**
* <p>The status of the attachment.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the attachment.</p>
*/
inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the attachment.</p>
*/
inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the attachment.</p>
*/
inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
/**
* <p>The status of the attachment.</p>
*/
inline AttachmentStateChange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
/**
* <p>The status of the attachment.</p>
*/
inline AttachmentStateChange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The status of the attachment.</p>
*/
inline AttachmentStateChange& WithStatus(const char* value) { SetStatus(value); return *this;}
private:
Aws::String m_attachmentArn;
bool m_attachmentArnHasBeenSet;
Aws::String m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace ECS
} // namespace Aws