/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This exception contains a list of messages that might contain one or more
* error messages. Each error message indicates one error in the change
* batch.See Also:
AWS
* API Reference
Descriptive message for the error response.
*/ inline const Aws::VectorDescriptive message for the error response.
*/ inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; } /** *Descriptive message for the error response.
*/ inline void SetMessages(const Aws::VectorDescriptive message for the error response.
*/ inline void SetMessages(Aws::VectorDescriptive message for the error response.
*/ inline InvalidChangeBatch& WithMessages(const Aws::VectorDescriptive message for the error response.
*/ inline InvalidChangeBatch& WithMessages(Aws::VectorDescriptive message for the error response.
*/ inline InvalidChangeBatch& AddMessages(const Aws::String& value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; } /** *Descriptive message for the error response.
*/ inline InvalidChangeBatch& AddMessages(Aws::String&& value) { m_messagesHasBeenSet = true; m_messages.push_back(std::move(value)); return *this; } /** *Descriptive message for the error response.
*/ inline InvalidChangeBatch& AddMessages(const char* value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; } inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline InvalidChangeBatch& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline InvalidChangeBatch& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline InvalidChangeBatch& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::Vector