AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateKxScalingGroupResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/KxScalingGroupStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace finspace
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FINSPACE_API CreateKxScalingGroupResult() = default;
35
36
38
42 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
43 template<typename EnvironmentIdT = Aws::String>
44 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
45 template<typename EnvironmentIdT = Aws::String>
46 CreateKxScalingGroupResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetScalingGroupName() const { return m_scalingGroupName; }
54 template<typename ScalingGroupNameT = Aws::String>
55 void SetScalingGroupName(ScalingGroupNameT&& value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName = std::forward<ScalingGroupNameT>(value); }
56 template<typename ScalingGroupNameT = Aws::String>
57 CreateKxScalingGroupResult& WithScalingGroupName(ScalingGroupNameT&& value) { SetScalingGroupName(std::forward<ScalingGroupNameT>(value)); return *this;}
59
61
65 inline const Aws::String& GetHostType() const { return m_hostType; }
66 template<typename HostTypeT = Aws::String>
67 void SetHostType(HostTypeT&& value) { m_hostTypeHasBeenSet = true; m_hostType = std::forward<HostTypeT>(value); }
68 template<typename HostTypeT = Aws::String>
69 CreateKxScalingGroupResult& WithHostType(HostTypeT&& value) { SetHostType(std::forward<HostTypeT>(value)); return *this;}
71
73
76 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
77 template<typename AvailabilityZoneIdT = Aws::String>
78 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
79 template<typename AvailabilityZoneIdT = Aws::String>
80 CreateKxScalingGroupResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
82
84
95 inline KxScalingGroupStatus GetStatus() const { return m_status; }
96 inline void SetStatus(KxScalingGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
99
101
106 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
107 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
108 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
109 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
110 CreateKxScalingGroupResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
112
114
119 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
120 template<typename CreatedTimestampT = Aws::Utils::DateTime>
121 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
122 template<typename CreatedTimestampT = Aws::Utils::DateTime>
123 CreateKxScalingGroupResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template<typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
131 template<typename RequestIdT = Aws::String>
132 CreateKxScalingGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
134 private:
135
136 Aws::String m_environmentId;
137 bool m_environmentIdHasBeenSet = false;
138
139 Aws::String m_scalingGroupName;
140 bool m_scalingGroupNameHasBeenSet = false;
141
142 Aws::String m_hostType;
143 bool m_hostTypeHasBeenSet = false;
144
145 Aws::String m_availabilityZoneId;
146 bool m_availabilityZoneIdHasBeenSet = false;
147
149 bool m_statusHasBeenSet = false;
150
151 Aws::Utils::DateTime m_lastModifiedTimestamp{};
152 bool m_lastModifiedTimestampHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdTimestamp{};
155 bool m_createdTimestampHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace finspace
163} // 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