7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
19namespace LexModelsV2 {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
61 m_timeToLiveInSecondsHasBeenSet =
true;
62 m_timeToLiveInSeconds = value;
79 m_turnsToLiveHasBeenSet =
true;
80 m_turnsToLive = value;
90 int m_timeToLiveInSeconds{0};
93 bool m_nameHasBeenSet =
false;
94 bool m_timeToLiveInSecondsHasBeenSet =
false;
95 bool m_turnsToLiveHasBeenSet =
false;
void SetTimeToLiveInSeconds(int value)
int GetTurnsToLive() const
OutputContext & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API OutputContext()=default
bool NameHasBeenSet() const
void SetName(NameT &&value)
void SetTurnsToLive(int value)
bool TurnsToLiveHasBeenSet() const
OutputContext & WithTimeToLiveInSeconds(int value)
AWS_LEXMODELSV2_API OutputContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimeToLiveInSecondsHasBeenSet() const
OutputContext & WithTurnsToLive(int value)
int GetTimeToLiveInSeconds() const
AWS_LEXMODELSV2_API OutputContext(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue