/** * 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 { namespace QuickSight { namespace Model { /** */ class UpdateRefreshScheduleRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API UpdateRefreshScheduleRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateRefreshSchedule"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID of the dataset.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The ID of the dataset.

*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *

The ID of the dataset.

*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *

The ID of the dataset.

*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *

The ID of the dataset.

*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *

The ID of the dataset.

*/ inline UpdateRefreshScheduleRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The ID of the dataset.

*/ inline UpdateRefreshScheduleRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The ID of the dataset.

*/ inline UpdateRefreshScheduleRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The Amazon Web Services account ID.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The Amazon Web Services account ID.

*/ inline UpdateRefreshScheduleRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline UpdateRefreshScheduleRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID.

*/ inline UpdateRefreshScheduleRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The refresh schedule.

*/ inline const RefreshSchedule& GetSchedule() const{ return m_schedule; } /** *

The refresh schedule.

*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *

The refresh schedule.

*/ inline void SetSchedule(const RefreshSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *

The refresh schedule.

*/ inline void SetSchedule(RefreshSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *

The refresh schedule.

*/ inline UpdateRefreshScheduleRequest& WithSchedule(const RefreshSchedule& value) { SetSchedule(value); return *this;} /** *

The refresh schedule.

*/ inline UpdateRefreshScheduleRequest& WithSchedule(RefreshSchedule&& value) { SetSchedule(std::move(value)); return *this;} private: Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; RefreshSchedule m_schedule; bool m_scheduleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws