AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeTopicResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TopicDetails.h>
10#include <aws/quicksight/model/CustomInstructions.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API DescribeTopicResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 DescribeTopicResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
53 inline const Aws::String& GetTopicId() const { return m_topicId; }
54 template<typename TopicIdT = Aws::String>
55 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet = true; m_topicId = std::forward<TopicIdT>(value); }
56 template<typename TopicIdT = Aws::String>
57 DescribeTopicResult& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
59
61
64 inline const TopicDetails& GetTopic() const { return m_topic; }
65 template<typename TopicT = TopicDetails>
66 void SetTopic(TopicT&& value) { m_topicHasBeenSet = true; m_topic = std::forward<TopicT>(value); }
67 template<typename TopicT = TopicDetails>
68 DescribeTopicResult& WithTopic(TopicT&& value) { SetTopic(std::forward<TopicT>(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 DescribeTopicResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79
81
84 inline int GetStatus() const { return m_status; }
85 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
86 inline DescribeTopicResult& WithStatus(int value) { SetStatus(value); return *this;}
88
90
93 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
94 template<typename CustomInstructionsT = CustomInstructions>
95 void SetCustomInstructions(CustomInstructionsT&& value) { m_customInstructionsHasBeenSet = true; m_customInstructions = std::forward<CustomInstructionsT>(value); }
96 template<typename CustomInstructionsT = CustomInstructions>
97 DescribeTopicResult& WithCustomInstructions(CustomInstructionsT&& value) { SetCustomInstructions(std::forward<CustomInstructionsT>(value)); return *this;}
99 private:
100
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 Aws::String m_topicId;
105 bool m_topicIdHasBeenSet = false;
106
107 TopicDetails m_topic;
108 bool m_topicHasBeenSet = false;
109
110 Aws::String m_requestId;
111 bool m_requestIdHasBeenSet = false;
112
113 int m_status{0};
114 bool m_statusHasBeenSet = false;
115
116 CustomInstructions m_customInstructions;
117 bool m_customInstructionsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace QuickSight
122} // 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