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

The ID of the Amazon Web Services account that contains the topic you're * creating a refresh schedule for.

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

The ID of the Amazon Web Services account that contains the topic you're * creating a refresh schedule for.

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

The ID of the Amazon Web Services account that contains the topic you're * creating a refresh schedule for.

*/ 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 you're * creating a refresh schedule for.

*/ 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 you're * creating a refresh schedule for.

*/ 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 you're * creating a refresh schedule for.

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

The ID of the Amazon Web Services account that contains the topic you're * creating a refresh schedule for.

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

The ID of the Amazon Web Services account that contains the topic you're * creating a refresh schedule for.

*/ inline CreateTopicRefreshScheduleRequest& 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 CreateTopicRefreshScheduleRequest& 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 CreateTopicRefreshScheduleRequest& 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 CreateTopicRefreshScheduleRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *

The name of the dataset.

*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *

The name of the dataset.

*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *

The name of the dataset.

*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *

The name of the dataset.

*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *

The name of the dataset.

*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *

The name of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *

The name of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The name of the dataset.

*/ inline CreateTopicRefreshScheduleRequest& WithDatasetName(const char* value) { SetDatasetName(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 CreateTopicRefreshScheduleRequest& WithRefreshSchedule(const TopicRefreshSchedule& value) { SetRefreshSchedule(value); return *this;} /** *

The definition of a refresh schedule.

*/ inline CreateTopicRefreshScheduleRequest& 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_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; TopicRefreshSchedule m_refreshSchedule; bool m_refreshScheduleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws