AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActiveContextTimeToLive.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexRuntimeService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_LEXRUNTIMESERVICE_API ActiveContextTimeToLive();
34 AWS_LEXRUNTIMESERVICE_API ActiveContextTimeToLive(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXRUNTIMESERVICE_API ActiveContextTimeToLive& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetTimeToLiveInSeconds() const{ return m_timeToLiveInSeconds; }
46 inline bool TimeToLiveInSecondsHasBeenSet() const { return m_timeToLiveInSecondsHasBeenSet; }
47 inline void SetTimeToLiveInSeconds(int value) { m_timeToLiveInSecondsHasBeenSet = true; m_timeToLiveInSeconds = value; }
50
52
57 inline int GetTurnsToLive() const{ return m_turnsToLive; }
58 inline bool TurnsToLiveHasBeenSet() const { return m_turnsToLiveHasBeenSet; }
59 inline void SetTurnsToLive(int value) { m_turnsToLiveHasBeenSet = true; m_turnsToLive = value; }
60 inline ActiveContextTimeToLive& WithTurnsToLive(int value) { SetTurnsToLive(value); return *this;}
62 private:
63
64 int m_timeToLiveInSeconds;
65 bool m_timeToLiveInSecondsHasBeenSet = false;
66
67 int m_turnsToLive;
68 bool m_turnsToLiveHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace LexRuntimeService
73} // namespace Aws
AWS_LEXRUNTIMESERVICE_API ActiveContextTimeToLive(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMESERVICE_API ActiveContextTimeToLive & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue