AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetBotName() const{ return m_botName; }
42 inline void SetBotName(const Aws::String& value) { m_botName = value; }
43 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
44 inline void SetBotName(const char* value) { m_botName.assign(value); }
45 inline GetUtterancesViewResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
46 inline GetUtterancesViewResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
47 inline GetUtterancesViewResult& WithBotName(const char* value) { SetBotName(value); return *this;}
49
51
58 inline const Aws::Vector<UtteranceList>& GetUtterances() const{ return m_utterances; }
59 inline void SetUtterances(const Aws::Vector<UtteranceList>& value) { m_utterances = value; }
60 inline void SetUtterances(Aws::Vector<UtteranceList>&& value) { m_utterances = std::move(value); }
62 inline GetUtterancesViewResult& WithUtterances(Aws::Vector<UtteranceList>&& value) { SetUtterances(std::move(value)); return *this;}
63 inline GetUtterancesViewResult& AddUtterances(const UtteranceList& value) { m_utterances.push_back(value); return *this; }
64 inline GetUtterancesViewResult& AddUtterances(UtteranceList&& value) { m_utterances.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetUtterancesViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetUtterancesViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetUtterancesViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_botName;
80
81 Aws::Vector<UtteranceList> m_utterances;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace LexModelBuildingService
88} // namespace Aws
void SetUtterances(const Aws::Vector< UtteranceList > &value)
GetUtterancesViewResult & WithRequestId(const Aws::String &value)
GetUtterancesViewResult & WithRequestId(const char *value)
GetUtterancesViewResult & WithRequestId(Aws::String &&value)
GetUtterancesViewResult & WithUtterances(Aws::Vector< UtteranceList > &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUtterancesViewResult & WithBotName(const Aws::String &value)
GetUtterancesViewResult & AddUtterances(UtteranceList &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< UtteranceList > & GetUtterances() const
GetUtterancesViewResult & WithUtterances(const Aws::Vector< UtteranceList > &value)
GetUtterancesViewResult & AddUtterances(const UtteranceList &value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult()
GetUtterancesViewResult & WithBotName(Aws::String &&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