/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { /** *

The summary of a worker configuration revision.

See Also:

AWS * API Reference

*/ class WorkerConfigurationRevisionSummary { public: AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary(); AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The time that a worker configuration revision was created.

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

The time that a worker configuration revision was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time that a worker configuration revision was created.

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

The time that a worker configuration revision was created.

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

The time that a worker configuration revision was created.

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

The time that a worker configuration revision was created.

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

The description of a worker configuration revision.

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

The description of a worker configuration revision.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of a worker configuration revision.

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

The description of a worker configuration revision.

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

The description of a worker configuration revision.

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

The description of a worker configuration revision.

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

The description of a worker configuration revision.

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

The description of a worker configuration revision.

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

The revision of a worker configuration.

*/ inline long long GetRevision() const{ return m_revision; } /** *

The revision of a worker configuration.

*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *

The revision of a worker configuration.

*/ inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; } /** *

The revision of a worker configuration.

*/ inline WorkerConfigurationRevisionSummary& WithRevision(long long value) { SetRevision(value); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; long long m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws