/** * 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 Kafka { namespace Model { class DescribeConfigurationRevisionResult { public: AWS_KAFKA_API DescribeConfigurationRevisionResult(); AWS_KAFKA_API DescribeConfigurationRevisionResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKA_API DescribeConfigurationRevisionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the configuration.

* */ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the configuration.

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

The Amazon Resource Name (ARN) of the configuration.

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

The Amazon Resource Name (ARN) of the configuration.

* */ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the configuration.

* */ inline DescribeConfigurationRevisionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration.

* */ inline DescribeConfigurationRevisionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration.

* */ inline DescribeConfigurationRevisionResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The time when the configuration was created.

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

The time when the configuration was created.

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

The time when the configuration was created.

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

The time when the configuration was created.

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

The time when the configuration was created.

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

The description of the configuration.

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

The description of the configuration.

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

The description of the configuration.

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

The description of the configuration.

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

The description of the configuration.

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

The description of the configuration.

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

The description of the configuration.

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

The revision number.

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

The revision number.

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

The revision number.

*/ inline DescribeConfigurationRevisionResult& WithRevision(long long value) { SetRevision(value); return *this;} /** *

Contents of the server.properties file. * When using the API, you must ensure that the contents of the file are base64 * encoded. When using the AWS Management Console, the SDK, or the * AWS CLI, the contents of server.properties can be in * plaintext.

*/ inline const Aws::Utils::ByteBuffer& GetServerProperties() const{ return m_serverProperties; } /** *

Contents of the server.properties file. * When using the API, you must ensure that the contents of the file are base64 * encoded. When using the AWS Management Console, the SDK, or the * AWS CLI, the contents of server.properties can be in * plaintext.

*/ inline void SetServerProperties(const Aws::Utils::ByteBuffer& value) { m_serverProperties = value; } /** *

Contents of the server.properties file. * When using the API, you must ensure that the contents of the file are base64 * encoded. When using the AWS Management Console, the SDK, or the * AWS CLI, the contents of server.properties can be in * plaintext.

*/ inline void SetServerProperties(Aws::Utils::ByteBuffer&& value) { m_serverProperties = std::move(value); } /** *

Contents of the server.properties file. * When using the API, you must ensure that the contents of the file are base64 * encoded. When using the AWS Management Console, the SDK, or the * AWS CLI, the contents of server.properties can be in * plaintext.

*/ inline DescribeConfigurationRevisionResult& WithServerProperties(const Aws::Utils::ByteBuffer& value) { SetServerProperties(value); return *this;} /** *

Contents of the server.properties file. * When using the API, you must ensure that the contents of the file are base64 * encoded. When using the AWS Management Console, the SDK, or the * AWS CLI, the contents of server.properties can be in * plaintext.

*/ inline DescribeConfigurationRevisionResult& WithServerProperties(Aws::Utils::ByteBuffer&& value) { SetServerProperties(std::move(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 DescribeConfigurationRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConfigurationRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConfigurationRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; Aws::String m_description; long long m_revision; Aws::Utils::ByteBuffer m_serverProperties; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws