AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CreateNamespaceResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/IdentityStore.h>
10#include <aws/quicksight/model/NamespaceStatus.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 QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API CreateNamespaceResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
71 inline const Aws::String& GetCapacityRegion() const { return m_capacityRegion; }
72 template <typename CapacityRegionT = Aws::String>
73 void SetCapacityRegion(CapacityRegionT&& value) {
74 m_capacityRegionHasBeenSet = true;
75 m_capacityRegion = std::forward<CapacityRegionT>(value);
76 }
77 template <typename CapacityRegionT = Aws::String>
78 CreateNamespaceResult& WithCapacityRegion(CapacityRegionT&& value) {
79 SetCapacityRegion(std::forward<CapacityRegionT>(value));
80 return *this;
81 }
83
85
92 inline NamespaceStatus GetCreationStatus() const { return m_creationStatus; }
94 m_creationStatusHasBeenSet = true;
95 m_creationStatus = value;
96 }
98 SetCreationStatus(value);
99 return *this;
100 }
102
104
108 inline IdentityStore GetIdentityStore() const { return m_identityStore; }
109 inline void SetIdentityStore(IdentityStore value) {
110 m_identityStoreHasBeenSet = true;
111 m_identityStore = value;
112 }
114 SetIdentityStore(value);
115 return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template <typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) {
124 m_requestIdHasBeenSet = true;
125 m_requestId = std::forward<RequestIdT>(value);
126 }
127 template <typename RequestIdT = Aws::String>
129 SetRequestId(std::forward<RequestIdT>(value));
130 return *this;
131 }
133
135
138 inline int GetStatus() const { return m_status; }
139 inline void SetStatus(int value) {
140 m_statusHasBeenSet = true;
141 m_status = value;
142 }
144 SetStatus(value);
145 return *this;
146 }
148 private:
149 Aws::String m_arn;
150
151 Aws::String m_name;
152
153 Aws::String m_capacityRegion;
154
156
157 IdentityStore m_identityStore{IdentityStore::NOT_SET};
158
159 Aws::String m_requestId;
160
161 int m_status{0};
162 bool m_arnHasBeenSet = false;
163 bool m_nameHasBeenSet = false;
164 bool m_capacityRegionHasBeenSet = false;
165 bool m_creationStatusHasBeenSet = false;
166 bool m_identityStoreHasBeenSet = false;
167 bool m_requestIdHasBeenSet = false;
168 bool m_statusHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace QuickSight
173} // namespace Aws
CreateNamespaceResult & WithStatus(int value)
CreateNamespaceResult & WithArn(ArnT &&value)
CreateNamespaceResult & WithCreationStatus(NamespaceStatus value)
CreateNamespaceResult & WithName(NameT &&value)
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