7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
33 AWS_CLOUDWATCH_API
PartialFailure(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename FailureResourceT = Aws::String>
45 m_failureResourceHasBeenSet =
true;
46 m_failureResource = std::forward<FailureResourceT>(value);
48 template <
typename FailureResourceT = Aws::String>
61 template <
typename ExceptionTypeT = Aws::String>
63 m_exceptionTypeHasBeenSet =
true;
64 m_exceptionType = std::forward<ExceptionTypeT>(value);
66 template <
typename ExceptionTypeT = Aws::String>
79 template <
typename FailureCodeT = Aws::String>
81 m_failureCodeHasBeenSet =
true;
82 m_failureCode = std::forward<FailureCodeT>(value);
84 template <
typename FailureCodeT = Aws::String>
97 template <
typename FailureDescriptionT = Aws::String>
99 m_failureDescriptionHasBeenSet =
true;
100 m_failureDescription = std::forward<FailureDescriptionT>(value);
102 template <
typename FailureDescriptionT = Aws::String>
116 bool m_failureResourceHasBeenSet =
false;
117 bool m_exceptionTypeHasBeenSet =
false;
118 bool m_failureCodeHasBeenSet =
false;
119 bool m_failureDescriptionHasBeenSet =
false;
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool FailureResourceHasBeenSet() const
bool FailureDescriptionHasBeenSet() const
bool FailureCodeHasBeenSet() const
const Aws::String & GetFailureCode() const
PartialFailure & WithFailureResource(FailureResourceT &&value)
void SetExceptionType(ExceptionTypeT &&value)
AWS_CLOUDWATCH_API PartialFailure & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetFailureResource() const
PartialFailure & WithExceptionType(ExceptionTypeT &&value)
void SetFailureResource(FailureResourceT &&value)
void SetFailureDescription(FailureDescriptionT &&value)
bool ExceptionTypeHasBeenSet() const
AWS_CLOUDWATCH_API PartialFailure(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetExceptionType() const
AWS_CLOUDWATCH_API PartialFailure()=default
void SetFailureCode(FailureCodeT &&value)
PartialFailure & WithFailureDescription(FailureDescriptionT &&value)
const Aws::String & GetFailureDescription() const
PartialFailure & WithFailureCode(FailureCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String