7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename ServiceT = Aws::String>
52 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
53 template<
typename ServiceT = Aws::String>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
71 bool m_serviceHasBeenSet =
false;
74 bool m_arnHasBeenSet =
false;
Principal & WithService(ServiceT &&value)
const Aws::String & GetArn() const
AWS_LEXMODELSV2_API Principal()=default
void SetArn(ArnT &&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)
Principal & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetService() const
bool ServiceHasBeenSet() const
void SetService(ServiceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue