AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
DescribeTopicResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/CustomInstructions.h>
11#include <aws/quicksight/model/TopicDetails.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API DescribeTopicResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetTopicId() const { return m_topicId; }
55 template <typename TopicIdT = Aws::String>
56 void SetTopicId(TopicIdT&& value) {
57 m_topicIdHasBeenSet = true;
58 m_topicId = std::forward<TopicIdT>(value);
59 }
60 template <typename TopicIdT = Aws::String>
61 DescribeTopicResult& WithTopicId(TopicIdT&& value) {
62 SetTopicId(std::forward<TopicIdT>(value));
63 return *this;
64 }
66
68
71 inline const TopicDetails& GetTopic() const { return m_topic; }
72 template <typename TopicT = TopicDetails>
73 void SetTopic(TopicT&& value) {
74 m_topicHasBeenSet = true;
75 m_topic = std::forward<TopicT>(value);
76 }
77 template <typename TopicT = TopicDetails>
78 DescribeTopicResult& WithTopic(TopicT&& value) {
79 SetTopic(std::forward<TopicT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
93 DescribeTopicResult& WithRequestId(RequestIdT&& value) {
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98
100
103 inline int GetStatus() const { return m_status; }
104 inline void SetStatus(int value) {
105 m_statusHasBeenSet = true;
106 m_status = value;
107 }
108 inline DescribeTopicResult& WithStatus(int value) {
109 SetStatus(value);
110 return *this;
111 }
113
115
118 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
119 template <typename CustomInstructionsT = CustomInstructions>
120 void SetCustomInstructions(CustomInstructionsT&& value) {
121 m_customInstructionsHasBeenSet = true;
122 m_customInstructions = std::forward<CustomInstructionsT>(value);
123 }
124 template <typename CustomInstructionsT = CustomInstructions>
125 DescribeTopicResult& WithCustomInstructions(CustomInstructionsT&& value) {
126 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_arn;
134
135 Aws::String m_topicId;
136
137 TopicDetails m_topic;
138
139 Aws::String m_requestId;
140
141 int m_status{0};
142
143 CustomInstructions m_customInstructions;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_arnHasBeenSet = false;
146 bool m_topicIdHasBeenSet = false;
147 bool m_topicHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149 bool m_statusHasBeenSet = false;
150 bool m_customInstructionsHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace QuickSight
155} // namespace Aws
DescribeTopicResult & WithTopicId(TopicIdT &&value)
DescribeTopicResult & WithStatus(int value)
const CustomInstructions & GetCustomInstructions() const
DescribeTopicResult & WithArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QUICKSIGHT_API DescribeTopicResult()=default
AWS_QUICKSIGHT_API DescribeTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicResult & WithCustomInstructions(CustomInstructionsT &&value)
DescribeTopicResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API DescribeTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicResult & WithTopic(TopicT &&value)
void SetCustomInstructions(CustomInstructionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue