168 lines
4.1 KiB
C++
168 lines
4.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kafka/Kafka_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Kafka
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*
|
|
<p>Returns information about an error.</p>
|
|
<p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConflictException">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KAFKA_API ConflictException
|
|
{
|
|
public:
|
|
ConflictException();
|
|
ConflictException(Aws::Utils::Json::JsonView jsonValue);
|
|
ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline const Aws::String& GetInvalidParameter() const{ return m_invalidParameter; }
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline bool InvalidParameterHasBeenSet() const { return m_invalidParameterHasBeenSet; }
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline void SetInvalidParameter(const Aws::String& value) { m_invalidParameterHasBeenSet = true; m_invalidParameter = value; }
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline void SetInvalidParameter(Aws::String&& value) { m_invalidParameterHasBeenSet = true; m_invalidParameter = std::move(value); }
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline void SetInvalidParameter(const char* value) { m_invalidParameterHasBeenSet = true; m_invalidParameter.assign(value); }
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithInvalidParameter(const Aws::String& value) { SetInvalidParameter(value); return *this;}
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithInvalidParameter(Aws::String&& value) { SetInvalidParameter(std::move(value)); return *this;}
|
|
|
|
/**
|
|
*
|
|
<p>The parameter that caused the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithInvalidParameter(const char* value) { SetInvalidParameter(value); return *this;}
|
|
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline const Aws::String& GetMessage() const{ return m_message; }
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
*
|
|
<p>The description of the error.</p>
|
|
|
|
*/
|
|
inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_invalidParameter;
|
|
bool m_invalidParameterHasBeenSet;
|
|
|
|
Aws::String m_message;
|
|
bool m_messageHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Kafka
|
|
} // namespace Aws
|