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

The Amazon Resource Name (ARN) of the configuration.

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

The Amazon Resource Name (ARN) of the configuration.

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

The time when the configuration was created.

*/ inline CreateConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 CreateConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;} /** *

Latest revision of the configuration.

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

The name of the configuration.

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

The name of the configuration.

*/ inline CreateConfigurationResult& 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 CreateConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;} /** *

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

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