AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComputeNodeGroupSummary.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pcs/model/ComputeNodeGroupStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PCS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PCS_API ComputeNodeGroupSummary() = default;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ComputeNodeGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 ComputeNodeGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetArn() const { return m_arn; }
72 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
73 template<typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
75 template<typename ArnT = Aws::String>
76 ComputeNodeGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetClusterId() const { return m_clusterId; }
84 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
85 template<typename ClusterIdT = Aws::String>
86 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
87 template<typename ClusterIdT = Aws::String>
88 ComputeNodeGroupSummary& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 ComputeNodeGroupSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
108 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
109 template<typename ModifiedAtT = Aws::Utils::DateTime>
110 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
111 template<typename ModifiedAtT = Aws::Utils::DateTime>
112 ComputeNodeGroupSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
114
116
130 inline ComputeNodeGroupStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(ComputeNodeGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
135 private:
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 Aws::String m_clusterId;
147 bool m_clusterIdHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createdAt{};
150 bool m_createdAtHasBeenSet = false;
151
152 Aws::Utils::DateTime m_modifiedAt{};
153 bool m_modifiedAtHasBeenSet = false;
154
156 bool m_statusHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace PCS
161} // 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