/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returned if a required header or parameter is missing from the
* request.See Also:
AWS
* API Reference
Client.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *Client.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Client.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *Client.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Client.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *Client.
*/ inline MissingParameterValueException& WithType(const Aws::String& value) { SetType(value); return *this;} /** *Client.
*/ inline MissingParameterValueException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *Client.
*/ inline MissingParameterValueException& WithType(const char* value) { SetType(value); return *this;} /** *400 Bad Request
*/ inline const Aws::String& GetCode() const{ return m_code; } /** *400 Bad Request
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *400 Bad Request
*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** *400 Bad Request
*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *400 Bad Request
*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** *400 Bad Request
*/ inline MissingParameterValueException& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** *400 Bad Request
*/ inline MissingParameterValueException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** *400 Bad Request
*/ inline MissingParameterValueException& WithCode(const char* value) { SetCode(value); return *this;} /** *Returned if no authentication data is found for the request.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Returned if no authentication data is found for the request.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Returned if no authentication data is found for the request.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Returned if no authentication data is found for the request.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Returned if no authentication data is found for the request.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Returned if no authentication data is found for the request.
*/ inline MissingParameterValueException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Returned if no authentication data is found for the request.
*/ inline MissingParameterValueException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Returned if no authentication data is found for the request.
*/ inline MissingParameterValueException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws