7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
31 AWS_ASSURANCE_API
ActionCallDetail(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename ServiceT = Aws::String>
44 m_serviceHasBeenSet =
true;
45 m_service = std::forward<ServiceT>(value);
47 template <
typename ServiceT = Aws::String>
60 template <
typename ApiT = Aws::String>
62 m_apiHasBeenSet =
true;
63 m_api = std::forward<ApiT>(value);
65 template <
typename ApiT = Aws::String>
67 SetApi(std::forward<ApiT>(value));
79 m_successCountHasBeenSet =
true;
80 m_successCount = value;
95 m_failureCountHasBeenSet =
true;
96 m_failureCount = value;
108 int64_t m_successCount{0};
110 int64_t m_failureCount{0};
111 bool m_serviceHasBeenSet =
false;
112 bool m_apiHasBeenSet =
false;
113 bool m_successCountHasBeenSet =
false;
114 bool m_failureCountHasBeenSet =
false;
ActionCallDetail & WithFailureCount(int64_t value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ApiHasBeenSet() const
AWS_ASSURANCE_API ActionCallDetail()=default
ActionCallDetail & WithApi(ApiT &&value)
const Aws::String & GetService() const
int64_t GetSuccessCount() const
bool SuccessCountHasBeenSet() const
void SetApi(ApiT &&value)
void SetFailureCount(int64_t value)
bool FailureCountHasBeenSet() const
AWS_ASSURANCE_API ActionCallDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ActionCallDetail & WithSuccessCount(int64_t value)
void SetService(ServiceT &&value)
const Aws::String & GetApi() const
void SetSuccessCount(int64_t value)
ActionCallDetail & WithService(ServiceT &&value)
bool ServiceHasBeenSet() const
int64_t GetFailureCount() const
AWS_ASSURANCE_API ActionCallDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String