7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
66 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
67 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
75 bool m_serviceHasBeenSet =
false;
78 bool m_arnHasBeenSet =
false;
Principal & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
Principal & WithService(const char *value)
const Aws::String & GetArn() const
void SetService(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API Principal(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Principal & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetService(const char *value)
void SetArn(const char *value)
Principal & WithArn(Aws::String &&value)
bool ArnHasBeenSet() const
void SetService(const Aws::String &value)
const Aws::String & GetService() const
AWS_LEXMODELSV2_API Principal()
Principal & WithService(Aws::String &&value)
Principal & WithService(const Aws::String &value)
bool ServiceHasBeenSet() const
Principal & WithArn(const char *value)
void SetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue