/** * 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 IoT { namespace Model { /** */ class ConfirmTopicRuleDestinationRequest : public IoTRequest { public: AWS_IOT_API ConfirmTopicRuleDestinationRequest(); // 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 "ConfirmTopicRuleDestination"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline const Aws::String& GetConfirmationToken() const{ return m_confirmationToken; } /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline bool ConfirmationTokenHasBeenSet() const { return m_confirmationTokenHasBeenSet; } /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline void SetConfirmationToken(const Aws::String& value) { m_confirmationTokenHasBeenSet = true; m_confirmationToken = value; } /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline void SetConfirmationToken(Aws::String&& value) { m_confirmationTokenHasBeenSet = true; m_confirmationToken = std::move(value); } /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline void SetConfirmationToken(const char* value) { m_confirmationTokenHasBeenSet = true; m_confirmationToken.assign(value); } /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline ConfirmTopicRuleDestinationRequest& WithConfirmationToken(const Aws::String& value) { SetConfirmationToken(value); return *this;} /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline ConfirmTopicRuleDestinationRequest& WithConfirmationToken(Aws::String&& value) { SetConfirmationToken(std::move(value)); return *this;} /** *

The token used to confirm ownership or access to the topic rule confirmation * URL.

*/ inline ConfirmTopicRuleDestinationRequest& WithConfirmationToken(const char* value) { SetConfirmationToken(value); return *this;} private: Aws::String m_confirmationToken; bool m_confirmationTokenHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws