7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PrivateNetworks
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
62 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
70 bool m_nameHasBeenSet =
false;
73 bool m_valueHasBeenSet =
false;
NameValuePair & WithValue(const Aws::String &value)
NameValuePair & WithName(const char *value)
NameValuePair & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_PRIVATENETWORKS_API NameValuePair()
bool ValueHasBeenSet() const
void SetValue(const char *value)
const Aws::String & GetName() const
NameValuePair & WithName(const Aws::String &value)
void SetValue(const Aws::String &value)
void SetName(const char *value)
AWS_PRIVATENETWORKS_API NameValuePair(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
const Aws::String & GetValue() const
void SetValue(Aws::String &&value)
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
NameValuePair & WithValue(Aws::String &&value)
AWS_PRIVATENETWORKS_API NameValuePair & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
NameValuePair & WithValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue