/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MQ { namespace Model { class UpdateConfigurationResult { public: AWS_MQ_API UpdateConfigurationResult(); AWS_MQ_API UpdateConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_MQ_API UpdateConfigurationResult& 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 UpdateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the configuration.

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

The Amazon Resource Name (ARN) of the configuration.

*/ inline UpdateConfigurationResult& WithArn(const char* value) { SetArn(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 UpdateConfigurationResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

Required. The date and time of the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The unique ID that Amazon MQ generates for the configuration.

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

The latest revision of the configuration.

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

The latest revision of the configuration.

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

The latest revision of the configuration.

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

The latest revision of the configuration.

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

The latest revision of the configuration.

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

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; } /** *

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; } /** *

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); } /** *

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); } /** *

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

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

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 UpdateConfigurationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline const Aws::Vector& GetWarnings() const{ return m_warnings; } /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline void SetWarnings(const Aws::Vector& value) { m_warnings = value; } /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline void SetWarnings(Aws::Vector&& value) { m_warnings = std::move(value); } /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline UpdateConfigurationResult& WithWarnings(const Aws::Vector& value) { SetWarnings(value); return *this;} /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline UpdateConfigurationResult& WithWarnings(Aws::Vector&& value) { SetWarnings(std::move(value)); return *this;} /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline UpdateConfigurationResult& AddWarnings(const SanitizationWarning& value) { m_warnings.push_back(value); return *this; } /** *

The list of the first 20 warnings about the configuration elements or * attributes that were sanitized.

*/ inline UpdateConfigurationResult& AddWarnings(SanitizationWarning&& value) { m_warnings.push_back(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 UpdateConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_created; Aws::String m_id; ConfigurationRevision m_latestRevision; Aws::String m_name; Aws::Vector m_warnings; Aws::String m_requestId; }; } // namespace Model } // namespace MQ } // namespace Aws