AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeTopicRefreshResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/TopicRefreshDetails.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 DescribeTopicRefreshResult() = default;
29
31
35 inline const TopicRefreshDetails& GetRefreshDetails() const { return m_refreshDetails; }
36 template <typename RefreshDetailsT = TopicRefreshDetails>
37 void SetRefreshDetails(RefreshDetailsT&& value) {
38 m_refreshDetailsHasBeenSet = true;
39 m_refreshDetails = std::forward<RefreshDetailsT>(value);
40 }
41 template <typename RefreshDetailsT = TopicRefreshDetails>
43 SetRefreshDetails(std::forward<RefreshDetailsT>(value));
44 return *this;
45 }
47
49
50 inline const Aws::String& GetRequestId() const { return m_requestId; }
51 template <typename RequestIdT = Aws::String>
52 void SetRequestId(RequestIdT&& value) {
53 m_requestIdHasBeenSet = true;
54 m_requestId = std::forward<RequestIdT>(value);
55 }
56 template <typename RequestIdT = Aws::String>
58 SetRequestId(std::forward<RequestIdT>(value));
59 return *this;
60 }
62
64
67 inline int GetStatus() const { return m_status; }
68 inline void SetStatus(int value) {
69 m_statusHasBeenSet = true;
70 m_status = value;
71 }
73 SetStatus(value);
74 return *this;
75 }
77 private:
78 TopicRefreshDetails m_refreshDetails;
79
80 Aws::String m_requestId;
81
82 int m_status{0};
83 bool m_refreshDetailsHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85 bool m_statusHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace QuickSight
90} // 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