/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

Information about the current software installed on the * cluster.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline const Aws::String& GetConfigurationArn() const{ return m_configurationArn; } /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline bool ConfigurationArnHasBeenSet() const { return m_configurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline void SetConfigurationArn(const Aws::String& value) { m_configurationArnHasBeenSet = true; m_configurationArn = value; } /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline void SetConfigurationArn(Aws::String&& value) { m_configurationArnHasBeenSet = true; m_configurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline void SetConfigurationArn(const char* value) { m_configurationArnHasBeenSet = true; m_configurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline BrokerSoftwareInfo& WithConfigurationArn(const Aws::String& value) { SetConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline BrokerSoftwareInfo& WithConfigurationArn(Aws::String&& value) { SetConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration used for the * cluster. This field isn't visible in this preview release.

*/ inline BrokerSoftwareInfo& WithConfigurationArn(const char* value) { SetConfigurationArn(value); return *this;} /** *

The revision of the configuration to use. This field isn't * visible in this preview release.

*/ inline long long GetConfigurationRevision() const{ return m_configurationRevision; } /** *

The revision of the configuration to use. This field isn't * visible in this preview release.

*/ inline bool ConfigurationRevisionHasBeenSet() const { return m_configurationRevisionHasBeenSet; } /** *

The revision of the configuration to use. This field isn't * visible in this preview release.

*/ inline void SetConfigurationRevision(long long value) { m_configurationRevisionHasBeenSet = true; m_configurationRevision = value; } /** *

The revision of the configuration to use. This field isn't * visible in this preview release.

*/ inline BrokerSoftwareInfo& WithConfigurationRevision(long long value) { SetConfigurationRevision(value); return *this;} /** *

The version of Apache Kafka.

*/ inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; } /** *

The version of Apache Kafka.

*/ inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; } /** *

The version of Apache Kafka.

*/ inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; } /** *

The version of Apache Kafka.

*/ inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); } /** *

The version of Apache Kafka.

*/ inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); } /** *

The version of Apache Kafka.

*/ inline BrokerSoftwareInfo& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;} /** *

The version of Apache Kafka.

*/ inline BrokerSoftwareInfo& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;} /** *

The version of Apache Kafka.

*/ inline BrokerSoftwareInfo& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;} private: Aws::String m_configurationArn; bool m_configurationArnHasBeenSet = false; long long m_configurationRevision; bool m_configurationRevisionHasBeenSet = false; Aws::String m_kafkaVersion; bool m_kafkaVersionHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws