This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-mq/include/aws/mq/model/UpdateConfigurationResult.h

273 lines
9.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mq/MQ_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/mq/model/ConfigurationRevision.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mq/model/SanitizationWarning.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MQ
{
namespace Model
{
class AWS_MQ_API UpdateConfigurationResult
{
public:
UpdateConfigurationResult();
UpdateConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline UpdateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* Required. The Amazon Resource Name (ARN) of the configuration.
*/
inline UpdateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* Required. 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;}
/**
* 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 UpdateConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* Required. The unique ID that Amazon MQ generates for the configuration.
*/
inline UpdateConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* Required. 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;}
/**
* 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 UpdateConfigurationResult& 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 UpdateConfigurationResult& 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 UpdateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
/**
* The list of the first 20 warnings about the configuration XML elements or
* attributes that were sanitized.
*/
inline const Aws::Vector<SanitizationWarning>& GetWarnings() const{ return m_warnings; }
/**
* The list of the first 20 warnings about the configuration XML elements or
* attributes that were sanitized.
*/
inline void SetWarnings(const Aws::Vector<SanitizationWarning>& value) { m_warnings = value; }
/**
* The list of the first 20 warnings about the configuration XML elements or
* attributes that were sanitized.
*/
inline void SetWarnings(Aws::Vector<SanitizationWarning>&& value) { m_warnings = std::move(value); }
/**
* The list of the first 20 warnings about the configuration XML elements or
* attributes that were sanitized.
*/
inline UpdateConfigurationResult& WithWarnings(const Aws::Vector<SanitizationWarning>& value) { SetWarnings(value); return *this;}
/**
* The list of the first 20 warnings about the configuration XML elements or
* attributes that were sanitized.
*/
inline UpdateConfigurationResult& WithWarnings(Aws::Vector<SanitizationWarning>&& value) { SetWarnings(std::move(value)); return *this;}
/**
* The list of the first 20 warnings about the configuration XML 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 XML elements or
* attributes that were sanitized.
*/
inline UpdateConfigurationResult& AddWarnings(SanitizationWarning&& value) { m_warnings.push_back(std::move(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<SanitizationWarning> m_warnings;
};
} // namespace Model
} // namespace MQ
} // namespace Aws