AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeTopicRefreshScheduleResult.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#include <aws/quicksight/model/TopicRefreshSchedule.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API DescribeTopicRefreshScheduleResult() = default;
30
32
37 inline const Aws::String& GetTopicId() const { return m_topicId; }
38 template <typename TopicIdT = Aws::String>
39 void SetTopicId(TopicIdT&& value) {
40 m_topicIdHasBeenSet = true;
41 m_topicId = std::forward<TopicIdT>(value);
42 }
43 template <typename TopicIdT = Aws::String>
45 SetTopicId(std::forward<TopicIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
55 template <typename TopicArnT = Aws::String>
56 void SetTopicArn(TopicArnT&& value) {
57 m_topicArnHasBeenSet = true;
58 m_topicArn = std::forward<TopicArnT>(value);
59 }
60 template <typename TopicArnT = Aws::String>
62 SetTopicArn(std::forward<TopicArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
72 template <typename DatasetArnT = Aws::String>
73 void SetDatasetArn(DatasetArnT&& value) {
74 m_datasetArnHasBeenSet = true;
75 m_datasetArn = std::forward<DatasetArnT>(value);
76 }
77 template <typename DatasetArnT = Aws::String>
79 SetDatasetArn(std::forward<DatasetArnT>(value));
80 return *this;
81 }
83
85
88 inline const TopicRefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
89 template <typename RefreshScheduleT = TopicRefreshSchedule>
90 void SetRefreshSchedule(RefreshScheduleT&& value) {
91 m_refreshScheduleHasBeenSet = true;
92 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
93 }
94 template <typename RefreshScheduleT = TopicRefreshSchedule>
96 SetRefreshSchedule(std::forward<RefreshScheduleT>(value));
97 return *this;
98 }
100
102
105 inline int GetStatus() const { return m_status; }
106 inline void SetStatus(int value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_topicId;
134
135 Aws::String m_topicArn;
136
137 Aws::String m_datasetArn;
138
139 TopicRefreshSchedule m_refreshSchedule;
140
141 int m_status{0};
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_topicIdHasBeenSet = false;
146 bool m_topicArnHasBeenSet = false;
147 bool m_datasetArnHasBeenSet = false;
148 bool m_refreshScheduleHasBeenSet = false;
149 bool m_statusHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace QuickSight
155} // namespace Aws
AWS_QUICKSIGHT_API DescribeTopicRefreshScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeTopicRefreshScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicRefreshScheduleResult & WithRefreshSchedule(RefreshScheduleT &&value)
DescribeTopicRefreshScheduleResult & WithTopicId(TopicIdT &&value)
DescribeTopicRefreshScheduleResult & WithRequestId(RequestIdT &&value)
DescribeTopicRefreshScheduleResult & WithDatasetArn(DatasetArnT &&value)
DescribeTopicRefreshScheduleResult & WithTopicArn(TopicArnT &&value)
AWS_QUICKSIGHT_API DescribeTopicRefreshScheduleResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue