AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
CreateRefreshScheduleResult.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
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 CreateRefreshScheduleResult() = default;
29
31
34 inline int GetStatus() const { return m_status; }
35 inline void SetStatus(int value) {
36 m_statusHasBeenSet = true;
37 m_status = value;
38 }
40 SetStatus(value);
41 return *this;
42 }
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
65 template <typename ScheduleIdT = Aws::String>
66 void SetScheduleId(ScheduleIdT&& value) {
67 m_scheduleIdHasBeenSet = true;
68 m_scheduleId = std::forward<ScheduleIdT>(value);
69 }
70 template <typename ScheduleIdT = Aws::String>
72 SetScheduleId(std::forward<ScheduleIdT>(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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 int m_status{0};
97
98 Aws::String m_requestId;
99
100 Aws::String m_scheduleId;
101
102 Aws::String m_arn;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_statusHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106 bool m_scheduleIdHasBeenSet = false;
107 bool m_arnHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
CreateRefreshScheduleResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateRefreshScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateRefreshScheduleResult()=default
CreateRefreshScheduleResult & WithScheduleId(ScheduleIdT &&value)
AWS_QUICKSIGHT_API CreateRefreshScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRefreshScheduleResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue