AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CreateKxScalingGroupResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10#include <aws/finspace/model/KxScalingGroupStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace finspace {
24namespace Model {
26 public:
27 AWS_FINSPACE_API CreateKxScalingGroupResult() = default;
30
32
36 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
37 template <typename EnvironmentIdT = Aws::String>
38 void SetEnvironmentId(EnvironmentIdT&& value) {
39 m_environmentIdHasBeenSet = true;
40 m_environmentId = std::forward<EnvironmentIdT>(value);
41 }
42 template <typename EnvironmentIdT = Aws::String>
44 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetScalingGroupName() const { return m_scalingGroupName; }
54 template <typename ScalingGroupNameT = Aws::String>
55 void SetScalingGroupName(ScalingGroupNameT&& value) {
56 m_scalingGroupNameHasBeenSet = true;
57 m_scalingGroupName = std::forward<ScalingGroupNameT>(value);
58 }
59 template <typename ScalingGroupNameT = Aws::String>
61 SetScalingGroupName(std::forward<ScalingGroupNameT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetHostType() const { return m_hostType; }
72 template <typename HostTypeT = Aws::String>
73 void SetHostType(HostTypeT&& value) {
74 m_hostTypeHasBeenSet = true;
75 m_hostType = std::forward<HostTypeT>(value);
76 }
77 template <typename HostTypeT = Aws::String>
79 SetHostType(std::forward<HostTypeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
89 template <typename AvailabilityZoneIdT = Aws::String>
90 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
91 m_availabilityZoneIdHasBeenSet = true;
92 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
93 }
94 template <typename AvailabilityZoneIdT = Aws::String>
95 CreateKxScalingGroupResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
96 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
97 return *this;
98 }
100
102
113 inline KxScalingGroupStatus GetStatus() const { return m_status; }
114 inline void SetStatus(KxScalingGroupStatus value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123
125
130 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
131 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
132 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
133 m_lastModifiedTimestampHasBeenSet = true;
134 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
135 }
136 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
137 CreateKxScalingGroupResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
138 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
139 return *this;
140 }
142
144
149 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
150 template <typename CreatedTimestampT = Aws::Utils::DateTime>
151 void SetCreatedTimestamp(CreatedTimestampT&& value) {
152 m_createdTimestampHasBeenSet = true;
153 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
154 }
155 template <typename CreatedTimestampT = Aws::Utils::DateTime>
157 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
158 return *this;
159 }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template <typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) {
167 m_requestIdHasBeenSet = true;
168 m_requestId = std::forward<RequestIdT>(value);
169 }
170 template <typename RequestIdT = Aws::String>
172 SetRequestId(std::forward<RequestIdT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_environmentId;
178 bool m_environmentIdHasBeenSet = false;
179
180 Aws::String m_scalingGroupName;
181 bool m_scalingGroupNameHasBeenSet = false;
182
183 Aws::String m_hostType;
184 bool m_hostTypeHasBeenSet = false;
185
186 Aws::String m_availabilityZoneId;
187 bool m_availabilityZoneIdHasBeenSet = false;
188
190 bool m_statusHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastModifiedTimestamp{};
193 bool m_lastModifiedTimestampHasBeenSet = false;
194
195 Aws::Utils::DateTime m_createdTimestamp{};
196 bool m_createdTimestampHasBeenSet = false;
197
198 Aws::String m_requestId;
199 bool m_requestIdHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace finspace
204} // namespace Aws
CreateKxScalingGroupResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API CreateKxScalingGroupResult()=default
CreateKxScalingGroupResult & WithScalingGroupName(ScalingGroupNameT &&value)
CreateKxScalingGroupResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateKxScalingGroupResult & WithCreatedTimestamp(CreatedTimestampT &&value)
CreateKxScalingGroupResult & WithHostType(HostTypeT &&value)
CreateKxScalingGroupResult & WithRequestId(RequestIdT &&value)
CreateKxScalingGroupResult & WithStatus(KxScalingGroupStatus value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
AWS_FINSPACE_API CreateKxScalingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxScalingGroupResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_FINSPACE_API CreateKxScalingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue