AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
CreateTopicResult.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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API CreateTopicResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
41 CreateTopicResult& WithArn(ArnT&& value) {
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetTopicId() const { return m_topicId; }
53 template <typename TopicIdT = Aws::String>
54 void SetTopicId(TopicIdT&& value) {
55 m_topicIdHasBeenSet = true;
56 m_topicId = std::forward<TopicIdT>(value);
57 }
58 template <typename TopicIdT = Aws::String>
59 CreateTopicResult& WithTopicId(TopicIdT&& value) {
60 SetTopicId(std::forward<TopicIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetRefreshArn() const { return m_refreshArn; }
70 template <typename RefreshArnT = Aws::String>
71 void SetRefreshArn(RefreshArnT&& value) {
72 m_refreshArnHasBeenSet = true;
73 m_refreshArn = std::forward<RefreshArnT>(value);
74 }
75 template <typename RefreshArnT = Aws::String>
76 CreateTopicResult& WithRefreshArn(RefreshArnT&& value) {
77 SetRefreshArn(std::forward<RefreshArnT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 CreateTopicResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96
98
101 inline int GetStatus() const { return m_status; }
102 inline void SetStatus(int value) {
103 m_statusHasBeenSet = true;
104 m_status = value;
105 }
106 inline CreateTopicResult& WithStatus(int value) {
107 SetStatus(value);
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::String m_arn;
115
116 Aws::String m_topicId;
117
118 Aws::String m_refreshArn;
119
120 Aws::String m_requestId;
121
122 int m_status{0};
123 Aws::Http::HttpResponseCode m_HttpResponseCode;
124 bool m_arnHasBeenSet = false;
125 bool m_topicIdHasBeenSet = false;
126 bool m_refreshArnHasBeenSet = false;
127 bool m_requestIdHasBeenSet = false;
128 bool m_statusHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
CreateTopicResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateTopicResult()=default
CreateTopicResult & WithTopicId(TopicIdT &&value)
const Aws::String & GetRefreshArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() 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