AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserTurnInputSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/UtteranceInputSpecification.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/InputSessionStateSpecification.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API UserTurnInputSpecification();
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const UtteranceInputSpecification& GetUtteranceInput() const{ return m_utteranceInput; }
49 inline bool UtteranceInputHasBeenSet() const { return m_utteranceInputHasBeenSet; }
50 inline void SetUtteranceInput(const UtteranceInputSpecification& value) { m_utteranceInputHasBeenSet = true; m_utteranceInput = value; }
51 inline void SetUtteranceInput(UtteranceInputSpecification&& value) { m_utteranceInputHasBeenSet = true; m_utteranceInput = std::move(value); }
55
57
60 inline const Aws::Map<Aws::String, Aws::String>& GetRequestAttributes() const{ return m_requestAttributes; }
61 inline bool RequestAttributesHasBeenSet() const { return m_requestAttributesHasBeenSet; }
62 inline void SetRequestAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = value; }
63 inline void SetRequestAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = std::move(value); }
66 inline UserTurnInputSpecification& AddRequestAttributes(const Aws::String& key, const Aws::String& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(key, value); return *this; }
67 inline UserTurnInputSpecification& AddRequestAttributes(Aws::String&& key, const Aws::String& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(std::move(key), value); return *this; }
68 inline UserTurnInputSpecification& AddRequestAttributes(const Aws::String& key, Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(key, std::move(value)); return *this; }
69 inline UserTurnInputSpecification& AddRequestAttributes(Aws::String&& key, Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(std::move(key), std::move(value)); return *this; }
70 inline UserTurnInputSpecification& AddRequestAttributes(const char* key, Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(key, std::move(value)); return *this; }
71 inline UserTurnInputSpecification& AddRequestAttributes(Aws::String&& key, const char* value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(std::move(key), value); return *this; }
72 inline UserTurnInputSpecification& AddRequestAttributes(const char* key, const char* value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.emplace(key, value); return *this; }
74
76
79 inline const InputSessionStateSpecification& GetSessionState() const{ return m_sessionState; }
80 inline bool SessionStateHasBeenSet() const { return m_sessionStateHasBeenSet; }
81 inline void SetSessionState(const InputSessionStateSpecification& value) { m_sessionStateHasBeenSet = true; m_sessionState = value; }
82 inline void SetSessionState(InputSessionStateSpecification&& value) { m_sessionStateHasBeenSet = true; m_sessionState = std::move(value); }
86 private:
87
88 UtteranceInputSpecification m_utteranceInput;
89 bool m_utteranceInputHasBeenSet = false;
90
91 Aws::Map<Aws::String, Aws::String> m_requestAttributes;
92 bool m_requestAttributesHasBeenSet = false;
93
94 InputSessionStateSpecification m_sessionState;
95 bool m_sessionStateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace LexModelsV2
100} // namespace Aws
void SetSessionState(InputSessionStateSpecification &&value)
const InputSessionStateSpecification & GetSessionState() const
const UtteranceInputSpecification & GetUtteranceInput() const
void SetUtteranceInput(UtteranceInputSpecification &&value)
UserTurnInputSpecification & AddRequestAttributes(const char *key, Aws::String &&value)
UserTurnInputSpecification & WithRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UserTurnInputSpecification & WithUtteranceInput(UtteranceInputSpecification &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestAttributes() const
UserTurnInputSpecification & WithSessionState(const InputSessionStateSpecification &value)
UserTurnInputSpecification & WithRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UserTurnInputSpecification & AddRequestAttributes(Aws::String &&key, Aws::String &&value)
UserTurnInputSpecification & AddRequestAttributes(Aws::String &&key, const Aws::String &value)
UserTurnInputSpecification & WithSessionState(InputSessionStateSpecification &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UserTurnInputSpecification & AddRequestAttributes(const Aws::String &key, const Aws::String &value)
void SetRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UserTurnInputSpecification & AddRequestAttributes(const Aws::String &key, Aws::String &&value)
UserTurnInputSpecification & WithUtteranceInput(const UtteranceInputSpecification &value)
UserTurnInputSpecification & AddRequestAttributes(const char *key, const char *value)
void SetRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LEXMODELSV2_API UserTurnInputSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API UserTurnInputSpecification(Aws::Utils::Json::JsonView jsonValue)
UserTurnInputSpecification & AddRequestAttributes(Aws::String &&key, const char *value)
void SetUtteranceInput(const UtteranceInputSpecification &value)
void SetSessionState(const InputSessionStateSpecification &value)
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