AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseTimeRootCause.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/model/ResponseTimeRootCauseService.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace XRay
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_XRAY_API ResponseTimeRootCause();
40
41
43
47 inline const Aws::Vector<ResponseTimeRootCauseService>& GetServices() const{ return m_services; }
48 inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; }
49 inline void SetServices(const Aws::Vector<ResponseTimeRootCauseService>& value) { m_servicesHasBeenSet = true; m_services = value; }
50 inline void SetServices(Aws::Vector<ResponseTimeRootCauseService>&& value) { m_servicesHasBeenSet = true; m_services = std::move(value); }
53 inline ResponseTimeRootCause& AddServices(const ResponseTimeRootCauseService& value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; }
54 inline ResponseTimeRootCause& AddServices(ResponseTimeRootCauseService&& value) { m_servicesHasBeenSet = true; m_services.push_back(std::move(value)); return *this; }
56
58
61 inline bool GetClientImpacting() const{ return m_clientImpacting; }
62 inline bool ClientImpactingHasBeenSet() const { return m_clientImpactingHasBeenSet; }
63 inline void SetClientImpacting(bool value) { m_clientImpactingHasBeenSet = true; m_clientImpacting = value; }
64 inline ResponseTimeRootCause& WithClientImpacting(bool value) { SetClientImpacting(value); return *this;}
66 private:
67
69 bool m_servicesHasBeenSet = false;
70
71 bool m_clientImpacting;
72 bool m_clientImpactingHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace XRay
77} // namespace Aws
AWS_XRAY_API ResponseTimeRootCause(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API ResponseTimeRootCause & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServices(const Aws::Vector< ResponseTimeRootCauseService > &value)
void SetServices(Aws::Vector< ResponseTimeRootCauseService > &&value)
ResponseTimeRootCause & WithClientImpacting(bool value)
ResponseTimeRootCause & WithServices(const Aws::Vector< ResponseTimeRootCauseService > &value)
ResponseTimeRootCause & AddServices(const ResponseTimeRootCauseService &value)
ResponseTimeRootCause & WithServices(Aws::Vector< ResponseTimeRootCauseService > &&value)
const Aws::Vector< ResponseTimeRootCauseService > & GetServices() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseTimeRootCause & AddServices(ResponseTimeRootCauseService &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue