7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10#include <aws/lex/model/ActiveContextTimeToLive.h>
21namespace LexRuntimeService {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename TimeToLiveT = ActiveContextTimeToLive>
66 m_timeToLiveHasBeenSet =
true;
67 m_timeToLive = std::forward<TimeToLiveT>(value);
69 template <
typename TimeToLiveT = ActiveContextTimeToLive>
83 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
85 m_parametersHasBeenSet =
true;
86 m_parameters = std::forward<ParametersT>(value);
88 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
93 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
95 m_parametersHasBeenSet =
true;
96 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
106 bool m_nameHasBeenSet =
false;
107 bool m_timeToLiveHasBeenSet =
false;
108 bool m_parametersHasBeenSet =
false;
ActiveContext & WithParameters(ParametersT &&value)
ActiveContext & WithTimeToLive(TimeToLiveT &&value)
bool NameHasBeenSet() const
bool TimeToLiveHasBeenSet() const
bool ParametersHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeToLive(TimeToLiveT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_LEXRUNTIMESERVICE_API ActiveContext()=default
AWS_LEXRUNTIMESERVICE_API ActiveContext(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API ActiveContext & operator=(Aws::Utils::Json::JsonView jsonValue)
const ActiveContextTimeToLive & GetTimeToLive() const
void SetParameters(ParametersT &&value)
ActiveContext & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
ActiveContext & WithName(NameT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue