/** * 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 CreateWorkerConfigurationResult { public: AWS_KAFKACONNECT_API CreateWorkerConfigurationResult(); AWS_KAFKACONNECT_API CreateWorkerConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKACONNECT_API CreateWorkerConfigurationResult& 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 CreateWorkerConfigurationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the worker configuration was created.

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

The latest revision of the worker configuration.

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

The latest revision of the worker configuration.

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

The latest revision of the worker configuration.

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

The latest revision of the worker configuration.

*/ inline CreateWorkerConfigurationResult& WithLatestRevision(const WorkerConfigurationRevisionSummary& value) { SetLatestRevision(value); return *this;} /** *

The latest revision of the worker configuration.

*/ inline CreateWorkerConfigurationResult& WithLatestRevision(WorkerConfigurationRevisionSummary&& 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 CreateWorkerConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the worker configuration.

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

The name of the worker configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

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

The Amazon Resource Name (ARN) that Amazon assigned to the worker * configuration.

*/ inline CreateWorkerConfigurationResult& 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 CreateWorkerConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateWorkerConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateWorkerConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_creationTime; WorkerConfigurationRevisionSummary m_latestRevision; Aws::String m_name; Aws::String m_workerConfigurationArn; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws