AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
UpdateTopicResult.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 UpdateTopicResult() = default;
29
31
35 inline const Aws::String& GetTopicId() const { return m_topicId; }
36 template <typename TopicIdT = Aws::String>
37 void SetTopicId(TopicIdT&& value) {
38 m_topicIdHasBeenSet = true;
39 m_topicId = std::forward<TopicIdT>(value);
40 }
41 template <typename TopicIdT = Aws::String>
42 UpdateTopicResult& WithTopicId(TopicIdT&& value) {
43 SetTopicId(std::forward<TopicIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
59 UpdateTopicResult& WithArn(ArnT&& value) {
60 SetArn(std::forward<ArnT>(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 UpdateTopicResult& 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 UpdateTopicResult& 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 UpdateTopicResult& 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_topicId;
115
116 Aws::String m_arn;
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_topicIdHasBeenSet = false;
125 bool m_arnHasBeenSet = 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
UpdateTopicResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API UpdateTopicResult()=default
AWS_QUICKSIGHT_API UpdateTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRefreshArn() const
UpdateTopicResult & WithStatus(int value)
UpdateTopicResult & WithRefreshArn(RefreshArnT &&value)
UpdateTopicResult & WithArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QUICKSIGHT_API UpdateTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTopicResult & WithTopicId(TopicIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue