7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/xray/XRay_EXPORTS.h>
9#include <aws/xray/model/AnnotationValue.h>
10#include <aws/xray/model/ServiceId.h>
42 template <
typename AnnotationValueT = AnnotationValue>
44 m_annotationValueHasBeenSet =
true;
45 m_annotationValue = std::forward<AnnotationValueT>(value);
47 template <
typename AnnotationValueT = AnnotationValue>
60 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
62 m_serviceIdsHasBeenSet =
true;
63 m_serviceIds = std::forward<ServiceIdsT>(value);
65 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
70 template <
typename ServiceIdsT = ServiceId>
72 m_serviceIdsHasBeenSet =
true;
73 m_serviceIds.emplace_back(std::forward<ServiceIdsT>(value));
81 bool m_annotationValueHasBeenSet =
false;
82 bool m_serviceIdsHasBeenSet =
false;
bool AnnotationValueHasBeenSet() const
const AnnotationValue & GetAnnotationValue() const
bool ServiceIdsHasBeenSet() const
const Aws::Vector< ServiceId > & GetServiceIds() const
AWS_XRAY_API ValueWithServiceIds(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API ValueWithServiceIds & operator=(Aws::Utils::Json::JsonView jsonValue)
ValueWithServiceIds & WithAnnotationValue(AnnotationValueT &&value)
ValueWithServiceIds & AddServiceIds(ServiceIdsT &&value)
void SetAnnotationValue(AnnotationValueT &&value)
void SetServiceIds(ServiceIdsT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API ValueWithServiceIds()=default
ValueWithServiceIds & WithServiceIds(ServiceIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue