AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ComputeNodeGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pcs/PCS_EXPORTS.h>
10#include <aws/pcs/model/ComputeNodeGroupStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PCS {
22namespace Model {
23
31 public:
32 AWS_PCS_API ComputeNodeGroupSummary() = default;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 template <typename ArnT = Aws::String>
80 void SetArn(ArnT&& value) {
81 m_arnHasBeenSet = true;
82 m_arn = std::forward<ArnT>(value);
83 }
84 template <typename ArnT = Aws::String>
86 SetArn(std::forward<ArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetClusterId() const { return m_clusterId; }
96 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
97 template <typename ClusterIdT = Aws::String>
98 void SetClusterId(ClusterIdT&& value) {
99 m_clusterIdHasBeenSet = true;
100 m_clusterId = std::forward<ClusterIdT>(value);
101 }
102 template <typename ClusterIdT = Aws::String>
104 SetClusterId(std::forward<ClusterIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
114 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) {
117 m_createdAtHasBeenSet = true;
118 m_createdAt = std::forward<CreatedAtT>(value);
119 }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
122 SetCreatedAt(std::forward<CreatedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
132 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
133 template <typename ModifiedAtT = Aws::Utils::DateTime>
134 void SetModifiedAt(ModifiedAtT&& value) {
135 m_modifiedAtHasBeenSet = true;
136 m_modifiedAt = std::forward<ModifiedAtT>(value);
137 }
138 template <typename ModifiedAtT = Aws::Utils::DateTime>
140 SetModifiedAt(std::forward<ModifiedAtT>(value));
141 return *this;
142 }
144
146
160 inline ComputeNodeGroupStatus GetStatus() const { return m_status; }
161 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
163 m_statusHasBeenSet = true;
164 m_status = value;
165 }
167 SetStatus(value);
168 return *this;
169 }
171 private:
172 Aws::String m_name;
173
174 Aws::String m_id;
175
176 Aws::String m_arn;
177
178 Aws::String m_clusterId;
179
180 Aws::Utils::DateTime m_createdAt{};
181
182 Aws::Utils::DateTime m_modifiedAt{};
183
185 bool m_nameHasBeenSet = false;
186 bool m_idHasBeenSet = false;
187 bool m_arnHasBeenSet = false;
188 bool m_clusterIdHasBeenSet = false;
189 bool m_createdAtHasBeenSet = false;
190 bool m_modifiedAtHasBeenSet = false;
191 bool m_statusHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace PCS
196} // namespace Aws
AWS_PCS_API ComputeNodeGroupSummary()=default
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ComputeNodeGroupStatus value)
ComputeNodeGroupSummary & WithClusterId(ClusterIdT &&value)
AWS_PCS_API ComputeNodeGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputeNodeGroupSummary & WithArn(ArnT &&value)
ComputeNodeGroupSummary & WithStatus(ComputeNodeGroupStatus value)
const Aws::Utils::DateTime & GetModifiedAt() const
ComputeNodeGroupSummary & WithModifiedAt(ModifiedAtT &&value)
ComputeNodeGroupSummary & WithId(IdT &&value)
AWS_PCS_API ComputeNodeGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ComputeNodeGroupSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
ComputeNodeGroupSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue