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

The ID of the Amazon Web Services account that contains the topic that 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 that you * want to update.

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

The ID of the Amazon Web Services account that contains the topic that 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 that 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 that 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 that you * want to update.

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

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

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

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

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

The definition of the topic that you want to update.

*/ inline const TopicDetails& GetTopic() const{ return m_topic; } /** *

The definition of the topic that you want to update.

*/ inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; } /** *

The definition of the topic that you want to update.

*/ inline void SetTopic(const TopicDetails& value) { m_topicHasBeenSet = true; m_topic = value; } /** *

The definition of the topic that you want to update.

*/ inline void SetTopic(TopicDetails&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); } /** *

The definition of the topic that you want to update.

*/ inline UpdateTopicRequest& WithTopic(const TopicDetails& value) { SetTopic(value); return *this;} /** *

The definition of the topic that you want to update.

*/ inline UpdateTopicRequest& WithTopic(TopicDetails&& value) { SetTopic(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_topicId; bool m_topicIdHasBeenSet = false; TopicDetails m_topic; bool m_topicHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws