AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetKxScalingGroupResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace finspace
27{
28namespace Model
29{
31 {
32 public:
33 AWS_FINSPACE_API GetKxScalingGroupResult();
36
37
39
42 inline const Aws::String& GetScalingGroupName() const{ return m_scalingGroupName; }
43 inline void SetScalingGroupName(const Aws::String& value) { m_scalingGroupName = value; }
44 inline void SetScalingGroupName(Aws::String&& value) { m_scalingGroupName = std::move(value); }
45 inline void SetScalingGroupName(const char* value) { m_scalingGroupName.assign(value); }
46 inline GetKxScalingGroupResult& WithScalingGroupName(const Aws::String& value) { SetScalingGroupName(value); return *this;}
47 inline GetKxScalingGroupResult& WithScalingGroupName(Aws::String&& value) { SetScalingGroupName(std::move(value)); return *this;}
48 inline GetKxScalingGroupResult& WithScalingGroupName(const char* value) { SetScalingGroupName(value); return *this;}
50
52
55 inline const Aws::String& GetScalingGroupArn() const{ return m_scalingGroupArn; }
56 inline void SetScalingGroupArn(const Aws::String& value) { m_scalingGroupArn = value; }
57 inline void SetScalingGroupArn(Aws::String&& value) { m_scalingGroupArn = std::move(value); }
58 inline void SetScalingGroupArn(const char* value) { m_scalingGroupArn.assign(value); }
59 inline GetKxScalingGroupResult& WithScalingGroupArn(const Aws::String& value) { SetScalingGroupArn(value); return *this;}
60 inline GetKxScalingGroupResult& WithScalingGroupArn(Aws::String&& value) { SetScalingGroupArn(std::move(value)); return *this;}
61 inline GetKxScalingGroupResult& WithScalingGroupArn(const char* value) { SetScalingGroupArn(value); return *this;}
63
65
83 inline const Aws::String& GetHostType() const{ return m_hostType; }
84 inline void SetHostType(const Aws::String& value) { m_hostType = value; }
85 inline void SetHostType(Aws::String&& value) { m_hostType = std::move(value); }
86 inline void SetHostType(const char* value) { m_hostType.assign(value); }
87 inline GetKxScalingGroupResult& WithHostType(const Aws::String& value) { SetHostType(value); return *this;}
88 inline GetKxScalingGroupResult& WithHostType(Aws::String&& value) { SetHostType(std::move(value)); return *this;}
89 inline GetKxScalingGroupResult& WithHostType(const char* value) { SetHostType(value); return *this;}
91
93
97 inline const Aws::Vector<Aws::String>& GetClusters() const{ return m_clusters; }
98 inline void SetClusters(const Aws::Vector<Aws::String>& value) { m_clusters = value; }
99 inline void SetClusters(Aws::Vector<Aws::String>&& value) { m_clusters = std::move(value); }
100 inline GetKxScalingGroupResult& WithClusters(const Aws::Vector<Aws::String>& value) { SetClusters(value); return *this;}
101 inline GetKxScalingGroupResult& WithClusters(Aws::Vector<Aws::String>&& value) { SetClusters(std::move(value)); return *this;}
102 inline GetKxScalingGroupResult& AddClusters(const Aws::String& value) { m_clusters.push_back(value); return *this; }
103 inline GetKxScalingGroupResult& AddClusters(Aws::String&& value) { m_clusters.push_back(std::move(value)); return *this; }
104 inline GetKxScalingGroupResult& AddClusters(const char* value) { m_clusters.push_back(value); return *this; }
106
108
111 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
112 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneId = value; }
113 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneId = std::move(value); }
114 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneId.assign(value); }
116 inline GetKxScalingGroupResult& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
117 inline GetKxScalingGroupResult& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
119
121
132 inline const KxScalingGroupStatus& GetStatus() const{ return m_status; }
133 inline void SetStatus(const KxScalingGroupStatus& value) { m_status = value; }
134 inline void SetStatus(KxScalingGroupStatus&& value) { m_status = std::move(value); }
135 inline GetKxScalingGroupResult& WithStatus(const KxScalingGroupStatus& value) { SetStatus(value); return *this;}
136 inline GetKxScalingGroupResult& WithStatus(KxScalingGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
144 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
145 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
146 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
147 inline GetKxScalingGroupResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
148 inline GetKxScalingGroupResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
149 inline GetKxScalingGroupResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
151
153
158 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
159 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; }
160 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); }
164
166
171 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
172 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
173 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline GetKxScalingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline GetKxScalingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline GetKxScalingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_scalingGroupName;
191
192 Aws::String m_scalingGroupArn;
193
194 Aws::String m_hostType;
195
196 Aws::Vector<Aws::String> m_clusters;
197
198 Aws::String m_availabilityZoneId;
199
200 KxScalingGroupStatus m_status;
201
202 Aws::String m_statusReason;
203
204 Aws::Utils::DateTime m_lastModifiedTimestamp;
205
206 Aws::Utils::DateTime m_createdTimestamp;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace finspace
213} // namespace Aws
GetKxScalingGroupResult & AddClusters(Aws::String &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetKxScalingGroupResult & WithStatusReason(const char *value)
GetKxScalingGroupResult & WithClusters(const Aws::Vector< Aws::String > &value)
const KxScalingGroupStatus & GetStatus() const
GetKxScalingGroupResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
const Aws::Vector< Aws::String > & GetClusters() const
GetKxScalingGroupResult & WithScalingGroupName(Aws::String &&value)
GetKxScalingGroupResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetKxScalingGroupResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
GetKxScalingGroupResult & WithAvailabilityZoneId(Aws::String &&value)
GetKxScalingGroupResult & WithClusters(Aws::Vector< Aws::String > &&value)
GetKxScalingGroupResult & WithRequestId(Aws::String &&value)
AWS_FINSPACE_API GetKxScalingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetClusters(Aws::Vector< Aws::String > &&value)
GetKxScalingGroupResult & WithScalingGroupName(const Aws::String &value)
GetKxScalingGroupResult & WithScalingGroupArn(const char *value)
GetKxScalingGroupResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetKxScalingGroupResult & WithScalingGroupName(const char *value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetKxScalingGroupResult & WithHostType(const char *value)
AWS_FINSPACE_API GetKxScalingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxScalingGroupResult & WithAvailabilityZoneId(const char *value)
GetKxScalingGroupResult & AddClusters(const Aws::String &value)
GetKxScalingGroupResult & AddClusters(const char *value)
GetKxScalingGroupResult & WithScalingGroupArn(Aws::String &&value)
GetKxScalingGroupResult & WithHostType(Aws::String &&value)
GetKxScalingGroupResult & WithStatusReason(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetKxScalingGroupResult & WithHostType(const Aws::String &value)
GetKxScalingGroupResult & WithStatus(const KxScalingGroupStatus &value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetStatus(const KxScalingGroupStatus &value)
GetKxScalingGroupResult & WithStatusReason(const Aws::String &value)
GetKxScalingGroupResult & WithAvailabilityZoneId(const Aws::String &value)
GetKxScalingGroupResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
GetKxScalingGroupResult & WithStatus(KxScalingGroupStatus &&value)
void SetClusters(const Aws::Vector< Aws::String > &value)
GetKxScalingGroupResult & WithRequestId(const Aws::String &value)
GetKxScalingGroupResult & WithScalingGroupArn(const Aws::String &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