AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateTopicResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
24 public:
25 AWS_QUICKSIGHT_API CreateTopicResult() = default;
28
30
33 inline const Aws::String& GetArn() const { return m_arn; }
34 template <typename ArnT = Aws::String>
35 void SetArn(ArnT&& value) {
36 m_arnHasBeenSet = true;
37 m_arn = std::forward<ArnT>(value);
38 }
39 template <typename ArnT = Aws::String>
40 CreateTopicResult& WithArn(ArnT&& value) {
41 SetArn(std::forward<ArnT>(value));
42 return *this;
43 }
45
47
51 inline const Aws::String& GetTopicId() const { return m_topicId; }
52 template <typename TopicIdT = Aws::String>
53 void SetTopicId(TopicIdT&& value) {
54 m_topicIdHasBeenSet = true;
55 m_topicId = std::forward<TopicIdT>(value);
56 }
57 template <typename TopicIdT = Aws::String>
58 CreateTopicResult& WithTopicId(TopicIdT&& value) {
59 SetTopicId(std::forward<TopicIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetRefreshArn() const { return m_refreshArn; }
69 template <typename RefreshArnT = Aws::String>
70 void SetRefreshArn(RefreshArnT&& value) {
71 m_refreshArnHasBeenSet = true;
72 m_refreshArn = std::forward<RefreshArnT>(value);
73 }
74 template <typename RefreshArnT = Aws::String>
75 CreateTopicResult& WithRefreshArn(RefreshArnT&& value) {
76 SetRefreshArn(std::forward<RefreshArnT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 CreateTopicResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95
97
100 inline int GetStatus() const { return m_status; }
101 inline void SetStatus(int value) {
102 m_statusHasBeenSet = true;
103 m_status = value;
104 }
105 inline CreateTopicResult& WithStatus(int value) {
106 SetStatus(value);
107 return *this;
108 }
110 private:
111 Aws::String m_arn;
112
113 Aws::String m_topicId;
114
115 Aws::String m_refreshArn;
116
117 Aws::String m_requestId;
118
119 int m_status{0};
120 bool m_arnHasBeenSet = false;
121 bool m_topicIdHasBeenSet = false;
122 bool m_refreshArnHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124 bool m_statusHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
CreateTopicResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateTopicResult()=default
CreateTopicResult & WithTopicId(TopicIdT &&value)
const Aws::String & GetRefreshArn() const
AWS_QUICKSIGHT_API CreateTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTopicResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API CreateTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTopicResult & WithStatus(int value)
CreateTopicResult & WithRefreshArn(RefreshArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue