AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace XRay
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_XRAY_API AnomalousService();
39
40
42
43 inline const ServiceId& GetServiceId() const{ return m_serviceId; }
44 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
45 inline void SetServiceId(const ServiceId& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
46 inline void SetServiceId(ServiceId&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
47 inline AnomalousService& WithServiceId(const ServiceId& value) { SetServiceId(value); return *this;}
48 inline AnomalousService& WithServiceId(ServiceId&& value) { SetServiceId(std::move(value)); return *this;}
50 private:
51
52 ServiceId m_serviceId;
53 bool m_serviceIdHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace XRay
58} // namespace Aws
AnomalousService & WithServiceId(ServiceId &&value)
AnomalousService & WithServiceId(const ServiceId &value)
AWS_XRAY_API AnomalousService(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API AnomalousService & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceId(ServiceId &&value)
const ServiceId & GetServiceId() const
void SetServiceId(const ServiceId &value)
Aws::Utils::Json::JsonValue JsonValue