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 {
31 AWS_CLOUDWATCHOMNI_API
ConflictException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
59 template <
typename ConflictTypeT = Aws::String>
61 m_conflictTypeHasBeenSet =
true;
62 m_conflictType = std::forward<ConflictTypeT>(value);
64 template <
typename ConflictTypeT = Aws::String>
77 template <
typename ResourceIdT = Aws::String>
79 m_resourceIdHasBeenSet =
true;
80 m_resourceId = std::forward<ResourceIdT>(value);
82 template <
typename ResourceIdT = Aws::String>
95 template <
typename ResourceTypeT = Aws::String>
97 m_resourceTypeHasBeenSet =
true;
98 m_resourceType = std::forward<ResourceTypeT>(value);
100 template <
typename ResourceTypeT = Aws::String>
113 template <
typename ErrorCodeT = Aws::String>
115 m_errorCodeHasBeenSet =
true;
116 m_errorCode = std::forward<ErrorCodeT>(value);
118 template <
typename ErrorCodeT = Aws::String>
134 bool m_messageHasBeenSet =
false;
135 bool m_conflictTypeHasBeenSet =
false;
136 bool m_resourceIdHasBeenSet =
false;
137 bool m_resourceTypeHasBeenSet =
false;
138 bool m_errorCodeHasBeenSet =
false;
bool MessageHasBeenSet() const
bool ConflictTypeHasBeenSet() const
const Aws::String & GetErrorCode() const
void SetResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
void SetMessage(MessageT &&value)
ConflictException & WithConflictType(ConflictTypeT &&value)
void SetConflictType(ConflictTypeT &&value)
bool ResourceIdHasBeenSet() const
AWS_CLOUDWATCHOMNI_API ConflictException()=default
const Aws::String & GetConflictType() const
AWS_CLOUDWATCHOMNI_API ConflictException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetResourceId() const
ConflictException & WithMessage(MessageT &&value)
void SetResourceId(ResourceIdT &&value)
ConflictException & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceType() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ErrorCodeHasBeenSet() const
AWS_CLOUDWATCHOMNI_API ConflictException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConflictException & WithResourceId(ResourceIdT &&value)
ConflictException & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetMessage() const
void SetErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String