7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LexModelBuildingService
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>
61 inline void SetTimeToLiveInSeconds(
int value) { m_timeToLiveInSecondsHasBeenSet =
true; m_timeToLiveInSeconds = value; }
73 inline void SetTurnsToLive(
int value) { m_turnsToLiveHasBeenSet =
true; m_turnsToLive = value; }
79 bool m_nameHasBeenSet =
false;
81 int m_timeToLiveInSeconds{0};
82 bool m_timeToLiveInSecondsHasBeenSet =
false;
85 bool m_turnsToLiveHasBeenSet =
false;
const Aws::String & GetName() const
OutputContext & WithTimeToLiveInSeconds(int value)
void SetTimeToLiveInSeconds(int value)
OutputContext & WithTurnsToLive(int value)
bool NameHasBeenSet() const
bool TurnsToLiveHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API OutputContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimeToLiveInSecondsHasBeenSet() const
void SetTurnsToLive(int value)
AWS_LEXMODELBUILDINGSERVICE_API OutputContext()=default
OutputContext & WithName(NameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
int GetTurnsToLive() const
int GetTimeToLiveInSeconds() const
void SetName(NameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API OutputContext(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue