AWS SDK for C++  1.9.154
AWS SDK for C++
CreateNamespaceResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace QuickSight
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
45  inline void SetArn(const Aws::String& value) { m_arn = value; }
46 
50  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 
55  inline void SetArn(const char* value) { m_arn.assign(value); }
56 
60  inline CreateNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 
65  inline CreateNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 
70  inline CreateNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline void SetName(const Aws::String& value) { m_name = value; }
82 
86  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
87 
91  inline void SetName(const char* value) { m_name.assign(value); }
92 
96  inline CreateNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
97 
101  inline CreateNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
106  inline CreateNamespaceResult& WithName(const char* value) { SetName(value); return *this;}
107 
108 
114  inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; }
115 
121  inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegion = value; }
122 
128  inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegion = std::move(value); }
129 
135  inline void SetCapacityRegion(const char* value) { m_capacityRegion.assign(value); }
136 
142  inline CreateNamespaceResult& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;}
143 
149  inline CreateNamespaceResult& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;}
150 
156  inline CreateNamespaceResult& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;}
157 
158 
166  inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; }
167 
175  inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatus = value; }
176 
184  inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatus = std::move(value); }
185 
193  inline CreateNamespaceResult& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;}
194 
202  inline CreateNamespaceResult& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
203 
204 
209  inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
210 
215  inline void SetIdentityStore(const IdentityStore& value) { m_identityStore = value; }
216 
221  inline void SetIdentityStore(IdentityStore&& value) { m_identityStore = std::move(value); }
222 
227  inline CreateNamespaceResult& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
228 
233  inline CreateNamespaceResult& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
234 
235 
239  inline const Aws::String& GetRequestId() const{ return m_requestId; }
240 
244  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
245 
249  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
250 
254  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
255 
259  inline CreateNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
260 
264  inline CreateNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
265 
269  inline CreateNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
270 
271 
275  inline int GetStatus() const{ return m_status; }
276 
280  inline void SetStatus(int value) { m_status = value; }
281 
285  inline CreateNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;}
286 
287  private:
288 
289  Aws::String m_arn;
290 
291  Aws::String m_name;
292 
293  Aws::String m_capacityRegion;
294 
295  NamespaceStatus m_creationStatus;
296 
297  IdentityStore m_identityStore;
298 
299  Aws::String m_requestId;
300 
301  int m_status;
302  };
303 
304 } // namespace Model
305 } // namespace QuickSight
306 } // namespace Aws
Aws::QuickSight::Model::CreateNamespaceResult::operator=
CreateNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NamespaceStatus.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::CreateNamespaceResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateNamespaceResult.h:50
Aws::QuickSight::Model::NamespaceStatus
NamespaceStatus
Definition: NamespaceStatus.h:17
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateNamespaceResult::GetIdentityStore
const IdentityStore & GetIdentityStore() const
Definition: CreateNamespaceResult.h:209
Aws::QuickSight::Model::CreateNamespaceResult::WithCapacityRegion
CreateNamespaceResult & WithCapacityRegion(const Aws::String &value)
Definition: CreateNamespaceResult.h:142
Aws::QuickSight::Model::CreateNamespaceResult::WithCapacityRegion
CreateNamespaceResult & WithCapacityRegion(Aws::String &&value)
Definition: CreateNamespaceResult.h:149
Aws::QuickSight::Model::CreateNamespaceResult::SetCreationStatus
void SetCreationStatus(NamespaceStatus &&value)
Definition: CreateNamespaceResult.h:184
Aws::QuickSight::Model::CreateNamespaceResult::SetCapacityRegion
void SetCapacityRegion(Aws::String &&value)
Definition: CreateNamespaceResult.h:128
Aws::QuickSight::Model::CreateNamespaceResult::WithArn
CreateNamespaceResult & WithArn(const Aws::String &value)
Definition: CreateNamespaceResult.h:60
Aws::QuickSight::Model::CreateNamespaceResult::SetStatus
void SetStatus(int value)
Definition: CreateNamespaceResult.h:280
Aws::QuickSight::Model::CreateNamespaceResult::WithName
CreateNamespaceResult & WithName(const char *value)
Definition: CreateNamespaceResult.h:106
Aws::QuickSight::Model::CreateNamespaceResult::CreateNamespaceResult
CreateNamespaceResult()
Aws::QuickSight::Model::CreateNamespaceResult::WithIdentityStore
CreateNamespaceResult & WithIdentityStore(IdentityStore &&value)
Definition: CreateNamespaceResult.h:233
Aws::QuickSight::Model::CreateNamespaceResult::SetCreationStatus
void SetCreationStatus(const NamespaceStatus &value)
Definition: CreateNamespaceResult.h:175
Aws::QuickSight::Model::CreateNamespaceResult
Definition: CreateNamespaceResult.h:30
IdentityStore.h
Aws::QuickSight::Model::CreateNamespaceResult::WithName
CreateNamespaceResult & WithName(Aws::String &&value)
Definition: CreateNamespaceResult.h:101
Aws::QuickSight::Model::CreateNamespaceResult::SetCapacityRegion
void SetCapacityRegion(const char *value)
Definition: CreateNamespaceResult.h:135
Aws::QuickSight::Model::CreateNamespaceResult::GetCreationStatus
const NamespaceStatus & GetCreationStatus() const
Definition: CreateNamespaceResult.h:166
Aws::QuickSight::Model::CreateNamespaceResult::WithStatus
CreateNamespaceResult & WithStatus(int value)
Definition: CreateNamespaceResult.h:285
Aws::QuickSight::Model::CreateNamespaceResult::CreateNamespaceResult
CreateNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateNamespaceResult::WithCreationStatus
CreateNamespaceResult & WithCreationStatus(NamespaceStatus &&value)
Definition: CreateNamespaceResult.h:202
Aws::QuickSight::Model::CreateNamespaceResult::GetName
const Aws::String & GetName() const
Definition: CreateNamespaceResult.h:76
Aws::QuickSight::Model::CreateNamespaceResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateNamespaceResult.h:244
Aws::QuickSight::Model::CreateNamespaceResult::WithIdentityStore
CreateNamespaceResult & WithIdentityStore(const IdentityStore &value)
Definition: CreateNamespaceResult.h:227
Aws::QuickSight::Model::CreateNamespaceResult::SetName
void SetName(const char *value)
Definition: CreateNamespaceResult.h:91
Aws::QuickSight::Model::IdentityStore
IdentityStore
Definition: IdentityStore.h:17
AWSString.h
Aws::QuickSight::Model::CreateNamespaceResult::GetArn
const Aws::String & GetArn() const
Definition: CreateNamespaceResult.h:40
Aws::QuickSight::Model::CreateNamespaceResult::WithName
CreateNamespaceResult & WithName(const Aws::String &value)
Definition: CreateNamespaceResult.h:96
Aws::QuickSight::Model::CreateNamespaceResult::WithArn
CreateNamespaceResult & WithArn(Aws::String &&value)
Definition: CreateNamespaceResult.h:65
Aws::QuickSight::Model::CreateNamespaceResult::SetArn
void SetArn(const char *value)
Definition: CreateNamespaceResult.h:55
Aws::QuickSight::Model::CreateNamespaceResult::WithRequestId
CreateNamespaceResult & WithRequestId(const Aws::String &value)
Definition: CreateNamespaceResult.h:259
Aws::QuickSight::Model::CreateNamespaceResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateNamespaceResult.h:239
Aws::QuickSight::Model::CreateNamespaceResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateNamespaceResult.h:45
Aws::QuickSight::Model::CreateNamespaceResult::SetName
void SetName(Aws::String &&value)
Definition: CreateNamespaceResult.h:86
Aws::QuickSight::Model::CreateNamespaceResult::WithCapacityRegion
CreateNamespaceResult & WithCapacityRegion(const char *value)
Definition: CreateNamespaceResult.h:156
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateNamespaceResult::WithArn
CreateNamespaceResult & WithArn(const char *value)
Definition: CreateNamespaceResult.h:70
Aws::QuickSight::Model::CreateNamespaceResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateNamespaceResult.h:249
Aws::QuickSight::Model::CreateNamespaceResult::SetName
void SetName(const Aws::String &value)
Definition: CreateNamespaceResult.h:81
Aws::QuickSight::Model::CreateNamespaceResult::WithRequestId
CreateNamespaceResult & WithRequestId(Aws::String &&value)
Definition: CreateNamespaceResult.h:264
Aws::QuickSight::Model::CreateNamespaceResult::SetCapacityRegion
void SetCapacityRegion(const Aws::String &value)
Definition: CreateNamespaceResult.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateNamespaceResult::WithCreationStatus
CreateNamespaceResult & WithCreationStatus(const NamespaceStatus &value)
Definition: CreateNamespaceResult.h:193
Aws::QuickSight::Model::CreateNamespaceResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateNamespaceResult.h:254
Aws::QuickSight::Model::CreateNamespaceResult::WithRequestId
CreateNamespaceResult & WithRequestId(const char *value)
Definition: CreateNamespaceResult.h:269
Aws::QuickSight::Model::CreateNamespaceResult::SetIdentityStore
void SetIdentityStore(IdentityStore &&value)
Definition: CreateNamespaceResult.h:221
Aws::QuickSight::Model::CreateNamespaceResult::SetIdentityStore
void SetIdentityStore(const IdentityStore &value)
Definition: CreateNamespaceResult.h:215
Aws::QuickSight::Model::CreateNamespaceResult::GetStatus
int GetStatus() const
Definition: CreateNamespaceResult.h:275
Aws::QuickSight::Model::CreateNamespaceResult::GetCapacityRegion
const Aws::String & GetCapacityRegion() const
Definition: CreateNamespaceResult.h:114