/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of a worker configuration.See Also:
AWS
* API Reference
The time that a worker configuration was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that a worker configuration was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time that a worker configuration was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time that a worker configuration was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time that a worker configuration was created.
*/ inline WorkerConfigurationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that a worker configuration was created.
*/ inline WorkerConfigurationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The description of a worker configuration.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of a worker configuration.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of a worker configuration.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of a worker configuration.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of a worker configuration.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of a worker configuration.
*/ inline WorkerConfigurationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of a worker configuration.
*/ inline WorkerConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of a worker configuration.
*/ inline WorkerConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The latest revision of a worker configuration.
*/ inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const{ return m_latestRevision; } /** *The latest revision of a worker configuration.
*/ inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; } /** *The latest revision of a worker configuration.
*/ inline void SetLatestRevision(const WorkerConfigurationRevisionSummary& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = value; } /** *The latest revision of a worker configuration.
*/ inline void SetLatestRevision(WorkerConfigurationRevisionSummary&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::move(value); } /** *The latest revision of a worker configuration.
*/ inline WorkerConfigurationSummary& WithLatestRevision(const WorkerConfigurationRevisionSummary& value) { SetLatestRevision(value); return *this;} /** *The latest revision of a worker configuration.
*/ inline WorkerConfigurationSummary& 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 bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the worker configuration.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the worker configuration.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the worker configuration.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the worker configuration.
*/ inline WorkerConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the worker configuration.
*/ inline WorkerConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the worker configuration.
*/ inline WorkerConfigurationSummary& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfigurationSummary& WithWorkerConfigurationArn(const Aws::String& value) { SetWorkerConfigurationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfigurationSummary& WithWorkerConfigurationArn(Aws::String&& value) { SetWorkerConfigurationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfigurationSummary& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; WorkerConfigurationRevisionSummary m_latestRevision; bool m_latestRevisionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_workerConfigurationArn; bool m_workerConfigurationArnHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws