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>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename NamesT = Aws::Vector<Aws::String>>
61 m_namesHasBeenSet =
true;
62 m_names = std::forward<NamesT>(value);
64 template <
typename NamesT = Aws::Vector<Aws::String>>
66 SetNames(std::forward<NamesT>(value));
69 template <
typename NamesT = Aws::String>
71 m_namesHasBeenSet =
true;
72 m_names.emplace_back(std::forward<NamesT>(value));
83 template <
typename AccountIdT = Aws::String>
85 m_accountIdHasBeenSet =
true;
86 m_accountId = std::forward<AccountIdT>(value);
88 template <
typename AccountIdT = Aws::String>
101 template <
typename TypeT = Aws::String>
103 m_typeHasBeenSet =
true;
104 m_type = std::forward<TypeT>(value);
106 template <
typename TypeT = Aws::String>
108 SetType(std::forward<TypeT>(value));
120 bool m_nameHasBeenSet =
false;
121 bool m_namesHasBeenSet =
false;
122 bool m_accountIdHasBeenSet =
false;
123 bool m_typeHasBeenSet =
false;
AWS_XRAY_API ServiceId(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNames() const
void SetName(NameT &&value)
AWS_XRAY_API ServiceId()=default
const Aws::String & GetType() const
const Aws::String & GetAccountId() const
ServiceId & WithAccountId(AccountIdT &&value)
bool NameHasBeenSet() const
ServiceId & AddNames(NamesT &&value)
ServiceId & WithNames(NamesT &&value)
ServiceId & WithName(NameT &&value)
void SetAccountId(AccountIdT &&value)
bool AccountIdHasBeenSet() const
AWS_XRAY_API ServiceId & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NamesHasBeenSet() const
const Aws::String & GetName() const
bool TypeHasBeenSet() const
ServiceId & WithType(TypeT &&value)
void SetType(TypeT &&value)
void SetNames(NamesT &&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