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>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline ServiceId&
AddNames(
const char* value) { m_namesHasBeenSet =
true; m_names.push_back(value);
return *
this; }
78 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
92 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
100 bool m_nameHasBeenSet =
false;
103 bool m_namesHasBeenSet =
false;
106 bool m_accountIdHasBeenSet =
false;
109 bool m_typeHasBeenSet =
false;
AWS_XRAY_API ServiceId(Aws::Utils::Json::JsonView jsonValue)
void SetNames(const Aws::Vector< Aws::String > &value)
ServiceId & WithAccountId(const char *value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNames() const
ServiceId & WithAccountId(Aws::String &&value)
void SetName(Aws::String &&value)
ServiceId & WithName(Aws::String &&value)
void SetAccountId(const char *value)
ServiceId & WithType(const Aws::String &value)
const Aws::String & GetType() const
const Aws::String & GetAccountId() const
ServiceId & WithNames(const Aws::Vector< Aws::String > &value)
bool NameHasBeenSet() const
void SetAccountId(Aws::String &&value)
void SetType(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetName(const Aws::String &value)
ServiceId & WithType(const char *value)
AWS_XRAY_API ServiceId & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceId & WithName(const char *value)
void SetType(const Aws::String &value)
bool NamesHasBeenSet() const
ServiceId & AddNames(Aws::String &&value)
ServiceId & WithNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetName() const
bool TypeHasBeenSet() const
void SetAccountId(const Aws::String &value)
void SetNames(Aws::Vector< Aws::String > &&value)
ServiceId & WithAccountId(const Aws::String &value)
void SetName(const char *value)
void SetType(const char *value)
ServiceId & AddNames(const Aws::String &value)
ServiceId & AddNames(const char *value)
ServiceId & WithName(const Aws::String &value)
ServiceId & WithType(Aws::String &&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