AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcsCluster.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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 OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API EcsCluster();
35 AWS_OPSWORKS_API EcsCluster(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPSWORKS_API EcsCluster& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEcsClusterArn() const{ return m_ecsClusterArn; }
45 inline bool EcsClusterArnHasBeenSet() const { return m_ecsClusterArnHasBeenSet; }
46 inline void SetEcsClusterArn(const Aws::String& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = value; }
47 inline void SetEcsClusterArn(Aws::String&& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = std::move(value); }
48 inline void SetEcsClusterArn(const char* value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn.assign(value); }
49 inline EcsCluster& WithEcsClusterArn(const Aws::String& value) { SetEcsClusterArn(value); return *this;}
50 inline EcsCluster& WithEcsClusterArn(Aws::String&& value) { SetEcsClusterArn(std::move(value)); return *this;}
51 inline EcsCluster& WithEcsClusterArn(const char* value) { SetEcsClusterArn(value); return *this;}
53
55
58 inline const Aws::String& GetEcsClusterName() const{ return m_ecsClusterName; }
59 inline bool EcsClusterNameHasBeenSet() const { return m_ecsClusterNameHasBeenSet; }
60 inline void SetEcsClusterName(const Aws::String& value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName = value; }
61 inline void SetEcsClusterName(Aws::String&& value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName = std::move(value); }
62 inline void SetEcsClusterName(const char* value) { m_ecsClusterNameHasBeenSet = true; m_ecsClusterName.assign(value); }
63 inline EcsCluster& WithEcsClusterName(const Aws::String& value) { SetEcsClusterName(value); return *this;}
64 inline EcsCluster& WithEcsClusterName(Aws::String&& value) { SetEcsClusterName(std::move(value)); return *this;}
65 inline EcsCluster& WithEcsClusterName(const char* value) { SetEcsClusterName(value); return *this;}
67
69
72 inline const Aws::String& GetStackId() const{ return m_stackId; }
73 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
74 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
75 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
76 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
77 inline EcsCluster& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
78 inline EcsCluster& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 inline EcsCluster& WithStackId(const char* value) { SetStackId(value); return *this;}
81
83
86 inline const Aws::String& GetRegisteredAt() const{ return m_registeredAt; }
87 inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; }
88 inline void SetRegisteredAt(const Aws::String& value) { m_registeredAtHasBeenSet = true; m_registeredAt = value; }
89 inline void SetRegisteredAt(Aws::String&& value) { m_registeredAtHasBeenSet = true; m_registeredAt = std::move(value); }
90 inline void SetRegisteredAt(const char* value) { m_registeredAtHasBeenSet = true; m_registeredAt.assign(value); }
91 inline EcsCluster& WithRegisteredAt(const Aws::String& value) { SetRegisteredAt(value); return *this;}
92 inline EcsCluster& WithRegisteredAt(Aws::String&& value) { SetRegisteredAt(std::move(value)); return *this;}
93 inline EcsCluster& WithRegisteredAt(const char* value) { SetRegisteredAt(value); return *this;}
95 private:
96
97 Aws::String m_ecsClusterArn;
98 bool m_ecsClusterArnHasBeenSet = false;
99
100 Aws::String m_ecsClusterName;
101 bool m_ecsClusterNameHasBeenSet = false;
102
103 Aws::String m_stackId;
104 bool m_stackIdHasBeenSet = false;
105
106 Aws::String m_registeredAt;
107 bool m_registeredAtHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace OpsWorks
112} // namespace Aws
AWS_OPSWORKS_API EcsCluster(Aws::Utils::Json::JsonView jsonValue)
EcsCluster & WithStackId(const Aws::String &value)
Definition EcsCluster.h:77
void SetRegisteredAt(const Aws::String &value)
Definition EcsCluster.h:88
EcsCluster & WithEcsClusterArn(const Aws::String &value)
Definition EcsCluster.h:49
void SetEcsClusterName(Aws::String &&value)
Definition EcsCluster.h:61
const Aws::String & GetEcsClusterArn() const
Definition EcsCluster.h:44
const Aws::String & GetEcsClusterName() const
Definition EcsCluster.h:58
EcsCluster & WithEcsClusterName(const Aws::String &value)
Definition EcsCluster.h:63
EcsCluster & WithEcsClusterArn(const char *value)
Definition EcsCluster.h:51
void SetEcsClusterArn(const char *value)
Definition EcsCluster.h:48
EcsCluster & WithStackId(Aws::String &&value)
Definition EcsCluster.h:78
void SetRegisteredAt(Aws::String &&value)
Definition EcsCluster.h:89
const Aws::String & GetRegisteredAt() const
Definition EcsCluster.h:86
void SetRegisteredAt(const char *value)
Definition EcsCluster.h:90
void SetEcsClusterName(const char *value)
Definition EcsCluster.h:62
void SetEcsClusterName(const Aws::String &value)
Definition EcsCluster.h:60
void SetStackId(const char *value)
Definition EcsCluster.h:76
void SetStackId(const Aws::String &value)
Definition EcsCluster.h:74
EcsCluster & WithEcsClusterName(Aws::String &&value)
Definition EcsCluster.h:64
void SetEcsClusterArn(Aws::String &&value)
Definition EcsCluster.h:47
AWS_OPSWORKS_API EcsCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStackId(Aws::String &&value)
Definition EcsCluster.h:75
void SetEcsClusterArn(const Aws::String &value)
Definition EcsCluster.h:46
EcsCluster & WithRegisteredAt(Aws::String &&value)
Definition EcsCluster.h:92
const Aws::String & GetStackId() const
Definition EcsCluster.h:72
EcsCluster & WithEcsClusterArn(Aws::String &&value)
Definition EcsCluster.h:50
EcsCluster & WithRegisteredAt(const char *value)
Definition EcsCluster.h:93
EcsCluster & WithStackId(const char *value)
Definition EcsCluster.h:79
EcsCluster & WithRegisteredAt(const Aws::String &value)
Definition EcsCluster.h:91
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
EcsCluster & WithEcsClusterName(const char *value)
Definition EcsCluster.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue