AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
DescribeTopicV2Result.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/TopicV2Details.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 DescribeTopicV2Result() = 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>
62 SetTopicId(std::forward<TopicIdT>(value));
63 return *this;
64 }
66
68
71 inline const TopicV2Details& GetTopic() const { return m_topic; }
72 template <typename TopicT = TopicV2Details>
73 void SetTopic(TopicT&& value) {
74 m_topicHasBeenSet = true;
75 m_topic = std::forward<TopicT>(value);
76 }
77 template <typename TopicT = TopicV2Details>
79 SetTopic(std::forward<TopicT>(value));
80 return *this;
81 }
83
85
86 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
87 template <typename CustomInstructionsT = CustomInstructions>
88 void SetCustomInstructions(CustomInstructionsT&& value) {
89 m_customInstructionsHasBeenSet = true;
90 m_customInstructions = std::forward<CustomInstructionsT>(value);
91 }
92 template <typename CustomInstructionsT = CustomInstructions>
93 DescribeTopicV2Result& WithCustomInstructions(CustomInstructionsT&& value) {
94 SetCustomInstructions(std::forward<CustomInstructionsT>(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 }
109 SetStatus(value);
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
129
130 private:
131 Aws::String m_arn;
132
133 Aws::String m_topicId;
134
135 TopicV2Details m_topic;
136
137 CustomInstructions m_customInstructions;
138
139 int m_status{0};
140
141 Aws::String m_requestId;
142 Aws::Http::HttpResponseCode m_HttpResponseCode;
143 bool m_arnHasBeenSet = false;
144 bool m_topicIdHasBeenSet = false;
145 bool m_topicHasBeenSet = false;
146 bool m_customInstructionsHasBeenSet = false;
147 bool m_statusHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace QuickSight
153} // namespace Aws
DescribeTopicV2Result & WithTopic(TopicT &&value)
DescribeTopicV2Result & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API DescribeTopicV2Result()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QUICKSIGHT_API DescribeTopicV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCustomInstructions(CustomInstructionsT &&value)
DescribeTopicV2Result & WithTopicId(TopicIdT &&value)
AWS_QUICKSIGHT_API DescribeTopicV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicV2Result & WithStatus(int value)
DescribeTopicV2Result & WithRequestId(RequestIdT &&value)
DescribeTopicV2Result & WithCustomInstructions(CustomInstructionsT &&value)
const CustomInstructions & GetCustomInstructions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue