AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::Vector<RefreshSchedule>& GetRefreshSchedules() const{ return m_refreshSchedules; }
42 inline void SetRefreshSchedules(const Aws::Vector<RefreshSchedule>& value) { m_refreshSchedules = value; }
43 inline void SetRefreshSchedules(Aws::Vector<RefreshSchedule>&& value) { m_refreshSchedules = std::move(value); }
46 inline ListRefreshSchedulesResult& AddRefreshSchedules(const RefreshSchedule& value) { m_refreshSchedules.push_back(value); return *this; }
47 inline ListRefreshSchedulesResult& AddRefreshSchedules(RefreshSchedule&& value) { m_refreshSchedules.push_back(std::move(value)); return *this; }
49
51
54 inline int GetStatus() const{ return m_status; }
55 inline void SetStatus(int value) { 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 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline ListRefreshSchedulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline ListRefreshSchedulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline ListRefreshSchedulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::Vector<RefreshSchedule> m_refreshSchedules;
72
73 int m_status;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
ListRefreshSchedulesResult & WithRefreshSchedules(const Aws::Vector< RefreshSchedule > &value)
ListRefreshSchedulesResult & AddRefreshSchedules(RefreshSchedule &&value)
AWS_QUICKSIGHT_API ListRefreshSchedulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RefreshSchedule > & GetRefreshSchedules() const
ListRefreshSchedulesResult & WithRequestId(const char *value)
void SetRefreshSchedules(const Aws::Vector< RefreshSchedule > &value)
AWS_QUICKSIGHT_API ListRefreshSchedulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListRefreshSchedulesResult & AddRefreshSchedules(const RefreshSchedule &value)
void SetRefreshSchedules(Aws::Vector< RefreshSchedule > &&value)
ListRefreshSchedulesResult & WithRequestId(Aws::String &&value)
ListRefreshSchedulesResult & WithRequestId(const Aws::String &value)
ListRefreshSchedulesResult & WithRefreshSchedules(Aws::Vector< RefreshSchedule > &&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