/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class ListRefreshSchedulesResult { public: AWS_QUICKSIGHT_API ListRefreshSchedulesResult(); AWS_QUICKSIGHT_API ListRefreshSchedulesResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API ListRefreshSchedulesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of refresh schedules for the dataset.

*/ inline const Aws::Vector& GetRefreshSchedules() const{ return m_refreshSchedules; } /** *

The list of refresh schedules for the dataset.

*/ inline void SetRefreshSchedules(const Aws::Vector& value) { m_refreshSchedules = value; } /** *

The list of refresh schedules for the dataset.

*/ inline void SetRefreshSchedules(Aws::Vector&& value) { m_refreshSchedules = std::move(value); } /** *

The list of refresh schedules for the dataset.

*/ inline ListRefreshSchedulesResult& WithRefreshSchedules(const Aws::Vector& value) { SetRefreshSchedules(value); return *this;} /** *

The list of refresh schedules for the dataset.

*/ inline ListRefreshSchedulesResult& WithRefreshSchedules(Aws::Vector&& value) { SetRefreshSchedules(std::move(value)); return *this;} /** *

The list of refresh schedules for the dataset.

*/ inline ListRefreshSchedulesResult& AddRefreshSchedules(const RefreshSchedule& value) { m_refreshSchedules.push_back(value); return *this; } /** *

The list of refresh schedules for the dataset.

*/ inline ListRefreshSchedulesResult& AddRefreshSchedules(RefreshSchedule&& value) { m_refreshSchedules.push_back(std::move(value)); return *this; } /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline ListRefreshSchedulesResult& WithStatus(int value) { SetStatus(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListRefreshSchedulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListRefreshSchedulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListRefreshSchedulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_refreshSchedules; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws