7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/PeeringErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/PermissionsErrorContext.h>
23namespace NetworkManager
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
77 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
91 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
112 bool m_codeHasBeenSet =
false;
115 bool m_messageHasBeenSet =
false;
118 bool m_resourceArnHasBeenSet =
false;
121 bool m_requestIdHasBeenSet =
false;
124 bool m_missingPermissionsContextHasBeenSet =
false;
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AWS_NETWORKMANAGER_API PeeringError()
void SetResourceArn(Aws::String &&value)
PeeringError & WithMissingPermissionsContext(const PermissionsErrorContext &value)
PeeringError & WithResourceArn(const char *value)
void SetMessage(Aws::String &&value)
PeeringError & WithResourceArn(const Aws::String &value)
bool RequestIdHasBeenSet() const
const Aws::String & GetMessage() const
PeeringError & WithResourceArn(Aws::String &&value)
bool CodeHasBeenSet() const
PeeringError & WithRequestId(Aws::String &&value)
PeeringError & WithMessage(const char *value)
void SetResourceArn(const Aws::String &value)
void SetResourceArn(const char *value)
bool MissingPermissionsContextHasBeenSet() const
PeeringError & WithRequestId(const char *value)
void SetRequestId(const char *value)
void SetMissingPermissionsContext(PermissionsErrorContext &&value)
PeeringError & WithMessage(const Aws::String &value)
void SetMessage(const char *value)
PeeringError & WithCode(PeeringErrorCode &&value)
AWS_NETWORKMANAGER_API PeeringError & operator=(Aws::Utils::Json::JsonView jsonValue)
const PermissionsErrorContext & GetMissingPermissionsContext() const
void SetMessage(const Aws::String &value)
PeeringError & WithMessage(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetCode(const PeeringErrorCode &value)
PeeringError & WithRequestId(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetRequestId(const Aws::String &value)
PeeringError & WithMissingPermissionsContext(PermissionsErrorContext &&value)
const Aws::String & GetRequestId() const
PeeringError & WithCode(const PeeringErrorCode &value)
bool ResourceArnHasBeenSet() const
AWS_NETWORKMANAGER_API PeeringError(Aws::Utils::Json::JsonView jsonValue)
void SetMissingPermissionsContext(const PermissionsErrorContext &value)
void SetCode(PeeringErrorCode &&value)
const PeeringErrorCode & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue