AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ListThemesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/ThemeSummary.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API ListThemesResult() = default;
30
32
35 inline const Aws::Vector<ThemeSummary>& GetThemeSummaryList() const { return m_themeSummaryList; }
36 template <typename ThemeSummaryListT = Aws::Vector<ThemeSummary>>
37 void SetThemeSummaryList(ThemeSummaryListT&& value) {
38 m_themeSummaryListHasBeenSet = true;
39 m_themeSummaryList = std::forward<ThemeSummaryListT>(value);
40 }
41 template <typename ThemeSummaryListT = Aws::Vector<ThemeSummary>>
42 ListThemesResult& WithThemeSummaryList(ThemeSummaryListT&& value) {
43 SetThemeSummaryList(std::forward<ThemeSummaryListT>(value));
44 return *this;
45 }
46 template <typename ThemeSummaryListT = ThemeSummary>
47 ListThemesResult& AddThemeSummaryList(ThemeSummaryListT&& value) {
48 m_themeSummaryListHasBeenSet = true;
49 m_themeSummaryList.emplace_back(std::forward<ThemeSummaryListT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
66 ListThemesResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
76 inline int GetStatus() const { return m_status; }
77 inline void SetStatus(int value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
81 inline ListThemesResult& WithStatus(int value) {
82 SetStatus(value);
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
96 ListThemesResult& WithRequestId(RequestIdT&& value) {
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 private:
102 Aws::Vector<ThemeSummary> m_themeSummaryList;
103
104 Aws::String m_nextToken;
105
106 int m_status{0};
107
108 Aws::String m_requestId;
109 bool m_themeSummaryListHasBeenSet = false;
110 bool m_nextTokenHasBeenSet = false;
111 bool m_statusHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
const Aws::Vector< ThemeSummary > & GetThemeSummaryList() const
AWS_QUICKSIGHT_API ListThemesResult()=default
void SetThemeSummaryList(ThemeSummaryListT &&value)
ListThemesResult & AddThemeSummaryList(ThemeSummaryListT &&value)
ListThemesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
AWS_QUICKSIGHT_API ListThemesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API ListThemesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListThemesResult & WithStatus(int value)
ListThemesResult & WithNextToken(NextTokenT &&value)
ListThemesResult & WithThemeSummaryList(ThemeSummaryListT &&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