AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateKxEnvironmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/EnvironmentStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace finspace {
25namespace Model {
27 public:
28 AWS_FINSPACE_API CreateKxEnvironmentResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline EnvironmentStatus GetStatus() const { return m_status; }
54 inline void SetStatus(EnvironmentStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
68 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
69 template <typename EnvironmentIdT = Aws::String>
70 void SetEnvironmentId(EnvironmentIdT&& value) {
71 m_environmentIdHasBeenSet = true;
72 m_environmentId = std::forward<EnvironmentIdT>(value);
73 }
74 template <typename EnvironmentIdT = Aws::String>
76 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
103 template <typename EnvironmentArnT = Aws::String>
104 void SetEnvironmentArn(EnvironmentArnT&& value) {
105 m_environmentArnHasBeenSet = true;
106 m_environmentArn = std::forward<EnvironmentArnT>(value);
107 }
108 template <typename EnvironmentArnT = Aws::String>
110 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
120 template <typename KmsKeyIdT = Aws::String>
121 void SetKmsKeyId(KmsKeyIdT&& value) {
122 m_kmsKeyIdHasBeenSet = true;
123 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
124 }
125 template <typename KmsKeyIdT = Aws::String>
127 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
137 template <typename CreationTimestampT = Aws::Utils::DateTime>
138 void SetCreationTimestamp(CreationTimestampT&& value) {
139 m_creationTimestampHasBeenSet = true;
140 m_creationTimestamp = std::forward<CreationTimestampT>(value);
141 }
142 template <typename CreationTimestampT = Aws::Utils::DateTime>
144 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_name;
167
169
170 Aws::String m_environmentId;
171
172 Aws::String m_description;
173
174 Aws::String m_environmentArn;
175
176 Aws::String m_kmsKeyId;
177
178 Aws::Utils::DateTime m_creationTimestamp{};
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_nameHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_environmentIdHasBeenSet = false;
185 bool m_descriptionHasBeenSet = false;
186 bool m_environmentArnHasBeenSet = false;
187 bool m_kmsKeyIdHasBeenSet = false;
188 bool m_creationTimestampHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace finspace
194} // namespace Aws
CreateKxEnvironmentResult & WithCreationTimestamp(CreationTimestampT &&value)
CreateKxEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
CreateKxEnvironmentResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
CreateKxEnvironmentResult & WithStatus(EnvironmentStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateKxEnvironmentResult & WithKmsKeyId(KmsKeyIdT &&value)
AWS_FINSPACE_API CreateKxEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FINSPACE_API CreateKxEnvironmentResult()=default
CreateKxEnvironmentResult & WithRequestId(RequestIdT &&value)
CreateKxEnvironmentResult & WithDescription(DescriptionT &&value)
CreateKxEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API CreateKxEnvironmentResult(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