AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
DescribeTopicRefreshResult.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/TopicRefreshDetails.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 DescribeTopicRefreshResult() = default;
30
32
36 inline const TopicRefreshDetails& GetRefreshDetails() const { return m_refreshDetails; }
37 template <typename RefreshDetailsT = TopicRefreshDetails>
38 void SetRefreshDetails(RefreshDetailsT&& value) {
39 m_refreshDetailsHasBeenSet = true;
40 m_refreshDetails = std::forward<RefreshDetailsT>(value);
41 }
42 template <typename RefreshDetailsT = TopicRefreshDetails>
44 SetRefreshDetails(std::forward<RefreshDetailsT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63
65
68 inline int GetStatus() const { return m_status; }
69 inline void SetStatus(int value) {
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 TopicRefreshDetails m_refreshDetails;
82
83 Aws::String m_requestId;
84
85 int m_status{0};
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_refreshDetailsHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89 bool m_statusHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
DescribeTopicRefreshResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API DescribeTopicRefreshResult()=default
AWS_QUICKSIGHT_API DescribeTopicRefreshResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicRefreshResult & WithRefreshDetails(RefreshDetailsT &&value)
AWS_QUICKSIGHT_API DescribeTopicRefreshResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue