AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNamespaceResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/NamespaceStatus.h>
10#include <aws/quicksight/model/IdentityStore.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 QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API CreateNamespaceResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline CreateNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreateNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreateNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline CreateNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline CreateNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline CreateNamespaceResult& WithName(const char* value) { SetName(value); return *this;}
62
64
69 inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; }
70 inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegion = value; }
71 inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegion = std::move(value); }
72 inline void SetCapacityRegion(const char* value) { m_capacityRegion.assign(value); }
73 inline CreateNamespaceResult& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;}
74 inline CreateNamespaceResult& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;}
75 inline CreateNamespaceResult& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;}
77
79
86 inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; }
87 inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatus = value; }
88 inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatus = std::move(value); }
89 inline CreateNamespaceResult& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;}
90 inline CreateNamespaceResult& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
92
94
98 inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
99 inline void SetIdentityStore(const IdentityStore& value) { m_identityStore = value; }
100 inline void SetIdentityStore(IdentityStore&& value) { m_identityStore = std::move(value); }
101 inline CreateNamespaceResult& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
102 inline CreateNamespaceResult& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
109 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
110 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
111 inline CreateNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
112 inline CreateNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
113 inline CreateNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
115
117
120 inline int GetStatus() const{ return m_status; }
121 inline void SetStatus(int value) { m_status = value; }
122 inline CreateNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;}
124 private:
125
126 Aws::String m_arn;
127
128 Aws::String m_name;
129
130 Aws::String m_capacityRegion;
131
132 NamespaceStatus m_creationStatus;
133
134 IdentityStore m_identityStore;
135
136 Aws::String m_requestId;
137
138 int m_status;
139 };
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
CreateNamespaceResult & WithStatus(int value)
CreateNamespaceResult & WithIdentityStore(const IdentityStore &value)
void SetIdentityStore(const IdentityStore &value)
CreateNamespaceResult & WithCapacityRegion(const char *value)
CreateNamespaceResult & WithName(const Aws::String &value)
void SetCreationStatus(const NamespaceStatus &value)
CreateNamespaceResult & WithArn(const char *value)
CreateNamespaceResult & WithArn(Aws::String &&value)
CreateNamespaceResult & WithCreationStatus(const NamespaceStatus &value)
AWS_QUICKSIGHT_API CreateNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateNamespaceResult & WithRequestId(Aws::String &&value)
CreateNamespaceResult & WithArn(const Aws::String &value)
CreateNamespaceResult & WithRequestId(const char *value)
AWS_QUICKSIGHT_API CreateNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateNamespaceResult & WithName(Aws::String &&value)
CreateNamespaceResult & WithName(const char *value)
const NamespaceStatus & GetCreationStatus() const
CreateNamespaceResult & WithCapacityRegion(const Aws::String &value)
CreateNamespaceResult & WithIdentityStore(IdentityStore &&value)
CreateNamespaceResult & WithRequestId(const Aws::String &value)
CreateNamespaceResult & WithCapacityRegion(Aws::String &&value)
CreateNamespaceResult & WithCreationStatus(NamespaceStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue