7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LexModelBuildingService
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename VersionT = Aws::String>
63 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
64 template<
typename VersionT = Aws::String>
70 bool m_nameHasBeenSet =
false;
73 bool m_versionHasBeenSet =
false;
AWS_LEXMODELBUILDINGSERVICE_API ResourceReference(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
const Aws::String & GetVersion() const
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
const Aws::String & GetName() const
ResourceReference & WithVersion(VersionT &&value)
ResourceReference & WithName(NameT &&value)
bool VersionHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API ResourceReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API ResourceReference()=default
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue