/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { class DescribeWorkerConfigurationResult { public: AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult(); AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The time that the worker configuration was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time that the worker configuration was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time that the worker configuration was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time that the worker configuration was created.

*/ inline DescribeWorkerConfigurationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the worker configuration was created.

*/ inline DescribeWorkerConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The description of the worker configuration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the worker configuration.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the worker configuration.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the worker configuration.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The latest revision of the custom configuration.

*/ inline const WorkerConfigurationRevisionDescription& GetLatestRevision() const{ return m_latestRevision; } /** *

The latest revision of the custom configuration.

*/ inline void SetLatestRevision(const WorkerConfigurationRevisionDescription& value) { m_latestRevision = value; } /** *

The latest revision of the custom configuration.

*/ inline void SetLatestRevision(WorkerConfigurationRevisionDescription&& value) { m_latestRevision = std::move(value); } /** *

The latest revision of the custom configuration.

*/ inline DescribeWorkerConfigurationResult& WithLatestRevision(const WorkerConfigurationRevisionDescription& value) { SetLatestRevision(value); return *this;} /** *

The latest revision of the custom configuration.

*/ inline DescribeWorkerConfigurationResult& WithLatestRevision(WorkerConfigurationRevisionDescription&& value) { SetLatestRevision(std::move(value)); return *this;} /** *

The name of the worker configuration.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the worker configuration.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the worker configuration.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the worker configuration.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the worker configuration.

*/ inline DescribeWorkerConfigurationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

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

The Amazon Resource Name (ARN) of the custom configuration.

*/ inline DescribeWorkerConfigurationResult& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeWorkerConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeWorkerConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeWorkerConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_creationTime; Aws::String m_description; WorkerConfigurationRevisionDescription m_latestRevision; Aws::String m_name; Aws::String m_workerConfigurationArn; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws