AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FaultRootCause.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/FaultRootCauseService.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 FaultRootCause();
40
41
43
47 inline const Aws::Vector<FaultRootCauseService>& GetServices() const{ return m_services; }
48 inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; }
49 inline void SetServices(const Aws::Vector<FaultRootCauseService>& value) { m_servicesHasBeenSet = true; m_services = value; }
50 inline void SetServices(Aws::Vector<FaultRootCauseService>&& value) { m_servicesHasBeenSet = true; m_services = std::move(value); }
51 inline FaultRootCause& WithServices(const Aws::Vector<FaultRootCauseService>& value) { SetServices(value); return *this;}
52 inline FaultRootCause& WithServices(Aws::Vector<FaultRootCauseService>&& value) { SetServices(std::move(value)); return *this;}
53 inline FaultRootCause& AddServices(const FaultRootCauseService& value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; }
54 inline FaultRootCause& AddServices(FaultRootCauseService&& 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 FaultRootCause& 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 FaultRootCause & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServices(Aws::Vector< FaultRootCauseService > &&value)
FaultRootCause & AddServices(const FaultRootCauseService &value)
FaultRootCause & WithServices(Aws::Vector< FaultRootCauseService > &&value)
FaultRootCause & AddServices(FaultRootCauseService &&value)
void SetServices(const Aws::Vector< FaultRootCauseService > &value)
FaultRootCause & WithClientImpacting(bool value)
const Aws::Vector< FaultRootCauseService > & GetServices() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API FaultRootCause(Aws::Utils::Json::JsonView jsonValue)
FaultRootCause & WithServices(const Aws::Vector< FaultRootCauseService > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue