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/FaultRootCauseEntity.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename NamesT = Aws::Vector<Aws::String>>
62 void SetNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names = std::forward<NamesT>(value); }
63 template<
typename NamesT = Aws::Vector<Aws::String>>
65 template<
typename NamesT = Aws::String>
75 template<
typename TypeT = Aws::String>
76 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
77 template<
typename TypeT = Aws::String>
87 template<
typename AccountIdT = Aws::String>
88 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
89 template<
typename AccountIdT = Aws::String>
99 template<
typename EntityPathT = Aws::Vector<FaultRootCauseEntity>>
100 void SetEntityPath(EntityPathT&& value) { m_entityPathHasBeenSet =
true; m_entityPath = std::forward<EntityPathT>(value); }
101 template<
typename EntityPathT = Aws::Vector<FaultRootCauseEntity>>
103 template<
typename EntityPathT = FaultRootCauseEntity>
113 inline void SetInferred(
bool value) { m_inferredHasBeenSet =
true; m_inferred = value; }
119 bool m_nameHasBeenSet =
false;
122 bool m_namesHasBeenSet =
false;
125 bool m_typeHasBeenSet =
false;
128 bool m_accountIdHasBeenSet =
false;
131 bool m_entityPathHasBeenSet =
false;
133 bool m_inferred{
false};
134 bool m_inferredHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetNames() const
void SetAccountId(AccountIdT &&value)
FaultRootCauseService & WithInferred(bool value)
AWS_XRAY_API FaultRootCauseService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(TypeT &&value)
void SetName(NameT &&value)
void SetEntityPath(EntityPathT &&value)
FaultRootCauseService & AddEntityPath(EntityPathT &&value)
FaultRootCauseService & WithEntityPath(EntityPathT &&value)
const Aws::String & GetName() const
bool EntityPathHasBeenSet() const
void SetNames(NamesT &&value)
FaultRootCauseService & WithNames(NamesT &&value)
FaultRootCauseService & WithName(NameT &&value)
FaultRootCauseService & AddNames(NamesT &&value)
AWS_XRAY_API FaultRootCauseService()=default
FaultRootCauseService & WithType(TypeT &&value)
bool AccountIdHasBeenSet() const
void SetInferred(bool value)
const Aws::Vector< FaultRootCauseEntity > & GetEntityPath() const
const Aws::String & GetType() const
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool InferredHasBeenSet() const
AWS_XRAY_API FaultRootCauseService(Aws::Utils::Json::JsonView jsonValue)
bool NamesHasBeenSet() const
const Aws::String & GetAccountId() const
FaultRootCauseService & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue