/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MQ { namespace Model { class DescribeConfigurationResult { public: AWS_MQ_API DescribeConfigurationResult(); AWS_MQ_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_MQ_API DescribeConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Required. The ARN of the configuration.

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

Optional. The authentication strategy associated with the configuration. The * default is SIMPLE.

*/ inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; } /** *

Optional. The authentication strategy associated with the configuration. The * default is SIMPLE.

*/ inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; } /** *

Optional. The authentication strategy associated with the configuration. The * default is SIMPLE.

*/ inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); } /** *

Optional. The authentication strategy associated with the configuration. The * default is SIMPLE.

*/ inline DescribeConfigurationResult& WithAuthenticationStrategy(const AuthenticationStrategy& value) { SetAuthenticationStrategy(value); return *this;} /** *

Optional. The authentication strategy associated with the configuration. The * default is SIMPLE.

*/ inline DescribeConfigurationResult& WithAuthenticationStrategy(AuthenticationStrategy&& value) { SetAuthenticationStrategy(std::move(value)); return *this;} /** *

Required. The date and time of the configuration revision.

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

Required. The date and time of the configuration revision.

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

Required. The date and time of the configuration revision.

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

Required. The date and time of the configuration revision.

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

Required. The date and time of the configuration revision.

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

Required. The description of the configuration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Required. The description of the configuration.

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

Required. The description of the configuration.

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

Required. The description of the configuration.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

Required. The description of the configuration.

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

Required. The description of the configuration.

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

Required. The description of the configuration.

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

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ * and RABBITMQ.

*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ * and RABBITMQ.

*/ inline void SetEngineType(const EngineType& value) { m_engineType = value; } /** *

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ * and RABBITMQ.

*/ inline void SetEngineType(EngineType&& value) { m_engineType = std::move(value); } /** *

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ * and RABBITMQ.

*/ inline DescribeConfigurationResult& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ * and RABBITMQ.

*/ inline DescribeConfigurationResult& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} /** *

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

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

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

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

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

*/ inline void SetEngineVersion(const char* value) { m_engineVersion.assign(value); } /** *

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

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

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

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

Required. The broker engine's version. For a list of supported engine * versions, see, Supported * engines.

*/ inline DescribeConfigurationResult& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

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

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

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

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

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

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

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

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

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

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

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

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

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

*/ inline DescribeConfigurationResult& WithId(const char* value) { SetId(value); return *this;} /** *

Required. The latest revision of the configuration.

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

Required. The latest revision of the configuration.

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

Required. The latest revision of the configuration.

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

Required. The latest revision of the configuration.

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

Required. The latest revision of the configuration.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

Required. The name of the configuration. This value can contain only * alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). * This value must be 1-150 characters long.

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

The list of all tags associated with this configuration.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The list of all tags associated with this configuration.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The list of all tags associated with this configuration.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of all tags associated with this configuration.

*/ inline DescribeConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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; AuthenticationStrategy m_authenticationStrategy; Aws::Utils::DateTime m_created; Aws::String m_description; EngineType m_engineType; Aws::String m_engineVersion; Aws::String m_id; ConfigurationRevision m_latestRevision; Aws::String m_name; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace MQ } // namespace Aws