/** * 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 KafkaConnect { namespace Model { /** */ class DescribeWorkerConfigurationRequest : public KafkaConnectRequest { public: AWS_KAFKACONNECT_API DescribeWorkerConfigurationRequest(); // 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 "DescribeWorkerConfiguration"; } AWS_KAFKACONNECT_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; } /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline DescribeWorkerConfigurationRequest& WithWorkerConfigurationArn(const Aws::String& value) { SetWorkerConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline DescribeWorkerConfigurationRequest& WithWorkerConfigurationArn(Aws::String&& value) { SetWorkerConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the worker configuration that you want to * get information about.

*/ inline DescribeWorkerConfigurationRequest& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;} private: Aws::String m_workerConfigurationArn; bool m_workerConfigurationArnHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws