/** * 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 Kafka { namespace Model { /** *

Describes a configuration revision.

See * Also:

AWS * API Reference

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

The time when the configuration revision was created.

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

The time when the configuration revision was created.

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

The time when the configuration revision was created.

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

The time when the configuration revision was created.

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

The time when the configuration revision was created.

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

The time when the configuration revision was created.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The description of the configuration revision.

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

The revision number.

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

The revision number.

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

The revision number.

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

The revision number.

*/ inline ConfigurationRevision& 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 Kafka } // namespace Aws