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>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename NamesT = Aws::Vector<Aws::String>>
60 void SetNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names = std::forward<NamesT>(value); }
61 template<
typename NamesT = Aws::Vector<Aws::String>>
63 template<
typename NamesT = Aws::String>
64 ServiceId&
AddNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names.emplace_back(std::forward<NamesT>(value));
return *
this; }
73 template<
typename AccountIdT = Aws::String>
74 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
75 template<
typename AccountIdT = Aws::String>
85 template<
typename TypeT = Aws::String>
86 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
87 template<
typename TypeT = Aws::String>
93 bool m_nameHasBeenSet =
false;
96 bool m_namesHasBeenSet =
false;
99 bool m_accountIdHasBeenSet =
false;
102 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