7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-runtime/model/ActiveContextTimeToLive.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline ActiveContext&
AddContextAttributes(
const char* key,
const char* value) { m_contextAttributesHasBeenSet =
true; m_contextAttributes.emplace(key, value);
return *
this; }
100 bool m_nameHasBeenSet =
false;
103 bool m_timeToLiveHasBeenSet =
false;
106 bool m_contextAttributesHasBeenSet =
false;
ActiveContext & AddContextAttributes(const Aws::String &key, const Aws::String &value)
const ActiveContextTimeToLive & GetTimeToLive() const
ActiveContext & AddContextAttributes(const char *key, const char *value)
void SetContextAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetName() const
bool TimeToLiveHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetContextAttributes() const
bool NameHasBeenSet() const
ActiveContext & WithName(Aws::String &&value)
ActiveContext & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_LEXRUNTIMEV2_API ActiveContext()
ActiveContext & WithTimeToLive(ActiveContextTimeToLive &&value)
ActiveContext & AddContextAttributes(Aws::String &&key, Aws::String &&value)
ActiveContext & AddContextAttributes(const Aws::String &key, Aws::String &&value)
ActiveContext & WithTimeToLive(const ActiveContextTimeToLive &value)
void SetName(Aws::String &&value)
ActiveContext & WithContextAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetContextAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ActiveContext & AddContextAttributes(Aws::String &&key, const char *value)
ActiveContext & WithName(const char *value)
void SetName(const char *value)
ActiveContext & AddContextAttributes(const char *key, Aws::String &&value)
AWS_LEXRUNTIMEV2_API ActiveContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimeToLive(ActiveContextTimeToLive &&value)
void SetTimeToLive(const ActiveContextTimeToLive &value)
ActiveContext & AddContextAttributes(Aws::String &&key, const Aws::String &value)
AWS_LEXRUNTIMEV2_API ActiveContext(Aws::Utils::Json::JsonView jsonValue)
ActiveContext & WithContextAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool ContextAttributesHasBeenSet() 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