/** * 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 UpdateTopicRefreshScheduleRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleRequest(); // 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 "UpdateTopicRefreshSchedule"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the Amazon Web Services account that contains the topic whose * refresh schedule you want to update.

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

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline const Aws::String& GetTopicId() const{ return m_topicId; } /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; } /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; } /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); } /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); } /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline UpdateTopicRefreshScheduleRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline UpdateTopicRefreshScheduleRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} /** *

The ID of the topic that you want to modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline UpdateTopicRefreshScheduleRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;} /** *

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 UpdateTopicRefreshScheduleRequest& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;} /** *

The ID of the dataset.

*/ inline UpdateTopicRefreshScheduleRequest& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;} /** *

The ID of the dataset.

*/ inline UpdateTopicRefreshScheduleRequest& WithDatasetId(const char* value) { SetDatasetId(value); return *this;} /** *

The definition of a refresh schedule.

*/ inline const TopicRefreshSchedule& GetRefreshSchedule() const{ return m_refreshSchedule; } /** *

The definition of a refresh schedule.

*/ inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; } /** *

The definition of a refresh schedule.

*/ inline void SetRefreshSchedule(const TopicRefreshSchedule& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = value; } /** *

The definition of a refresh schedule.

*/ inline void SetRefreshSchedule(TopicRefreshSchedule&& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = std::move(value); } /** *

The definition of a refresh schedule.

*/ inline UpdateTopicRefreshScheduleRequest& WithRefreshSchedule(const TopicRefreshSchedule& value) { SetRefreshSchedule(value); return *this;} /** *

The definition of a refresh schedule.

*/ inline UpdateTopicRefreshScheduleRequest& WithRefreshSchedule(TopicRefreshSchedule&& value) { SetRefreshSchedule(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_topicId; bool m_topicIdHasBeenSet = false; Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; TopicRefreshSchedule m_refreshSchedule; bool m_refreshScheduleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws