AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListNamespacesResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/NamespaceInfoV2.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 ListNamespacesResult() = default;
35
36
38
43 inline const Aws::Vector<NamespaceInfoV2>& GetNamespaces() const { return m_namespaces; }
44 template<typename NamespacesT = Aws::Vector<NamespaceInfoV2>>
45 void SetNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces = std::forward<NamespacesT>(value); }
46 template<typename NamespacesT = Aws::Vector<NamespaceInfoV2>>
47 ListNamespacesResult& WithNamespaces(NamespacesT&& value) { SetNamespaces(std::forward<NamespacesT>(value)); return *this;}
48 template<typename NamespacesT = NamespaceInfoV2>
49 ListNamespacesResult& AddNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces.emplace_back(std::forward<NamespacesT>(value)); return *this; }
51
53
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 ListNamespacesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 ListNamespacesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77
79
82 inline int GetStatus() const { return m_status; }
83 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
84 inline ListNamespacesResult& WithStatus(int value) { SetStatus(value); return *this;}
86 private:
87
89 bool m_namespacesHasBeenSet = false;
90
91 Aws::String m_nextToken;
92 bool m_nextTokenHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96
97 int m_status{0};
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
ListNamespacesResult & WithStatus(int value)
AWS_QUICKSIGHT_API ListNamespacesResult()=default
AWS_QUICKSIGHT_API ListNamespacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListNamespacesResult & WithNextToken(NextTokenT &&value)
ListNamespacesResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< NamespaceInfoV2 > & GetNamespaces() const
AWS_QUICKSIGHT_API ListNamespacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListNamespacesResult & AddNamespaces(NamespacesT &&value)
ListNamespacesResult & WithNamespaces(NamespacesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue