AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeTopicResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/CustomInstructions.h>
10#include <aws/quicksight/model/TopicDetails.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 DescribeTopicResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetTopicId() const { return m_topicId; }
54 template <typename TopicIdT = Aws::String>
55 void SetTopicId(TopicIdT&& value) {
56 m_topicIdHasBeenSet = true;
57 m_topicId = std::forward<TopicIdT>(value);
58 }
59 template <typename TopicIdT = Aws::String>
60 DescribeTopicResult& WithTopicId(TopicIdT&& value) {
61 SetTopicId(std::forward<TopicIdT>(value));
62 return *this;
63 }
65
67
70 inline const TopicDetails& GetTopic() const { return m_topic; }
71 template <typename TopicT = TopicDetails>
72 void SetTopic(TopicT&& value) {
73 m_topicHasBeenSet = true;
74 m_topic = std::forward<TopicT>(value);
75 }
76 template <typename TopicT = TopicDetails>
77 DescribeTopicResult& WithTopic(TopicT&& value) {
78 SetTopic(std::forward<TopicT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
92 DescribeTopicResult& WithRequestId(RequestIdT&& value) {
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97
99
102 inline int GetStatus() const { return m_status; }
103 inline void SetStatus(int value) {
104 m_statusHasBeenSet = true;
105 m_status = value;
106 }
107 inline DescribeTopicResult& WithStatus(int value) {
108 SetStatus(value);
109 return *this;
110 }
112
114
117 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
118 template <typename CustomInstructionsT = CustomInstructions>
119 void SetCustomInstructions(CustomInstructionsT&& value) {
120 m_customInstructionsHasBeenSet = true;
121 m_customInstructions = std::forward<CustomInstructionsT>(value);
122 }
123 template <typename CustomInstructionsT = CustomInstructions>
124 DescribeTopicResult& WithCustomInstructions(CustomInstructionsT&& value) {
125 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_arn;
131
132 Aws::String m_topicId;
133
134 TopicDetails m_topic;
135
136 Aws::String m_requestId;
137
138 int m_status{0};
139
140 CustomInstructions m_customInstructions;
141 bool m_arnHasBeenSet = false;
142 bool m_topicIdHasBeenSet = false;
143 bool m_topicHasBeenSet = false;
144 bool m_requestIdHasBeenSet = false;
145 bool m_statusHasBeenSet = false;
146 bool m_customInstructionsHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace QuickSight
151} // namespace Aws
DescribeTopicResult & WithTopicId(TopicIdT &&value)
DescribeTopicResult & WithStatus(int value)
const CustomInstructions & GetCustomInstructions() const
DescribeTopicResult & WithArn(ArnT &&value)
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