/** * 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 description of the worker configuration revision.

See * Also:

AWS * API Reference

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

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 bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time that the worker configuration was created.

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

The time that the worker configuration was created.

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

The time that the worker configuration was created.

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

The time that the worker configuration was created.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

The description of the worker configuration revision.

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

Base64 encoded contents of the connect-distributed.properties file.

*/ inline const Aws::String& GetPropertiesFileContent() const{ return m_propertiesFileContent; } /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline bool PropertiesFileContentHasBeenSet() const { return m_propertiesFileContentHasBeenSet; } /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline void SetPropertiesFileContent(const Aws::String& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = value; } /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline void SetPropertiesFileContent(Aws::String&& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = std::move(value); } /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline void SetPropertiesFileContent(const char* value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent.assign(value); } /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline WorkerConfigurationRevisionDescription& WithPropertiesFileContent(const Aws::String& value) { SetPropertiesFileContent(value); return *this;} /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline WorkerConfigurationRevisionDescription& WithPropertiesFileContent(Aws::String&& value) { SetPropertiesFileContent(std::move(value)); return *this;} /** *

Base64 encoded contents of the connect-distributed.properties file.

*/ inline WorkerConfigurationRevisionDescription& WithPropertiesFileContent(const char* value) { SetPropertiesFileContent(value); return *this;} /** *

The description of a revision of the worker configuration.

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

The description of a revision of the worker configuration.

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

The description of a revision of the worker configuration.

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

The description of a revision of the worker configuration.

*/ inline WorkerConfigurationRevisionDescription& 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; Aws::String m_propertiesFileContent; bool m_propertiesFileContentHasBeenSet = false; long long m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws