7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
61 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
62 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
70 bool m_nameHasBeenSet =
false;
73 bool m_urlHasBeenSet =
false;
LicenseInfo & WithName(const Aws::String &value)
LicenseInfo & WithName(Aws::String &&value)
void SetUrl(Aws::String &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseInfo & WithUrl(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_CODEARTIFACT_API LicenseInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetUrl(const char *value)
LicenseInfo & WithUrl(Aws::String &&value)
bool UrlHasBeenSet() const
bool NameHasBeenSet() const
AWS_CODEARTIFACT_API LicenseInfo()
AWS_CODEARTIFACT_API LicenseInfo(Aws::Utils::Json::JsonView jsonValue)
LicenseInfo & WithUrl(const char *value)
void SetName(const char *value)
const Aws::String & GetUrl() const
void SetUrl(const Aws::String &value)
LicenseInfo & WithName(const char *value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue