/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MQ { namespace Model { class DescribeConfigurationRevisionResult { public: AWS_MQ_API DescribeConfigurationRevisionResult(); AWS_MQ_API DescribeConfigurationRevisionResult(const Aws::AmazonWebServiceResult& result); AWS_MQ_API DescribeConfigurationRevisionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Required. The unique ID that Amazon MQ generates for the configuration.

*/ inline const Aws::String& GetConfigurationId() const{ return m_configurationId; } /** *

Required. The unique ID that Amazon MQ generates for the configuration.

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

Required. The unique ID that Amazon MQ generates for the configuration.

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

Required. The unique ID that Amazon MQ generates for the configuration.

*/ inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); } /** *

Required. The unique ID that Amazon MQ generates for the configuration.

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

Required. The unique ID that Amazon MQ generates for the configuration.

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

Required. The unique ID that Amazon MQ generates for the configuration.

*/ inline DescribeConfigurationRevisionResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;} /** *

Required. The date and time of the configuration.

*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *

Required. The date and time of the configuration.

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

Required. The date and time of the configuration.

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

Required. The date and time of the configuration.

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

Required. The date and time of the configuration.

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

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

*/ inline const Aws::String& GetData() const{ return m_data; } /** *

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

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

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

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

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

*/ inline void SetData(const char* value) { m_data.assign(value); } /** *

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

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

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

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

Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for * RabbitMQ: base64-encoded Cuttlefish.

*/ inline DescribeConfigurationRevisionResult& WithData(const char* value) { SetData(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;} 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_configurationId; Aws::Utils::DateTime m_created; Aws::String m_data; Aws::String m_description; Aws::String m_requestId; }; } // namespace Model } // namespace MQ } // namespace Aws