7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename CodeT = Aws::String>
47 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
48 template<
typename CodeT = Aws::String>
58 template<
typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
60 template<
typename MessageT = Aws::String>
70 template<
typename ResourceIdT = Aws::String>
71 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
72 template<
typename ResourceIdT = Aws::String>
82 template<
typename ResourceTypeT = Aws::String>
83 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
84 template<
typename ResourceTypeT = Aws::String>
90 bool m_codeHasBeenSet =
false;
93 bool m_messageHasBeenSet =
false;
96 bool m_resourceIdHasBeenSet =
false;
99 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