7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
58 template <
typename CodeT = Aws::String>
60 m_codeHasBeenSet =
true;
61 m_code = std::forward<CodeT>(value);
63 template <
typename CodeT = Aws::String>
65 SetCode(std::forward<CodeT>(value));
76 template <
typename ResourceIdT = Aws::String>
78 m_resourceIdHasBeenSet =
true;
79 m_resourceId = std::forward<ResourceIdT>(value);
81 template <
typename ResourceIdT = Aws::String>
94 template <
typename ResourceTypeT = Aws::String>
96 m_resourceTypeHasBeenSet =
true;
97 m_resourceType = std::forward<ResourceTypeT>(value);
99 template <
typename ResourceTypeT = Aws::String>
113 bool m_messageHasBeenSet =
false;
114 bool m_codeHasBeenSet =
false;
115 bool m_resourceIdHasBeenSet =
false;
116 bool m_resourceTypeHasBeenSet =
false;
AWS_MGN_API ErrorDetails()=default
bool CodeHasBeenSet() const
ErrorDetails & WithCode(CodeT &&value)
void SetResourceType(ResourceTypeT &&value)
void SetResourceId(ResourceIdT &&value)
void SetCode(CodeT &&value)
AWS_MGN_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
const Aws::String & GetResourceId() const
ErrorDetails & WithResourceId(ResourceIdT &&value)
ErrorDetails & WithMessage(MessageT &&value)
ErrorDetails & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
bool ResourceIdHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue