AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeRefreshScheduleResult.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/RefreshSchedule.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 DescribeRefreshScheduleResult() = default;
29
31
34 inline const RefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
35 template <typename RefreshScheduleT = RefreshSchedule>
36 void SetRefreshSchedule(RefreshScheduleT&& value) {
37 m_refreshScheduleHasBeenSet = true;
38 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
39 }
40 template <typename RefreshScheduleT = RefreshSchedule>
42 SetRefreshSchedule(std::forward<RefreshScheduleT>(value));
43 return *this;
44 }
46
48
51 inline int GetStatus() const { return m_status; }
52 inline void SetStatus(int value) {
53 m_statusHasBeenSet = true;
54 m_status = value;
55 }
57 SetStatus(value);
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetArn() const { return m_arn; }
82 template <typename ArnT = Aws::String>
83 void SetArn(ArnT&& value) {
84 m_arnHasBeenSet = true;
85 m_arn = std::forward<ArnT>(value);
86 }
87 template <typename ArnT = Aws::String>
89 SetArn(std::forward<ArnT>(value));
90 return *this;
91 }
93 private:
94 RefreshSchedule m_refreshSchedule;
95
96 int m_status{0};
97
98 Aws::String m_requestId;
99
100 Aws::String m_arn;
101 bool m_refreshScheduleHasBeenSet = false;
102 bool m_statusHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104 bool m_arnHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace QuickSight
109} // 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