AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterSummary.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/ClusterStatus.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 ClusterSummary();
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 ClusterSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ClusterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ClusterSummary& 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 ClusterSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline ClusterSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline ClusterSummary& 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 ClusterSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 inline ClusterSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 inline ClusterSummary& WithArn(const char* value) { SetArn(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
90 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
91 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
92 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
93 inline ClusterSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
94 inline ClusterSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
102 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
103 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
104 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
105 inline ClusterSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
106 inline ClusterSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
108
110
114 inline const ClusterStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const ClusterStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(ClusterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline ClusterSummary& WithStatus(const ClusterStatus& value) { SetStatus(value); return *this;}
119 inline ClusterSummary& WithStatus(ClusterStatus&& value) { SetStatus(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_arn;
130 bool m_arnHasBeenSet = false;
131
132 Aws::Utils::DateTime m_createdAt;
133 bool m_createdAtHasBeenSet = false;
134
135 Aws::Utils::DateTime m_modifiedAt;
136 bool m_modifiedAtHasBeenSet = false;
137
138 ClusterStatus m_status;
139 bool m_statusHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace PCS
144} // namespace Aws
void SetArn(const char *value)
void SetId(const char *value)
void SetStatus(ClusterStatus &&value)
ClusterSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
ClusterSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PCS_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue)
ClusterSummary & WithStatus(const ClusterStatus &value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetId() const
ClusterSummary & WithName(const char *value)
ClusterSummary & WithArn(const Aws::String &value)
ClusterSummary & WithName(const Aws::String &value)
ClusterSummary & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetStatus(const ClusterStatus &value)
void SetId(Aws::String &&value)
void SetArn(Aws::String &&value)
ClusterSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
ClusterSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ClusterSummary & WithId(Aws::String &&value)
void SetName(const Aws::String &value)
ClusterSummary & WithStatus(ClusterStatus &&value)
ClusterSummary & WithId(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
AWS_PCS_API ClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ClusterSummary & WithArn(const char *value)
const Aws::String & GetName() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModifiedAt(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ClusterSummary & WithId(const char *value)
ClusterSummary & WithName(Aws::String &&value)
const ClusterStatus & GetStatus() const
const Aws::String & GetArn() const
void SetName(const char *value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue