AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateNamespaceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/IdentityStore.h>
11#include <aws/quicksight/model/NamespaceStatus.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 QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API CreateNamespaceResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
72 inline const Aws::String& GetCapacityRegion() const { return m_capacityRegion; }
73 template <typename CapacityRegionT = Aws::String>
74 void SetCapacityRegion(CapacityRegionT&& value) {
75 m_capacityRegionHasBeenSet = true;
76 m_capacityRegion = std::forward<CapacityRegionT>(value);
77 }
78 template <typename CapacityRegionT = Aws::String>
79 CreateNamespaceResult& WithCapacityRegion(CapacityRegionT&& value) {
80 SetCapacityRegion(std::forward<CapacityRegionT>(value));
81 return *this;
82 }
84
86
93 inline NamespaceStatus GetCreationStatus() const { return m_creationStatus; }
95 m_creationStatusHasBeenSet = true;
96 m_creationStatus = value;
97 }
99 SetCreationStatus(value);
100 return *this;
101 }
103
105
109 inline IdentityStore GetIdentityStore() const { return m_identityStore; }
110 inline void SetIdentityStore(IdentityStore value) {
111 m_identityStoreHasBeenSet = true;
112 m_identityStore = value;
113 }
115 SetIdentityStore(value);
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134
136
139 inline int GetStatus() const { return m_status; }
140 inline void SetStatus(int value) {
141 m_statusHasBeenSet = true;
142 m_status = value;
143 }
145 SetStatus(value);
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_arn;
153
154 Aws::String m_name;
155
156 Aws::String m_capacityRegion;
157
159
160 IdentityStore m_identityStore{IdentityStore::NOT_SET};
161
162 Aws::String m_requestId;
163
164 int m_status{0};
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_arnHasBeenSet = false;
167 bool m_nameHasBeenSet = false;
168 bool m_capacityRegionHasBeenSet = false;
169 bool m_creationStatusHasBeenSet = false;
170 bool m_identityStoreHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172 bool m_statusHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace QuickSight
177} // namespace Aws
CreateNamespaceResult & WithStatus(int value)
CreateNamespaceResult & WithArn(ArnT &&value)
CreateNamespaceResult & WithCreationStatus(NamespaceStatus value)
CreateNamespaceResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateNamespaceResult & WithCapacityRegion(CapacityRegionT &&value)
AWS_QUICKSIGHT_API CreateNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateNamespaceResult & WithIdentityStore(IdentityStore value)
AWS_QUICKSIGHT_API CreateNamespaceResult()=default
CreateNamespaceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue