AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AttachmentStateChange.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
33 {
34 public:
39
40
44 inline const Aws::String& GetAttachmentArn() const{ return m_attachmentArn; }
45
49 inline bool AttachmentArnHasBeenSet() const { return m_attachmentArnHasBeenSet; }
50
54 inline void SetAttachmentArn(const Aws::String& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = value; }
55
59 inline void SetAttachmentArn(Aws::String&& value) { m_attachmentArnHasBeenSet = true; m_attachmentArn = std::move(value); }
60
64 inline void SetAttachmentArn(const char* value) { m_attachmentArnHasBeenSet = true; m_attachmentArn.assign(value); }
65
69 inline AttachmentStateChange& WithAttachmentArn(const Aws::String& value) { SetAttachmentArn(value); return *this;}
70
74 inline AttachmentStateChange& WithAttachmentArn(Aws::String&& value) { SetAttachmentArn(std::move(value)); return *this;}
75
79 inline AttachmentStateChange& WithAttachmentArn(const char* value) { SetAttachmentArn(value); return *this;}
80
81
85 inline const Aws::String& GetStatus() const{ return m_status; }
86
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91
95 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
96
100 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101
105 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
106
110 inline AttachmentStateChange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
111
115 inline AttachmentStateChange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
116
120 inline AttachmentStateChange& WithStatus(const char* value) { SetStatus(value); return *this;}
121
122 private:
123
124 Aws::String m_attachmentArn;
125 bool m_attachmentArnHasBeenSet = false;
126
127 Aws::String m_status;
128 bool m_statusHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ECS
133} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AttachmentStateChange & WithStatus(const Aws::String &value)
AttachmentStateChange & WithStatus(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttachmentArn(const Aws::String &value)
const Aws::String & GetAttachmentArn() const
AttachmentStateChange & WithAttachmentArn(const Aws::String &value)
AWS_ECS_API AttachmentStateChange(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API AttachmentStateChange & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Aws::String &value)
AttachmentStateChange & WithAttachmentArn(const char *value)
AttachmentStateChange & WithStatus(const char *value)
AttachmentStateChange & WithAttachmentArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String