AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeNamespaceResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
44  inline const NamespaceInfoV2& GetNamespace() const{ return m_namespace; }
45 
54  inline void SetNamespace(const NamespaceInfoV2& value) { m_namespace = value; }
55 
64  inline void SetNamespace(NamespaceInfoV2&& value) { m_namespace = std::move(value); }
65 
74  inline DescribeNamespaceResult& WithNamespace(const NamespaceInfoV2& value) { SetNamespace(value); return *this;}
75 
84  inline DescribeNamespaceResult& WithNamespace(NamespaceInfoV2&& value) { SetNamespace(std::move(value)); return *this;}
85 
86 
90  inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 
95  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 
100  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 
105  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 
110  inline DescribeNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 
115  inline DescribeNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 
120  inline DescribeNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 
122 
126  inline int GetStatus() const{ return m_status; }
127 
131  inline void SetStatus(int value) { m_status = value; }
132 
136  inline DescribeNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;}
137 
138  private:
139 
140  NamespaceInfoV2 m_namespace;
141 
142  Aws::String m_requestId;
143 
144  int m_status;
145  };
146 
147 } // namespace Model
148 } // namespace QuickSight
149 } // namespace Aws
Aws::QuickSight::Model::DescribeNamespaceResult::DescribeNamespaceResult
DescribeNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DescribeNamespaceResult::WithRequestId
DescribeNamespaceResult & WithRequestId(Aws::String &&value)
Definition: DescribeNamespaceResult.h:115
Aws::QuickSight::Model::DescribeNamespaceResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeNamespaceResult.h:100
QuickSight_EXPORTS.h
NamespaceInfoV2.h
Aws::QuickSight::Model::NamespaceInfoV2
Definition: NamespaceInfoV2.h:35
Aws::QuickSight::Model::DescribeNamespaceResult::WithRequestId
DescribeNamespaceResult & WithRequestId(const char *value)
Definition: DescribeNamespaceResult.h:120
Aws::QuickSight::Model::DescribeNamespaceResult::DescribeNamespaceResult
DescribeNamespaceResult()
Aws::QuickSight::Model::DescribeNamespaceResult::WithNamespace
DescribeNamespaceResult & WithNamespace(NamespaceInfoV2 &&value)
Definition: DescribeNamespaceResult.h:84
Aws::QuickSight::Model::DescribeNamespaceResult
Definition: DescribeNamespaceResult.h:29
Aws::QuickSight::Model::DescribeNamespaceResult::WithStatus
DescribeNamespaceResult & WithStatus(int value)
Definition: DescribeNamespaceResult.h:136
Aws::QuickSight::Model::DescribeNamespaceResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeNamespaceResult.h:90
Aws::QuickSight::Model::DescribeNamespaceResult::SetNamespace
void SetNamespace(NamespaceInfoV2 &&value)
Definition: DescribeNamespaceResult.h:64
Aws::QuickSight::Model::DescribeNamespaceResult::SetNamespace
void SetNamespace(const NamespaceInfoV2 &value)
Definition: DescribeNamespaceResult.h:54
Aws::QuickSight::Model::DescribeNamespaceResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeNamespaceResult.h:95
Aws::QuickSight::Model::DescribeNamespaceResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeNamespaceResult.h:105
Aws::QuickSight::Model::DescribeNamespaceResult::operator=
DescribeNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::QuickSight::Model::DescribeNamespaceResult::SetStatus
void SetStatus(int value)
Definition: DescribeNamespaceResult.h:131
Aws::QuickSight::Model::DescribeNamespaceResult::WithNamespace
DescribeNamespaceResult & WithNamespace(const NamespaceInfoV2 &value)
Definition: DescribeNamespaceResult.h:74
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::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeNamespaceResult::GetStatus
int GetStatus() const
Definition: DescribeNamespaceResult.h:126
Aws::QuickSight::Model::DescribeNamespaceResult::WithRequestId
DescribeNamespaceResult & WithRequestId(const Aws::String &value)
Definition: DescribeNamespaceResult.h:110
Aws::QuickSight::Model::DescribeNamespaceResult::GetNamespace
const NamespaceInfoV2 & GetNamespace() const
Definition: DescribeNamespaceResult.h:44