7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CodeGuruSecurity {
42 template <
typename ErrorCodeT = Aws::String>
44 m_errorCodeHasBeenSet =
true;
45 m_errorCode = std::forward<ErrorCodeT>(value);
47 template <
typename ErrorCodeT = Aws::String>
60 template <
typename MessageT = Aws::String>
62 m_messageHasBeenSet =
true;
63 m_message = std::forward<MessageT>(value);
65 template <
typename MessageT = Aws::String>
78 template <
typename ResourceIdT = Aws::String>
80 m_resourceIdHasBeenSet =
true;
81 m_resourceId = std::forward<ResourceIdT>(value);
83 template <
typename ResourceIdT = Aws::String>
96 template <
typename ResourceTypeT = Aws::String>
98 m_resourceTypeHasBeenSet =
true;
99 m_resourceType = std::forward<ResourceTypeT>(value);
101 template <
typename ResourceTypeT = Aws::String>
115 bool m_errorCodeHasBeenSet =
false;
116 bool m_messageHasBeenSet =
false;
117 bool m_resourceIdHasBeenSet =
false;
118 bool m_resourceTypeHasBeenSet =
false;
ConflictException & WithMessage(MessageT &&value)
void SetResourceType(ResourceTypeT &&value)
AWS_CODEGURUSECURITY_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
const Aws::String & GetResourceId() const
bool MessageHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
bool ResourceTypeHasBeenSet() const
bool ResourceIdHasBeenSet() const
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceId(ResourceIdT &&value)
AWS_CODEGURUSECURITY_API ConflictException()=default
const Aws::String & GetErrorCode() const
const Aws::String & GetMessage() const
ConflictException & WithResourceId(ResourceIdT &&value)
ConflictException & WithResourceType(ResourceTypeT &&value)
AWS_CODEGURUSECURITY_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetResourceType() const
ConflictException & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue