7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/AttachmentErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace NetworkManager
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
76 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
90 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
98 bool m_codeHasBeenSet =
false;
101 bool m_messageHasBeenSet =
false;
104 bool m_resourceArnHasBeenSet =
false;
107 bool m_requestIdHasBeenSet =
false;
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AttachmentError & WithMessage(Aws::String &&value)
bool RequestIdHasBeenSet() const
void SetMessage(const char *value)
AttachmentError & WithResourceArn(const Aws::String &value)
bool CodeHasBeenSet() const
AWS_NETWORKMANAGER_API AttachmentError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRequestId() const
AttachmentError & WithMessage(const char *value)
AttachmentError & WithRequestId(const Aws::String &value)
void SetMessage(Aws::String &&value)
AttachmentError & WithMessage(const Aws::String &value)
bool ResourceArnHasBeenSet() const
void SetCode(AttachmentErrorCode &&value)
void SetCode(const AttachmentErrorCode &value)
AttachmentError & WithRequestId(Aws::String &&value)
AttachmentError & WithResourceArn(const char *value)
AttachmentError & WithCode(AttachmentErrorCode &&value)
void SetRequestId(const Aws::String &value)
AttachmentError & WithResourceArn(Aws::String &&value)
AWS_NETWORKMANAGER_API AttachmentError()
const Aws::String & GetMessage() const
void SetResourceArn(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const char *value)
AWS_NETWORKMANAGER_API AttachmentError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
AttachmentError & WithCode(const AttachmentErrorCode &value)
const AttachmentErrorCode & GetCode() const
const Aws::String & GetResourceArn() const
void SetResourceArn(const char *value)
AttachmentError & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue