7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mgn/model/ErrorDetails.h>
49 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
75 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
89 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
103 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
111 bool m_codeHasBeenSet =
false;
114 bool m_errorsHasBeenSet =
false;
117 bool m_messageHasBeenSet =
false;
120 bool m_resourceIdHasBeenSet =
false;
123 bool m_resourceTypeHasBeenSet =
false;
void SetMessage(Aws::String &&value)
ConflictException & WithResourceType(const char *value)
void SetResourceType(const Aws::String &value)
const Aws::Vector< ErrorDetails > & GetErrors() const
const Aws::String & GetMessage() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & WithCode(const Aws::String &value)
ConflictException & AddErrors(const ErrorDetails &value)
void SetMessage(const char *value)
ConflictException & WithResourceId(const Aws::String &value)
ConflictException & AddErrors(ErrorDetails &&value)
void SetCode(const char *value)
void SetErrors(const Aws::Vector< ErrorDetails > &value)
ConflictException & WithCode(Aws::String &&value)
ConflictException & WithMessage(const Aws::String &value)
ConflictException & WithMessage(const char *value)
bool ErrorsHasBeenSet() const
ConflictException & WithResourceType(const Aws::String &value)
ConflictException & WithErrors(Aws::Vector< ErrorDetails > &&value)
ConflictException & WithResourceType(Aws::String &&value)
ConflictException & WithResourceId(const char *value)
ConflictException & WithErrors(const Aws::Vector< ErrorDetails > &value)
void SetCode(Aws::String &&value)
ConflictException & WithMessage(Aws::String &&value)
AWS_MGN_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
ConflictException & WithResourceId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
ConflictException & WithCode(const char *value)
bool CodeHasBeenSet() const
void SetErrors(Aws::Vector< ErrorDetails > &&value)
void SetCode(const Aws::String &value)
void SetResourceType(const char *value)
void SetMessage(const Aws::String &value)
void SetResourceId(const Aws::String &value)
bool MessageHasBeenSet() const
void SetResourceId(Aws::String &&value)
void SetResourceId(const char *value)
const Aws::String & GetResourceType() const
bool ResourceIdHasBeenSet() const
void SetResourceType(Aws::String &&value)
AWS_MGN_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API ConflictException()
const Aws::String & GetCode() const
const Aws::String & GetResourceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue