AWS SDK for C++  1.9.109
AWS SDK for C++
EcsCluster.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetEcsClusterArn() const{ return m_ecsClusterArn; }
44 
48  inline bool EcsClusterArnHasBeenSet() const { return m_ecsClusterArnHasBeenSet; }
49 
53  inline void SetEcsClusterArn(const Aws::String& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = value; }
54 
58  inline void SetEcsClusterArn(Aws::String&& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = std::move(value); }
59 
63  inline void SetEcsClusterArn(const char* value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn.assign(value); }
64 
68  inline EcsCluster& WithEcsClusterArn(const Aws::String& value) { SetEcsClusterArn(value); return *this;}
69 
73  inline EcsCluster& WithEcsClusterArn(Aws::String&& value) { SetEcsClusterArn(std::move(value)); return *this;}
74 
78  inline EcsCluster& WithEcsClusterArn(const char* value) { SetEcsClusterArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetEcsClusterName() const{ return m_ecsClusterName; }
85 
89  inline bool EcsClusterNameHasBeenSet() const { return m_ecsClusterNameHasBeenSet; }
90 
94  inline void SetEcsClusterName(const Aws::String& value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName = value; }
95 
99  inline void SetEcsClusterName(Aws::String&& value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName = std::move(value); }
100 
104  inline void SetEcsClusterName(const char* value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName.assign(value); }
105 
109  inline EcsCluster& WithEcsClusterName(const Aws::String& value) { SetEcsClusterName(value); return *this;}
110 
114  inline EcsCluster& WithEcsClusterName(Aws::String&& value) { SetEcsClusterName(std::move(value)); return *this;}
115 
119  inline EcsCluster& WithEcsClusterName(const char* value) { SetEcsClusterName(value); return *this;}
120 
121 
125  inline const Aws::String& GetStackId() const{ return m_stackId; }
126 
130  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
131 
135  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
136 
140  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
141 
145  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
146 
150  inline EcsCluster& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
151 
155  inline EcsCluster& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
156 
160  inline EcsCluster& WithStackId(const char* value) { SetStackId(value); return *this;}
161 
162 
166  inline const Aws::String& GetRegisteredAt() const{ return m_registeredAt; }
167 
171  inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; }
172 
176  inline void SetRegisteredAt(const Aws::String& value) { m_registeredAtHasBeenSet = true; m_registeredAt = value; }
177 
181  inline void SetRegisteredAt(Aws::String&& value) { m_registeredAtHasBeenSet = true; m_registeredAt = std::move(value); }
182 
186  inline void SetRegisteredAt(const char* value) { m_registeredAtHasBeenSet = true; m_registeredAt.assign(value); }
187 
191  inline EcsCluster& WithRegisteredAt(const Aws::String& value) { SetRegisteredAt(value); return *this;}
192 
196  inline EcsCluster& WithRegisteredAt(Aws::String&& value) { SetRegisteredAt(std::move(value)); return *this;}
197 
201  inline EcsCluster& WithRegisteredAt(const char* value) { SetRegisteredAt(value); return *this;}
202 
203  private:
204 
205  Aws::String m_ecsClusterArn;
206  bool m_ecsClusterArnHasBeenSet;
207 
208  Aws::String m_ecsClusterName;
209  bool m_ecsClusterNameHasBeenSet;
210 
211  Aws::String m_stackId;
212  bool m_stackIdHasBeenSet;
213 
214  Aws::String m_registeredAt;
215  bool m_registeredAtHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace OpsWorks
220 } // namespace Aws
Aws::OpsWorks::Model::EcsCluster::EcsCluster
EcsCluster(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterArn
EcsCluster & WithEcsClusterArn(Aws::String &&value)
Definition: EcsCluster.h:73
Aws::OpsWorks::Model::EcsCluster::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: EcsCluster.h:130
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::EcsCluster::SetStackId
void SetStackId(Aws::String &&value)
Definition: EcsCluster.h:140
Aws::OpsWorks::Model::EcsCluster::WithRegisteredAt
EcsCluster & WithRegisteredAt(Aws::String &&value)
Definition: EcsCluster.h:196
Aws::OpsWorks::Model::EcsCluster::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterName
void SetEcsClusterName(Aws::String &&value)
Definition: EcsCluster.h:99
Aws::OpsWorks::Model::EcsCluster::EcsCluster
EcsCluster()
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterName
void SetEcsClusterName(const Aws::String &value)
Definition: EcsCluster.h:94
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterArn
void SetEcsClusterArn(const char *value)
Definition: EcsCluster.h:63
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::EcsCluster::WithStackId
EcsCluster & WithStackId(const char *value)
Definition: EcsCluster.h:160
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterArn
EcsCluster & WithEcsClusterArn(const Aws::String &value)
Definition: EcsCluster.h:68
Aws::OpsWorks::Model::EcsCluster::operator=
EcsCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::EcsCluster::WithRegisteredAt
EcsCluster & WithRegisteredAt(const Aws::String &value)
Definition: EcsCluster.h:191
Aws::OpsWorks::Model::EcsCluster::WithRegisteredAt
EcsCluster & WithRegisteredAt(const char *value)
Definition: EcsCluster.h:201
Aws::OpsWorks::Model::EcsCluster::GetEcsClusterName
const Aws::String & GetEcsClusterName() const
Definition: EcsCluster.h:84
Aws::OpsWorks::Model::EcsCluster::RegisteredAtHasBeenSet
bool RegisteredAtHasBeenSet() const
Definition: EcsCluster.h:171
Aws::OpsWorks::Model::EcsCluster::GetRegisteredAt
const Aws::String & GetRegisteredAt() const
Definition: EcsCluster.h:166
Aws::OpsWorks::Model::EcsCluster::SetRegisteredAt
void SetRegisteredAt(const char *value)
Definition: EcsCluster.h:186
Aws::OpsWorks::Model::EcsCluster::EcsClusterArnHasBeenSet
bool EcsClusterArnHasBeenSet() const
Definition: EcsCluster.h:48
Aws::OpsWorks::Model::EcsCluster::GetEcsClusterArn
const Aws::String & GetEcsClusterArn() const
Definition: EcsCluster.h:43
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterArn
void SetEcsClusterArn(const Aws::String &value)
Definition: EcsCluster.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterName
EcsCluster & WithEcsClusterName(const Aws::String &value)
Definition: EcsCluster.h:109
Aws::OpsWorks::Model::EcsCluster::SetStackId
void SetStackId(const char *value)
Definition: EcsCluster.h:145
Aws::OpsWorks::Model::EcsCluster::SetRegisteredAt
void SetRegisteredAt(Aws::String &&value)
Definition: EcsCluster.h:181
Aws::OpsWorks::Model::EcsCluster::EcsClusterNameHasBeenSet
bool EcsClusterNameHasBeenSet() const
Definition: EcsCluster.h:89
Aws::OpsWorks::Model::EcsCluster::WithStackId
EcsCluster & WithStackId(Aws::String &&value)
Definition: EcsCluster.h:155
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterName
EcsCluster & WithEcsClusterName(Aws::String &&value)
Definition: EcsCluster.h:114
Aws::OpsWorks::Model::EcsCluster::SetRegisteredAt
void SetRegisteredAt(const Aws::String &value)
Definition: EcsCluster.h:176
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::EcsCluster::GetStackId
const Aws::String & GetStackId() const
Definition: EcsCluster.h:125
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterName
EcsCluster & WithEcsClusterName(const char *value)
Definition: EcsCluster.h:119
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterArn
void SetEcsClusterArn(Aws::String &&value)
Definition: EcsCluster.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::EcsCluster::WithEcsClusterArn
EcsCluster & WithEcsClusterArn(const char *value)
Definition: EcsCluster.h:78
Aws::OpsWorks::Model::EcsCluster
Definition: EcsCluster.h:32
Aws::OpsWorks::Model::EcsCluster::SetStackId
void SetStackId(const Aws::String &value)
Definition: EcsCluster.h:135
Aws::OpsWorks::Model::EcsCluster::WithStackId
EcsCluster & WithStackId(const Aws::String &value)
Definition: EcsCluster.h:150
Aws::OpsWorks::Model::EcsCluster::SetEcsClusterName
void SetEcsClusterName(const char *value)
Definition: EcsCluster.h:104