AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeRefreshScheduleResult.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/RefreshSchedule.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 DescribeRefreshScheduleResult() = default;
30
32
35 inline const RefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
36 template <typename RefreshScheduleT = RefreshSchedule>
37 void SetRefreshSchedule(RefreshScheduleT&& value) {
38 m_refreshScheduleHasBeenSet = true;
39 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
40 }
41 template <typename RefreshScheduleT = RefreshSchedule>
43 SetRefreshSchedule(std::forward<RefreshScheduleT>(value));
44 return *this;
45 }
47
49
52 inline int GetStatus() const { return m_status; }
53 inline void SetStatus(int value) {
54 m_statusHasBeenSet = true;
55 m_status = value;
56 }
58 SetStatus(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetArn() const { return m_arn; }
83 template <typename ArnT = Aws::String>
84 void SetArn(ArnT&& value) {
85 m_arnHasBeenSet = true;
86 m_arn = std::forward<ArnT>(value);
87 }
88 template <typename ArnT = Aws::String>
90 SetArn(std::forward<ArnT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 RefreshSchedule m_refreshSchedule;
98
99 int m_status{0};
100
101 Aws::String m_requestId;
102
103 Aws::String m_arn;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_refreshScheduleHasBeenSet = false;
106 bool m_statusHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108 bool m_arnHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
AWS_QUICKSIGHT_API DescribeRefreshScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRefreshScheduleResult & WithRequestId(RequestIdT &&value)
DescribeRefreshScheduleResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API DescribeRefreshScheduleResult()=default
DescribeRefreshScheduleResult & WithRefreshSchedule(RefreshScheduleT &&value)
AWS_QUICKSIGHT_API DescribeRefreshScheduleResult & 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