7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
60 inline void SetTimeToLiveInSeconds(
int value) { m_timeToLiveInSecondsHasBeenSet =
true; m_timeToLiveInSeconds = value; }
72 inline void SetTurnsToLive(
int value) { m_turnsToLiveHasBeenSet =
true; m_turnsToLive = value; }
78 bool m_nameHasBeenSet =
false;
80 int m_timeToLiveInSeconds{0};
81 bool m_timeToLiveInSecondsHasBeenSet =
false;
84 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