/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 DescribeConfigurationResult { public: AWS_KAFKA_API DescribeConfigurationResult(); AWS_KAFKA_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKA_API DescribeConfigurationResult& 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 DescribeConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration.

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

The Amazon Resource Name (ARN) of the configuration.

* */ inline DescribeConfigurationResult& 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 DescribeConfigurationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when the configuration was created.

*/ inline DescribeConfigurationResult& 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 DescribeConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the configuration.

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

The description of the configuration.

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

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline const Aws::Vector& GetKafkaVersions() const{ return m_kafkaVersions; } /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline void SetKafkaVersions(const Aws::Vector& value) { m_kafkaVersions = value; } /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline void SetKafkaVersions(Aws::Vector&& value) { m_kafkaVersions = std::move(value); } /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline DescribeConfigurationResult& WithKafkaVersions(const Aws::Vector& value) { SetKafkaVersions(value); return *this;} /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline DescribeConfigurationResult& WithKafkaVersions(Aws::Vector&& value) { SetKafkaVersions(std::move(value)); return *this;} /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline DescribeConfigurationResult& AddKafkaVersions(const Aws::String& value) { m_kafkaVersions.push_back(value); return *this; } /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline DescribeConfigurationResult& AddKafkaVersions(Aws::String&& value) { m_kafkaVersions.push_back(std::move(value)); return *this; } /** *

The versions of Apache Kafka with which you can use this MSK * configuration.

*/ inline DescribeConfigurationResult& AddKafkaVersions(const char* value) { m_kafkaVersions.push_back(value); return *this; } /** *

Latest revision of the configuration.

*/ inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; } /** *

Latest revision of the configuration.

*/ inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; } /** *

Latest revision of the configuration.

*/ inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); } /** *

Latest revision of the configuration.

*/ inline DescribeConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;} /** *

Latest revision of the configuration.

*/ inline DescribeConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;} /** *

The name of the configuration.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the configuration.

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

The name of the configuration.

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

The name of the configuration.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the configuration.

*/ inline DescribeConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the configuration.

*/ inline DescribeConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the configuration.

*/ inline DescribeConfigurationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The state of the configuration. The possible states are ACTIVE, * DELETING, and DELETE_FAILED.

*/ inline const ConfigurationState& GetState() const{ return m_state; } /** *

The state of the configuration. The possible states are ACTIVE, * DELETING, and DELETE_FAILED.

*/ inline void SetState(const ConfigurationState& value) { m_state = value; } /** *

The state of the configuration. The possible states are ACTIVE, * DELETING, and DELETE_FAILED.

*/ inline void SetState(ConfigurationState&& value) { m_state = std::move(value); } /** *

The state of the configuration. The possible states are ACTIVE, * DELETING, and DELETE_FAILED.

*/ inline DescribeConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;} /** *

The state of the configuration. The possible states are ACTIVE, * DELETING, and DELETE_FAILED.

*/ inline DescribeConfigurationResult& WithState(ConfigurationState&& value) { SetState(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 DescribeConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; Aws::String m_description; Aws::Vector m_kafkaVersions; ConfigurationRevision m_latestRevision; Aws::String m_name; ConfigurationState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws