AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
RuntimeHintValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API RuntimeHintValue() = default;
31 AWS_LEXMODELSV2_API RuntimeHintValue(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API RuntimeHintValue& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetPhrase() const { return m_phrase; }
41 inline bool PhraseHasBeenSet() const { return m_phraseHasBeenSet; }
42 template <typename PhraseT = Aws::String>
43 void SetPhrase(PhraseT&& value) {
44 m_phraseHasBeenSet = true;
45 m_phrase = std::forward<PhraseT>(value);
46 }
47 template <typename PhraseT = Aws::String>
48 RuntimeHintValue& WithPhrase(PhraseT&& value) {
49 SetPhrase(std::forward<PhraseT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_phrase;
55 bool m_phraseHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace LexModelsV2
60} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API RuntimeHintValue()=default
AWS_LEXMODELSV2_API RuntimeHintValue & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimeHintValue & WithPhrase(PhraseT &&value)
AWS_LEXMODELSV2_API RuntimeHintValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue