104 lines
3.1 KiB
C
104 lines
3.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/sso-oidc/SSOOIDC_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 SSOOIDC
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the
|
|||
|
|
* request is invalid. For example, this can occur when a client sends an incorrect
|
|||
|
|
* <code>clientId</code> or an expired <code>clientSecret</code>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/InvalidClientException">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SSOOIDC_API InvalidClientException
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
InvalidClientException();
|
|||
|
|
InvalidClientException(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
InvalidClientException& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline const Aws::String& GetError() const{ return m_error; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError(const Aws::String& value) { SetError(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError(const char* value) { SetError(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline const Aws::String& GetError_description() const{ return m_error_description; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline bool Error_descriptionHasBeenSet() const { return m_error_descriptionHasBeenSet; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError_description(const Aws::String& value) { m_error_descriptionHasBeenSet = true; m_error_description = value; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError_description(Aws::String&& value) { m_error_descriptionHasBeenSet = true; m_error_description = std::move(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetError_description(const char* value) { m_error_descriptionHasBeenSet = true; m_error_description.assign(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError_description(const Aws::String& value) { SetError_description(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError_description(Aws::String&& value) { SetError_description(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline InvalidClientException& WithError_description(const char* value) { SetError_description(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_error;
|
|||
|
|
bool m_errorHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_error_description;
|
|||
|
|
bool m_error_descriptionHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SSOOIDC
|
|||
|
|
} // namespace Aws
|