/** * 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 { /** *

Specifies the configuration to use for the brokers.

*

See Also:

AWS * API Reference

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

ARN of the configuration to use.

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

ARN of the configuration to use.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

ARN of the configuration to use.

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

ARN of the configuration to use.

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

ARN of the configuration to use.

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

ARN of the configuration to use.

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

ARN of the configuration to use.

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

ARN of the configuration to use.

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

The revision of the configuration to use.

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

The revision of the configuration to use.

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

The revision of the configuration to use.

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

The revision of the configuration to use.

*/ inline ConfigurationInfo& WithRevision(long long value) { SetRevision(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; long long m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws