AWS SDK for C++  1.9.124
AWS SDK for C++
Public Member Functions | List of all members
Aws::Organizations::Model::ConstraintViolationException Class Reference

#include <ConstraintViolationException.h>

Public Member Functions

 ConstraintViolationException ()
 
 ConstraintViolationException (Aws::Utils::Json::JsonView jsonValue)
 
ConstraintViolationExceptionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetMessage () const
 
bool MessageHasBeenSet () const
 
void SetMessage (const Aws::String &value)
 
void SetMessage (Aws::String &&value)
 
void SetMessage (const char *value)
 
ConstraintViolationExceptionWithMessage (const Aws::String &value)
 
ConstraintViolationExceptionWithMessage (Aws::String &&value)
 
ConstraintViolationExceptionWithMessage (const char *value)
 
const ConstraintViolationExceptionReasonGetReason () const
 
bool ReasonHasBeenSet () const
 
void SetReason (const ConstraintViolationExceptionReason &value)
 
void SetReason (ConstraintViolationExceptionReason &&value)
 
ConstraintViolationExceptionWithReason (const ConstraintViolationExceptionReason &value)
 
ConstraintViolationExceptionWithReason (ConstraintViolationExceptionReason &&value)
 

Detailed Description

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

See Also:

AWS API Reference

Definition at line 136 of file ConstraintViolationException.h.

Constructor & Destructor Documentation

◆ ConstraintViolationException() [1/2]

Aws::Organizations::Model::ConstraintViolationException::ConstraintViolationException ( )

◆ ConstraintViolationException() [2/2]

Aws::Organizations::Model::ConstraintViolationException::ConstraintViolationException ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetMessage()

const Aws::String& Aws::Organizations::Model::ConstraintViolationException::GetMessage ( ) const
inline

Definition at line 146 of file ConstraintViolationException.h.

◆ GetReason()

const ConstraintViolationExceptionReason& Aws::Organizations::Model::ConstraintViolationException::GetReason ( ) const
inline

Definition at line 171 of file ConstraintViolationException.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Organizations::Model::ConstraintViolationException::Jsonize ( ) const

◆ MessageHasBeenSet()

bool Aws::Organizations::Model::ConstraintViolationException::MessageHasBeenSet ( ) const
inline

Definition at line 149 of file ConstraintViolationException.h.

◆ operator=()

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ReasonHasBeenSet()

bool Aws::Organizations::Model::ConstraintViolationException::ReasonHasBeenSet ( ) const
inline

Definition at line 174 of file ConstraintViolationException.h.

◆ SetMessage() [1/3]

void Aws::Organizations::Model::ConstraintViolationException::SetMessage ( Aws::String &&  value)
inline

Definition at line 155 of file ConstraintViolationException.h.

◆ SetMessage() [2/3]

void Aws::Organizations::Model::ConstraintViolationException::SetMessage ( const Aws::String value)
inline

Definition at line 152 of file ConstraintViolationException.h.

◆ SetMessage() [3/3]

void Aws::Organizations::Model::ConstraintViolationException::SetMessage ( const char *  value)
inline

Definition at line 158 of file ConstraintViolationException.h.

◆ SetReason() [1/2]

void Aws::Organizations::Model::ConstraintViolationException::SetReason ( const ConstraintViolationExceptionReason value)
inline

Definition at line 177 of file ConstraintViolationException.h.

◆ SetReason() [2/2]

void Aws::Organizations::Model::ConstraintViolationException::SetReason ( ConstraintViolationExceptionReason &&  value)
inline

Definition at line 180 of file ConstraintViolationException.h.

◆ WithMessage() [1/3]

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::WithMessage ( Aws::String &&  value)
inline

Definition at line 164 of file ConstraintViolationException.h.

◆ WithMessage() [2/3]

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::WithMessage ( const Aws::String value)
inline

Definition at line 161 of file ConstraintViolationException.h.

◆ WithMessage() [3/3]

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::WithMessage ( const char *  value)
inline

Definition at line 167 of file ConstraintViolationException.h.

◆ WithReason() [1/2]

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::WithReason ( const ConstraintViolationExceptionReason value)
inline

Definition at line 183 of file ConstraintViolationException.h.

◆ WithReason() [2/2]

ConstraintViolationException& Aws::Organizations::Model::ConstraintViolationException::WithReason ( ConstraintViolationExceptionReason &&  value)
inline

Definition at line 186 of file ConstraintViolationException.h.


The documentation for this class was generated from the following file: