AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateKxEnvironmentResult.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/EnvironmentStatus.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 CreateKxEnvironmentResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 CreateKxEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline EnvironmentStatus GetStatus() const { return m_status; }
53 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
54 inline CreateKxEnvironmentResult& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
62 template<typename EnvironmentIdT = Aws::String>
63 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
64 template<typename EnvironmentIdT = Aws::String>
65 CreateKxEnvironmentResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 CreateKxEnvironmentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
84 template<typename EnvironmentArnT = Aws::String>
85 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
86 template<typename EnvironmentArnT = Aws::String>
87 CreateKxEnvironmentResult& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
89
91
94 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
95 template<typename KmsKeyIdT = Aws::String>
96 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
97 template<typename KmsKeyIdT = Aws::String>
98 CreateKxEnvironmentResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
106 template<typename CreationTimestampT = Aws::Utils::DateTime>
107 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
108 template<typename CreationTimestampT = Aws::Utils::DateTime>
109 CreateKxEnvironmentResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 CreateKxEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_statusHasBeenSet = false;
127
128 Aws::String m_environmentId;
129 bool m_environmentIdHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_environmentArn;
135 bool m_environmentArnHasBeenSet = false;
136
137 Aws::String m_kmsKeyId;
138 bool m_kmsKeyIdHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTimestamp{};
141 bool m_creationTimestampHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace finspace
149} // namespace Aws
CreateKxEnvironmentResult & WithCreationTimestamp(CreationTimestampT &&value)
CreateKxEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
CreateKxEnvironmentResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
CreateKxEnvironmentResult & WithStatus(EnvironmentStatus value)
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