AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KxScalingGroup.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/model/KxScalingGroupStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FINSPACE_API KxScalingGroup();
39 AWS_FINSPACE_API KxScalingGroup(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetScalingGroupName() const{ return m_scalingGroupName; }
49 inline bool ScalingGroupNameHasBeenSet() const { return m_scalingGroupNameHasBeenSet; }
50 inline void SetScalingGroupName(const Aws::String& value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName = value; }
51 inline void SetScalingGroupName(Aws::String&& value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName = std::move(value); }
52 inline void SetScalingGroupName(const char* value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName.assign(value); }
53 inline KxScalingGroup& WithScalingGroupName(const Aws::String& value) { SetScalingGroupName(value); return *this;}
54 inline KxScalingGroup& WithScalingGroupName(Aws::String&& value) { SetScalingGroupName(std::move(value)); return *this;}
55 inline KxScalingGroup& WithScalingGroupName(const char* value) { SetScalingGroupName(value); return *this;}
57
59
77 inline const Aws::String& GetHostType() const{ return m_hostType; }
78 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
79 inline void SetHostType(const Aws::String& value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
80 inline void SetHostType(Aws::String&& value) { m_hostTypeHasBeenSet = true; m_hostType = std::move(value); }
81 inline void SetHostType(const char* value) { m_hostTypeHasBeenSet = true; m_hostType.assign(value); }
82 inline KxScalingGroup& WithHostType(const Aws::String& value) { SetHostType(value); return *this;}
83 inline KxScalingGroup& WithHostType(Aws::String&& value) { SetHostType(std::move(value)); return *this;}
84 inline KxScalingGroup& WithHostType(const char* value) { SetHostType(value); return *this;}
86
88
91 inline const Aws::Vector<Aws::String>& GetClusters() const{ return m_clusters; }
92 inline bool ClustersHasBeenSet() const { return m_clustersHasBeenSet; }
93 inline void SetClusters(const Aws::Vector<Aws::String>& value) { m_clustersHasBeenSet = true; m_clusters = value; }
94 inline void SetClusters(Aws::Vector<Aws::String>&& value) { m_clustersHasBeenSet = true; m_clusters = std::move(value); }
95 inline KxScalingGroup& WithClusters(const Aws::Vector<Aws::String>& value) { SetClusters(value); return *this;}
96 inline KxScalingGroup& WithClusters(Aws::Vector<Aws::String>&& value) { SetClusters(std::move(value)); return *this;}
97 inline KxScalingGroup& AddClusters(const Aws::String& value) { m_clustersHasBeenSet = true; m_clusters.push_back(value); return *this; }
98 inline KxScalingGroup& AddClusters(Aws::String&& value) { m_clustersHasBeenSet = true; m_clusters.push_back(std::move(value)); return *this; }
99 inline KxScalingGroup& AddClusters(const char* value) { m_clustersHasBeenSet = true; m_clusters.push_back(value); return *this; }
101
103
106 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
107 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
108 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
109 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
110 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
111 inline KxScalingGroup& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
112 inline KxScalingGroup& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
113 inline KxScalingGroup& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
115
117
120 inline const KxScalingGroupStatus& GetStatus() const{ return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(const KxScalingGroupStatus& value) { m_statusHasBeenSet = true; m_status = value; }
123 inline void SetStatus(KxScalingGroupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
124 inline KxScalingGroup& WithStatus(const KxScalingGroupStatus& value) { SetStatus(value); return *this;}
125 inline KxScalingGroup& WithStatus(KxScalingGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
133 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
134 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
135 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
136 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
137 inline KxScalingGroup& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
138 inline KxScalingGroup& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
139 inline KxScalingGroup& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
141
143
148 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
149 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
150 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = value; }
151 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::move(value); }
155
157
162 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
163 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
164 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
165 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
167 inline KxScalingGroup& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
169 private:
170
171 Aws::String m_scalingGroupName;
172 bool m_scalingGroupNameHasBeenSet = false;
173
174 Aws::String m_hostType;
175 bool m_hostTypeHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_clusters;
178 bool m_clustersHasBeenSet = false;
179
180 Aws::String m_availabilityZoneId;
181 bool m_availabilityZoneIdHasBeenSet = false;
182
183 KxScalingGroupStatus m_status;
184 bool m_statusHasBeenSet = false;
185
186 Aws::String m_statusReason;
187 bool m_statusReasonHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedTimestamp;
190 bool m_lastModifiedTimestampHasBeenSet = false;
191
192 Aws::Utils::DateTime m_createdTimestamp;
193 bool m_createdTimestampHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace finspace
198} // namespace Aws
KxScalingGroup & WithScalingGroupName(const Aws::String &value)
void SetStatus(const KxScalingGroupStatus &value)
void SetHostType(Aws::String &&value)
const Aws::String & GetScalingGroupName() const
KxScalingGroup & WithAvailabilityZoneId(const Aws::String &value)
void SetScalingGroupName(const char *value)
AWS_FINSPACE_API KxScalingGroup(Aws::Utils::Json::JsonView jsonValue)
KxScalingGroup & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
KxScalingGroup & AddClusters(const Aws::String &value)
KxScalingGroup & WithHostType(const Aws::String &value)
KxScalingGroup & WithHostType(const char *value)
void SetStatusReason(const Aws::String &value)
void SetScalingGroupName(const Aws::String &value)
KxScalingGroup & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetAvailabilityZoneId(const char *value)
KxScalingGroup & WithStatusReason(Aws::String &&value)
void SetStatusReason(Aws::String &&value)
KxScalingGroup & AddClusters(Aws::String &&value)
void SetAvailabilityZoneId(Aws::String &&value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
KxScalingGroup & WithAvailabilityZoneId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
KxScalingGroup & WithScalingGroupName(const char *value)
void SetStatusReason(const char *value)
const KxScalingGroupStatus & GetStatus() const
KxScalingGroup & WithClusters(Aws::Vector< Aws::String > &&value)
void SetClusters(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
KxScalingGroup & WithClusters(const Aws::Vector< Aws::String > &value)
KxScalingGroup & WithStatusReason(const Aws::String &value)
void SetHostType(const char *value)
AWS_FINSPACE_API KxScalingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
KxScalingGroup & WithStatusReason(const char *value)
KxScalingGroup & AddClusters(const char *value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetClusters(Aws::Vector< Aws::String > &&value)
void SetScalingGroupName(Aws::String &&value)
KxScalingGroup & WithScalingGroupName(Aws::String &&value)
const Aws::String & GetStatusReason() const
KxScalingGroup & WithAvailabilityZoneId(const char *value)
const Aws::Vector< Aws::String > & GetClusters() const
void SetStatus(KxScalingGroupStatus &&value)
KxScalingGroup & WithStatus(KxScalingGroupStatus &&value)
void SetHostType(const Aws::String &value)
const Aws::String & GetHostType() const
void SetAvailabilityZoneId(const Aws::String &value)
KxScalingGroup & WithHostType(Aws::String &&value)
KxScalingGroup & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
KxScalingGroup & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAvailabilityZoneId() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxScalingGroup & WithStatus(const KxScalingGroupStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue