AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListRefreshSchedulesResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/RefreshSchedule.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API ListRefreshSchedulesResult() = default;
35
36
38
41 inline const Aws::Vector<RefreshSchedule>& GetRefreshSchedules() const { return m_refreshSchedules; }
42 template<typename RefreshSchedulesT = Aws::Vector<RefreshSchedule>>
43 void SetRefreshSchedules(RefreshSchedulesT&& value) { m_refreshSchedulesHasBeenSet = true; m_refreshSchedules = std::forward<RefreshSchedulesT>(value); }
44 template<typename RefreshSchedulesT = Aws::Vector<RefreshSchedule>>
45 ListRefreshSchedulesResult& WithRefreshSchedules(RefreshSchedulesT&& value) { SetRefreshSchedules(std::forward<RefreshSchedulesT>(value)); return *this;}
46 template<typename RefreshSchedulesT = RefreshSchedule>
47 ListRefreshSchedulesResult& AddRefreshSchedules(RefreshSchedulesT&& value) { m_refreshSchedulesHasBeenSet = true; m_refreshSchedules.emplace_back(std::forward<RefreshSchedulesT>(value)); return *this; }
49
51
54 inline int GetStatus() const { return m_status; }
55 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
56 inline ListRefreshSchedulesResult& WithStatus(int value) { SetStatus(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 ListRefreshSchedulesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::Vector<RefreshSchedule> m_refreshSchedules;
70 bool m_refreshSchedulesHasBeenSet = false;
71
72 int m_status{0};
73 bool m_statusHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
ListRefreshSchedulesResult & WithRefreshSchedules(RefreshSchedulesT &&value)
ListRefreshSchedulesResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API ListRefreshSchedulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RefreshSchedule > & GetRefreshSchedules() const
AWS_QUICKSIGHT_API ListRefreshSchedulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API ListRefreshSchedulesResult()=default
ListRefreshSchedulesResult & AddRefreshSchedules(RefreshSchedulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue