7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CloudWatchOmni {
32 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
38 template <
typename MessageT = Aws::String>
40 m_messageHasBeenSet =
true;
41 m_message = std::forward<MessageT>(value);
43 template <
typename MessageT = Aws::String>
56 template <
typename ResourceTypeT = Aws::String>
58 m_resourceTypeHasBeenSet =
true;
59 m_resourceType = std::forward<ResourceTypeT>(value);
61 template <
typename ResourceTypeT = Aws::String>
75 template <
typename ResourceIdT = Aws::String>
77 m_resourceIdHasBeenSet =
true;
78 m_resourceId = std::forward<ResourceIdT>(value);
80 template <
typename ResourceIdT = Aws::String>
93 template <
typename ErrorCodeT = Aws::String>
95 m_errorCodeHasBeenSet =
true;
96 m_errorCode = std::forward<ErrorCodeT>(value);
98 template <
typename ErrorCodeT = Aws::String>
112 bool m_messageHasBeenSet =
false;
113 bool m_resourceTypeHasBeenSet =
false;
114 bool m_resourceIdHasBeenSet =
false;
115 bool m_errorCodeHasBeenSet =
false;
void SetResourceId(ResourceIdT &&value)
ResourceNotFoundException & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetMessage() const
AWS_CLOUDWATCHOMNI_API ResourceNotFoundException()=default
bool MessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AWS_CLOUDWATCHOMNI_API ResourceNotFoundException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ResourceIdHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceId() const
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetResourceType() const
ResourceNotFoundException & WithResourceType(ResourceTypeT &&value)
ResourceNotFoundException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetErrorCode() const
AWS_CLOUDWATCHOMNI_API ResourceNotFoundException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ResourceTypeHasBeenSet() const
void SetMessage(MessageT &&value)
void SetErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String