AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline ComputeNodeGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ComputeNodeGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ComputeNodeGroupSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline ComputeNodeGroupSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline ComputeNodeGroupSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline ComputeNodeGroupSummary& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const Aws::String& GetArn() const{ return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
78 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
79 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
80 inline ComputeNodeGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 inline ComputeNodeGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 inline ComputeNodeGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
84
86
89 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
90 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
91 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
92 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
93 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
94 inline ComputeNodeGroupSummary& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
95 inline ComputeNodeGroupSummary& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
96 inline ComputeNodeGroupSummary& WithClusterId(const char* value) { SetClusterId(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
104 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
105 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
106 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
107 inline ComputeNodeGroupSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
108 inline ComputeNodeGroupSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
116 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
117 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
118 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
119 inline ComputeNodeGroupSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
120 inline ComputeNodeGroupSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
122
124
129 inline const ComputeNodeGroupStatus& GetStatus() const{ return m_status; }
130 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 inline void SetStatus(const ComputeNodeGroupStatus& value) { m_statusHasBeenSet = true; m_status = value; }
132 inline void SetStatus(ComputeNodeGroupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
133 inline ComputeNodeGroupSummary& WithStatus(const ComputeNodeGroupStatus& value) { SetStatus(value); return *this;}
134 inline ComputeNodeGroupSummary& WithStatus(ComputeNodeGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::String m_id;
142 bool m_idHasBeenSet = false;
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 Aws::String m_clusterId;
148 bool m_clusterIdHasBeenSet = false;
149
150 Aws::Utils::DateTime m_createdAt;
151 bool m_createdAtHasBeenSet = false;
152
153 Aws::Utils::DateTime m_modifiedAt;
154 bool m_modifiedAtHasBeenSet = false;
155
156 ComputeNodeGroupStatus m_status;
157 bool m_statusHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace PCS
162} // namespace Aws
ComputeNodeGroupSummary & WithArn(const char *value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const ComputeNodeGroupStatus &value)
ComputeNodeGroupSummary & WithId(Aws::String &&value)
const ComputeNodeGroupStatus & GetStatus() const
ComputeNodeGroupSummary & WithStatus(const ComputeNodeGroupStatus &value)
void SetStatus(ComputeNodeGroupStatus &&value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroupSummary & WithArn(const Aws::String &value)
ComputeNodeGroupSummary & WithName(const Aws::String &value)
ComputeNodeGroupSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroupSummary & WithClusterId(Aws::String &&value)
ComputeNodeGroupSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
AWS_PCS_API ComputeNodeGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ComputeNodeGroupSummary & WithStatus(ComputeNodeGroupStatus &&value)
ComputeNodeGroupSummary & WithClusterId(const Aws::String &value)
const Aws::Utils::DateTime & GetModifiedAt() const
ComputeNodeGroupSummary & WithId(const Aws::String &value)
ComputeNodeGroupSummary & WithClusterId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroupSummary & WithName(const char *value)
ComputeNodeGroupSummary & WithArn(Aws::String &&value)
AWS_PCS_API ComputeNodeGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ComputeNodeGroupSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroupSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ComputeNodeGroupSummary & WithName(Aws::String &&value)
ComputeNodeGroupSummary & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue