AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InsightImpactGraphService.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/model/InsightImpactGraphEdge.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace XRay
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_XRAY_API InsightImpactGraphService() = default;
42
43
45
48 inline int GetReferenceId() const { return m_referenceId; }
49 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
50 inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
51 inline InsightImpactGraphService& WithReferenceId(int value) { SetReferenceId(value); return *this;}
53
55
68 inline const Aws::String& GetType() const { return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 template<typename TypeT = Aws::String>
71 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
72 template<typename TypeT = Aws::String>
73 InsightImpactGraphService& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 InsightImpactGraphService& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
93 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
94 template<typename NamesT = Aws::Vector<Aws::String>>
95 void SetNames(NamesT&& value) { m_namesHasBeenSet = true; m_names = std::forward<NamesT>(value); }
96 template<typename NamesT = Aws::Vector<Aws::String>>
97 InsightImpactGraphService& WithNames(NamesT&& value) { SetNames(std::forward<NamesT>(value)); return *this;}
98 template<typename NamesT = Aws::String>
99 InsightImpactGraphService& AddNames(NamesT&& value) { m_namesHasBeenSet = true; m_names.emplace_back(std::forward<NamesT>(value)); return *this; }
101
103
106 inline const Aws::String& GetAccountId() const { return m_accountId; }
107 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
108 template<typename AccountIdT = Aws::String>
109 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
110 template<typename AccountIdT = Aws::String>
111 InsightImpactGraphService& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
113
115
118 inline const Aws::Vector<InsightImpactGraphEdge>& GetEdges() const { return m_edges; }
119 inline bool EdgesHasBeenSet() const { return m_edgesHasBeenSet; }
120 template<typename EdgesT = Aws::Vector<InsightImpactGraphEdge>>
121 void SetEdges(EdgesT&& value) { m_edgesHasBeenSet = true; m_edges = std::forward<EdgesT>(value); }
122 template<typename EdgesT = Aws::Vector<InsightImpactGraphEdge>>
123 InsightImpactGraphService& WithEdges(EdgesT&& value) { SetEdges(std::forward<EdgesT>(value)); return *this;}
124 template<typename EdgesT = InsightImpactGraphEdge>
125 InsightImpactGraphService& AddEdges(EdgesT&& value) { m_edgesHasBeenSet = true; m_edges.emplace_back(std::forward<EdgesT>(value)); return *this; }
127 private:
128
129 int m_referenceId{0};
130 bool m_referenceIdHasBeenSet = false;
131
132 Aws::String m_type;
133 bool m_typeHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
139 bool m_namesHasBeenSet = false;
140
141 Aws::String m_accountId;
142 bool m_accountIdHasBeenSet = false;
143
145 bool m_edgesHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace XRay
150} // namespace Aws
const Aws::Vector< Aws::String > & GetNames() const
InsightImpactGraphService & WithNames(NamesT &&value)
AWS_XRAY_API InsightImpactGraphService & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightImpactGraphService & WithName(NameT &&value)
InsightImpactGraphService & WithType(TypeT &&value)
InsightImpactGraphService & WithAccountId(AccountIdT &&value)
const Aws::Vector< InsightImpactGraphEdge > & GetEdges() const
AWS_XRAY_API InsightImpactGraphService()=default
InsightImpactGraphService & AddEdges(EdgesT &&value)
InsightImpactGraphService & WithEdges(EdgesT &&value)
InsightImpactGraphService & AddNames(NamesT &&value)
AWS_XRAY_API InsightImpactGraphService(Aws::Utils::Json::JsonView jsonValue)
InsightImpactGraphService & WithReferenceId(int value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue