/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The refresh on entity for weekly or monthly schedules.

See * Also:

AWS * API Reference

*/ class ScheduleRefreshOnEntity { public: AWS_QUICKSIGHT_API ScheduleRefreshOnEntity(); AWS_QUICKSIGHT_API ScheduleRefreshOnEntity(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API ScheduleRefreshOnEntity& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The day of the week that you want to schedule a refresh on.

*/ inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; } /** *

The day of the week that you want to schedule a refresh on.

*/ inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; } /** *

The day of the week that you want to schedule a refresh on.

*/ inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; } /** *

The day of the week that you want to schedule a refresh on.

*/ inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); } /** *

The day of the week that you want to schedule a refresh on.

*/ inline ScheduleRefreshOnEntity& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;} /** *

The day of the week that you want to schedule a refresh on.

*/ inline ScheduleRefreshOnEntity& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;} /** *

The day of the month that you want to schedule refresh on.

*/ inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; } /** *

The day of the month that you want to schedule refresh on.

*/ inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; } /** *

The day of the month that you want to schedule refresh on.

*/ inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; } /** *

The day of the month that you want to schedule refresh on.

*/ inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = std::move(value); } /** *

The day of the month that you want to schedule refresh on.

*/ inline void SetDayOfMonth(const char* value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth.assign(value); } /** *

The day of the month that you want to schedule refresh on.

*/ inline ScheduleRefreshOnEntity& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;} /** *

The day of the month that you want to schedule refresh on.

*/ inline ScheduleRefreshOnEntity& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;} /** *

The day of the month that you want to schedule refresh on.

*/ inline ScheduleRefreshOnEntity& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;} private: DayOfWeek m_dayOfWeek; bool m_dayOfWeekHasBeenSet = false; Aws::String m_dayOfMonth; bool m_dayOfMonthHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws