AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AnomalousService.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/ServiceId.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay {
20namespace Model {
21
29 public:
30 AWS_XRAY_API AnomalousService() = default;
34
36
37 inline const ServiceId& GetServiceId() const { return m_serviceId; }
38 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
39 template <typename ServiceIdT = ServiceId>
40 void SetServiceId(ServiceIdT&& value) {
41 m_serviceIdHasBeenSet = true;
42 m_serviceId = std::forward<ServiceIdT>(value);
43 }
44 template <typename ServiceIdT = ServiceId>
45 AnomalousService& WithServiceId(ServiceIdT&& value) {
46 SetServiceId(std::forward<ServiceIdT>(value));
47 return *this;
48 }
50 private:
51 ServiceId m_serviceId;
52 bool m_serviceIdHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace XRay
57} // namespace Aws
AWS_XRAY_API AnomalousService(Aws::Utils::Json::JsonView jsonValue)
AnomalousService & WithServiceId(ServiceIdT &&value)
AWS_XRAY_API AnomalousService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceId(ServiceIdT &&value)
AWS_XRAY_API AnomalousService()=default
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceId & GetServiceId() const
Aws::Utils::Json::JsonValue JsonValue