AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 CreateNamespaceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 CreateNamespaceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
65 inline const Aws::String& GetCapacityRegion() const { return m_capacityRegion; }
66 template<typename CapacityRegionT = Aws::String>
67 void SetCapacityRegion(CapacityRegionT&& value) { m_capacityRegionHasBeenSet = true; m_capacityRegion = std::forward<CapacityRegionT>(value); }
68 template<typename CapacityRegionT = Aws::String>
69 CreateNamespaceResult& WithCapacityRegion(CapacityRegionT&& value) { SetCapacityRegion(std::forward<CapacityRegionT>(value)); return *this;}
71
73
80 inline NamespaceStatus GetCreationStatus() const { return m_creationStatus; }
81 inline void SetCreationStatus(NamespaceStatus value) { m_creationStatusHasBeenSet = true; m_creationStatus = value; }
84
86
90 inline IdentityStore GetIdentityStore() const { return m_identityStore; }
91 inline void SetIdentityStore(IdentityStore value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 CreateNamespaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103
105
108 inline int GetStatus() const { return m_status; }
109 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
110 inline CreateNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;}
112 private:
113
114 Aws::String m_arn;
115 bool m_arnHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_capacityRegion;
121 bool m_capacityRegionHasBeenSet = false;
122
124 bool m_creationStatusHasBeenSet = false;
125
126 IdentityStore m_identityStore{IdentityStore::NOT_SET};
127 bool m_identityStoreHasBeenSet = false;
128
129 Aws::String m_requestId;
130 bool m_requestIdHasBeenSet = false;
131
132 int m_status{0};
133 bool m_statusHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace QuickSight
138} // 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