118 lines
3.3 KiB
C++
118 lines
3.3 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/qldb/QLDB_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 QLDB
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>One or more parameters in the request aren't valid.</p><p><h3>See Also:</h3>
|
|
* <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/InvalidParameterException">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_QLDB_API InvalidParameterException
|
|
{
|
|
public:
|
|
InvalidParameterException();
|
|
InvalidParameterException(Aws::Utils::Json::JsonView jsonValue);
|
|
InvalidParameterException& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
|
|
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 InvalidParameterException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
|
|
|
|
|
|
inline InvalidParameterException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
|
|
|
|
|
|
inline InvalidParameterException& WithMessage(const char* value) { SetMessage(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline const Aws::String& GetParameterName() const{ return m_parameterName; }
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline InvalidParameterException& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline InvalidParameterException& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the invalid parameter.</p>
|
|
*/
|
|
inline InvalidParameterException& WithParameterName(const char* value) { SetParameterName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_message;
|
|
bool m_messageHasBeenSet;
|
|
|
|
Aws::String m_parameterName;
|
|
bool m_parameterNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QLDB
|
|
} // namespace Aws
|