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-guardduty/include/aws/guardduty/model/BadRequestException.h

133 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/guardduty/GuardDuty_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 GuardDuty
{
namespace Model
{
/**
* <p>A bad request exception object.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BadRequestException">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API BadRequestException
{
public:
BadRequestException();
BadRequestException(Aws::Utils::Json::JsonView jsonValue);
BadRequestException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The error message.</p>
*/
inline const Aws::String& GetMessage() const{ return m_message; }
/**
* <p>The error message.</p>
*/
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
/**
* <p>The error message.</p>
*/
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
/**
* <p>The error message.</p>
*/
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
/**
* <p>The error message.</p>
*/
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
/**
* <p>The error message.</p>
*/
inline BadRequestException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
/**
* <p>The error message.</p>
*/
inline BadRequestException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
/**
* <p>The error message.</p>
*/
inline BadRequestException& WithMessage(const char* value) { SetMessage(value); return *this;}
/**
* <p>The error type.</p>
*/
inline const Aws::String& GetType() const{ return m_type; }
/**
* <p>The error type.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The error type.</p>
*/
inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The error type.</p>
*/
inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The error type.</p>
*/
inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
/**
* <p>The error type.</p>
*/
inline BadRequestException& WithType(const Aws::String& value) { SetType(value); return *this;}
/**
* <p>The error type.</p>
*/
inline BadRequestException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The error type.</p>
*/
inline BadRequestException& WithType(const char* value) { SetType(value); return *this;}
private:
Aws::String m_message;
bool m_messageHasBeenSet;
Aws::String m_type;
bool m_typeHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws