118 lines
3.4 KiB
C
118 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/snowball/Snowball_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 Snowball
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The specified resource can't be found. Check the information you provided in
|
|||
|
|
* your last request, and try again.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidResourceException">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SNOWBALL_API InvalidResourceException
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
InvalidResourceException();
|
|||
|
|
InvalidResourceException(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
InvalidResourceException& 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 InvalidResourceException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidResourceException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidResourceException& WithMessage(const char* value) { SetMessage(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetResourceType() const{ return m_resourceType; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvalidResourceException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvalidResourceException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provided resource value is invalid.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvalidResourceException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_message;
|
|||
|
|
bool m_messageHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_resourceType;
|
|||
|
|
bool m_resourceTypeHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Snowball
|
|||
|
|
} // namespace Aws
|