/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The target resource is in use.See Also:
AWS
* API Reference
A list of attributes that led to the exception and their values.
*/ inline const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline bool ErrorArgumentsHasBeenSet() const { return m_errorArgumentsHasBeenSet; } /** *A list of attributes that led to the exception and their values.
*/ inline void SetErrorArguments(const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline void SetErrorArguments(Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ConflictException& WithErrorArguments(const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ConflictException& WithErrorArguments(Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ConflictException& AddErrorArguments(const ConflictExceptionErrorArgument& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(value); return *this; } /** *A list of attributes that led to the exception and their values.
*/ inline ConflictException& AddErrorArguments(ConflictExceptionErrorArgument&& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(std::move(value)); return *this; } /** *A unique ID for the error.
*/ inline const Aws::String& GetErrorId() const{ return m_errorId; } /** *A unique ID for the error.
*/ inline bool ErrorIdHasBeenSet() const { return m_errorIdHasBeenSet; } /** *A unique ID for the error.
*/ inline void SetErrorId(const Aws::String& value) { m_errorIdHasBeenSet = true; m_errorId = value; } /** *A unique ID for the error.
*/ inline void SetErrorId(Aws::String&& value) { m_errorIdHasBeenSet = true; m_errorId = std::move(value); } /** *A unique ID for the error.
*/ inline void SetErrorId(const char* value) { m_errorIdHasBeenSet = true; m_errorId.assign(value); } /** *A unique ID for the error.
*/ inline ConflictException& WithErrorId(const Aws::String& value) { SetErrorId(value); return *this;} /** *A unique ID for the error.
*/ inline ConflictException& WithErrorId(Aws::String&& value) { SetErrorId(std::move(value)); return *this;} /** *A unique ID for the error.
*/ inline ConflictException& WithErrorId(const char* value) { SetErrorId(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 ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The resource's ID.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource's ID.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource's ID.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource's ID.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource's ID.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource's ID.
*/ inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource's ID.
*/ inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource's ID.
*/ inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The resource's type.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The resource's type.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource's type.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource's type.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource's type.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The resource's type.
*/ inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The resource's type.
*/ inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The resource's type.
*/ inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;} private: Aws::Vector