7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/InsightImpactGraphEdge.h>
45 m_referenceIdHasBeenSet =
true;
46 m_referenceId = value;
70 template <
typename TypeT = Aws::String>
72 m_typeHasBeenSet =
true;
73 m_type = std::forward<TypeT>(value);
75 template <
typename TypeT = Aws::String>
77 SetType(std::forward<TypeT>(value));
88 template <
typename NameT = Aws::String>
90 m_nameHasBeenSet =
true;
91 m_name = std::forward<NameT>(value);
93 template <
typename NameT = Aws::String>
95 SetName(std::forward<NameT>(value));
106 template <
typename NamesT = Aws::Vector<Aws::String>>
108 m_namesHasBeenSet =
true;
109 m_names = std::forward<NamesT>(value);
111 template <
typename NamesT = Aws::Vector<Aws::String>>
113 SetNames(std::forward<NamesT>(value));
116 template <
typename NamesT = Aws::String>
118 m_namesHasBeenSet =
true;
119 m_names.emplace_back(std::forward<NamesT>(value));
130 template <
typename AccountIdT = Aws::String>
132 m_accountIdHasBeenSet =
true;
133 m_accountId = std::forward<AccountIdT>(value);
135 template <
typename AccountIdT = Aws::String>
148 template <
typename EdgesT = Aws::Vector<InsightImpactGraphEdge>>
150 m_edgesHasBeenSet =
true;
151 m_edges = std::forward<EdgesT>(value);
153 template <
typename EdgesT = Aws::Vector<InsightImpactGraphEdge>>
155 SetEdges(std::forward<EdgesT>(value));
158 template <
typename EdgesT = InsightImpactGraphEdge>
160 m_edgesHasBeenSet =
true;
161 m_edges.emplace_back(std::forward<EdgesT>(value));
166 int m_referenceId{0};
177 bool m_referenceIdHasBeenSet =
false;
178 bool m_typeHasBeenSet =
false;
179 bool m_nameHasBeenSet =
false;
180 bool m_namesHasBeenSet =
false;
181 bool m_accountIdHasBeenSet =
false;
182 bool m_edgesHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetNames() const
InsightImpactGraphService & WithNames(NamesT &&value)
AWS_XRAY_API InsightImpactGraphService & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EdgesHasBeenSet() const
InsightImpactGraphService & WithName(NameT &&value)
InsightImpactGraphService & WithType(TypeT &&value)
InsightImpactGraphService & WithAccountId(AccountIdT &&value)
const Aws::String & GetName() const
const Aws::Vector< InsightImpactGraphEdge > & GetEdges() const
void SetType(TypeT &&value)
bool NamesHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AWS_XRAY_API InsightImpactGraphService()=default
void SetEdges(EdgesT &&value)
void SetReferenceId(int value)
bool NameHasBeenSet() const
InsightImpactGraphService & AddEdges(EdgesT &&value)
void SetName(NameT &&value)
bool TypeHasBeenSet() const
int GetReferenceId() const
const Aws::String & GetType() const
bool ReferenceIdHasBeenSet() const
void SetNames(NamesT &&value)
InsightImpactGraphService & WithEdges(EdgesT &&value)
InsightImpactGraphService & AddNames(NamesT &&value)
AWS_XRAY_API InsightImpactGraphService(Aws::Utils::Json::JsonView jsonValue)
InsightImpactGraphService & WithReferenceId(int value)
const Aws::String & GetAccountId() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool AccountIdHasBeenSet() 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