AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetUtterancesViewResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex-models/model/UtteranceList.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelBuildingService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult() = default;
35
36
38
41 inline const Aws::String& GetBotName() const { return m_botName; }
42 template<typename BotNameT = Aws::String>
43 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
44 template<typename BotNameT = Aws::String>
45 GetUtterancesViewResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
47
49
56 inline const Aws::Vector<UtteranceList>& GetUtterances() const { return m_utterances; }
57 template<typename UtterancesT = Aws::Vector<UtteranceList>>
58 void SetUtterances(UtterancesT&& value) { m_utterancesHasBeenSet = true; m_utterances = std::forward<UtterancesT>(value); }
59 template<typename UtterancesT = Aws::Vector<UtteranceList>>
60 GetUtterancesViewResult& WithUtterances(UtterancesT&& value) { SetUtterances(std::forward<UtterancesT>(value)); return *this;}
61 template<typename UtterancesT = UtteranceList>
62 GetUtterancesViewResult& AddUtterances(UtterancesT&& value) { m_utterancesHasBeenSet = true; m_utterances.emplace_back(std::forward<UtterancesT>(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 GetUtterancesViewResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_botName;
76 bool m_botNameHasBeenSet = false;
77
78 Aws::Vector<UtteranceList> m_utterances;
79 bool m_utterancesHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LexModelBuildingService
87} // namespace Aws
GetUtterancesViewResult & AddUtterances(UtterancesT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUtterancesViewResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult()=default
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< UtteranceList > & GetUtterances() const
GetUtterancesViewResult & WithUtterances(UtterancesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue