AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ErrorRootCause.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/ErrorRootCauseService.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
33 {
34 public:
35 AWS_XRAY_API ErrorRootCause();
39
40
42
46 inline const Aws::Vector<ErrorRootCauseService>& GetServices() const{ return m_services; }
47 inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; }
48 inline void SetServices(const Aws::Vector<ErrorRootCauseService>& value) { m_servicesHasBeenSet = true; m_services = value; }
49 inline void SetServices(Aws::Vector<ErrorRootCauseService>&& value) { m_servicesHasBeenSet = true; m_services = std::move(value); }
50 inline ErrorRootCause& WithServices(const Aws::Vector<ErrorRootCauseService>& value) { SetServices(value); return *this;}
51 inline ErrorRootCause& WithServices(Aws::Vector<ErrorRootCauseService>&& value) { SetServices(std::move(value)); return *this;}
52 inline ErrorRootCause& AddServices(const ErrorRootCauseService& value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; }
53 inline ErrorRootCause& AddServices(ErrorRootCauseService&& value) { m_servicesHasBeenSet = true; m_services.push_back(std::move(value)); return *this; }
55
57
60 inline bool GetClientImpacting() const{ return m_clientImpacting; }
61 inline bool ClientImpactingHasBeenSet() const { return m_clientImpactingHasBeenSet; }
62 inline void SetClientImpacting(bool value) { m_clientImpactingHasBeenSet = true; m_clientImpacting = value; }
63 inline ErrorRootCause& WithClientImpacting(bool value) { SetClientImpacting(value); return *this;}
65 private:
66
68 bool m_servicesHasBeenSet = false;
69
70 bool m_clientImpacting;
71 bool m_clientImpactingHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace XRay
76} // namespace Aws
ErrorRootCause & AddServices(ErrorRootCauseService &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorRootCause & WithServices(Aws::Vector< ErrorRootCauseService > &&value)
ErrorRootCause & WithServices(const Aws::Vector< ErrorRootCauseService > &value)
ErrorRootCause & AddServices(const ErrorRootCauseService &value)
void SetServices(Aws::Vector< ErrorRootCauseService > &&value)
AWS_XRAY_API ErrorRootCause & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServices(const Aws::Vector< ErrorRootCauseService > &value)
ErrorRootCause & WithClientImpacting(bool value)
const Aws::Vector< ErrorRootCauseService > & GetServices() const
AWS_XRAY_API ErrorRootCause(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue