AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNamespaceResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NamespaceInfoV2.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API DescribeNamespaceResult();
34
35
37
45 inline const NamespaceInfoV2& GetNamespace() const{ return m_namespace; }
46 inline void SetNamespace(const NamespaceInfoV2& value) { m_namespace = value; }
47 inline void SetNamespace(NamespaceInfoV2&& value) { m_namespace = std::move(value); }
48 inline DescribeNamespaceResult& WithNamespace(const NamespaceInfoV2& value) { SetNamespace(value); return *this;}
49 inline DescribeNamespaceResult& WithNamespace(NamespaceInfoV2&& value) { SetNamespace(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetRequestId() const{ return m_requestId; }
55 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
56 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
57 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
58 inline DescribeNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 inline DescribeNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
60 inline DescribeNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
62
64
67 inline int GetStatus() const{ return m_status; }
68 inline void SetStatus(int value) { m_status = value; }
69 inline DescribeNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;}
71 private:
72
73 NamespaceInfoV2 m_namespace;
74
75 Aws::String m_requestId;
76
77 int m_status;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
DescribeNamespaceResult & WithRequestId(const char *value)
AWS_QUICKSIGHT_API DescribeNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNamespaceResult & WithStatus(int value)
DescribeNamespaceResult & WithNamespace(const NamespaceInfoV2 &value)
AWS_QUICKSIGHT_API DescribeNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNamespaceResult & WithNamespace(NamespaceInfoV2 &&value)
DescribeNamespaceResult & WithRequestId(Aws::String &&value)
DescribeNamespaceResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue