AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
UpdateTopicRefreshScheduleResult.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 UpdateTopicRefreshScheduleResult() = 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>
43 SetTopicId(std::forward<TopicIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
53 template <typename TopicArnT = Aws::String>
54 void SetTopicArn(TopicArnT&& value) {
55 m_topicArnHasBeenSet = true;
56 m_topicArn = std::forward<TopicArnT>(value);
57 }
58 template <typename TopicArnT = Aws::String>
60 SetTopicArn(std::forward<TopicArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
70 template <typename DatasetArnT = Aws::String>
71 void SetDatasetArn(DatasetArnT&& value) {
72 m_datasetArnHasBeenSet = true;
73 m_datasetArn = std::forward<DatasetArnT>(value);
74 }
75 template <typename DatasetArnT = Aws::String>
77 SetDatasetArn(std::forward<DatasetArnT>(value));
78 return *this;
79 }
81
83
86 inline int GetStatus() const { return m_status; }
87 inline void SetStatus(int value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(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_topicArn;
117
118 Aws::String m_datasetArn;
119
120 int m_status{0};
121
122 Aws::String m_requestId;
123 Aws::Http::HttpResponseCode m_HttpResponseCode;
124 bool m_topicIdHasBeenSet = false;
125 bool m_topicArnHasBeenSet = false;
126 bool m_datasetArnHasBeenSet = false;
127 bool m_statusHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
UpdateTopicRefreshScheduleResult & WithTopicArn(TopicArnT &&value)
AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTopicRefreshScheduleResult & WithTopicId(TopicIdT &&value)
AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleResult()=default
UpdateTopicRefreshScheduleResult & WithDatasetArn(DatasetArnT &&value)
AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTopicRefreshScheduleResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue