AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
SearchTopicsResult.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/TopicSummary.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 SearchTopicsResult() = default;
30
32
35 inline const Aws::Vector<TopicSummary>& GetTopicSummaryList() const { return m_topicSummaryList; }
36 template <typename TopicSummaryListT = Aws::Vector<TopicSummary>>
37 void SetTopicSummaryList(TopicSummaryListT&& value) {
38 m_topicSummaryListHasBeenSet = true;
39 m_topicSummaryList = std::forward<TopicSummaryListT>(value);
40 }
41 template <typename TopicSummaryListT = Aws::Vector<TopicSummary>>
42 SearchTopicsResult& WithTopicSummaryList(TopicSummaryListT&& value) {
43 SetTopicSummaryList(std::forward<TopicSummaryListT>(value));
44 return *this;
45 }
46 template <typename TopicSummaryListT = TopicSummary>
47 SearchTopicsResult& AddTopicSummaryList(TopicSummaryListT&& value) {
48 m_topicSummaryListHasBeenSet = true;
49 m_topicSummaryList.emplace_back(std::forward<TopicSummaryListT>(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 SearchTopicsResult& 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 SearchTopicsResult& 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 SearchTopicsResult& WithRequestId(RequestIdT&& value) {
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 private:
102 Aws::Vector<TopicSummary> m_topicSummaryList;
103
104 Aws::String m_nextToken;
105
106 int m_status{0};
107
108 Aws::String m_requestId;
109 bool m_topicSummaryListHasBeenSet = 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
AWS_QUICKSIGHT_API SearchTopicsResult()=default
SearchTopicsResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API SearchTopicsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< TopicSummary > & GetTopicSummaryList() const
SearchTopicsResult & WithTopicSummaryList(TopicSummaryListT &&value)
void SetTopicSummaryList(TopicSummaryListT &&value)
SearchTopicsResult & WithNextToken(NextTokenT &&value)
SearchTopicsResult & WithStatus(int value)
SearchTopicsResult & AddTopicSummaryList(TopicSummaryListT &&value)
AWS_QUICKSIGHT_API SearchTopicsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue