AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUtteranceMetricsResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/AnalyticsUtteranceResult.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 LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API ListUtteranceMetricsResult();
35
36
38
41 inline const Aws::String& GetBotId() const{ return m_botId; }
42 inline void SetBotId(const Aws::String& value) { m_botId = value; }
43 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
44 inline void SetBotId(const char* value) { m_botId.assign(value); }
45 inline ListUtteranceMetricsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListUtteranceMetricsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListUtteranceMetricsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::Vector<AnalyticsUtteranceResult>& GetResults() const{ return m_results; }
55 inline void SetResults(const Aws::Vector<AnalyticsUtteranceResult>& value) { m_results = value; }
56 inline void SetResults(Aws::Vector<AnalyticsUtteranceResult>&& value) { m_results = std::move(value); }
59 inline ListUtteranceMetricsResult& AddResults(const AnalyticsUtteranceResult& value) { m_results.push_back(value); return *this; }
60 inline ListUtteranceMetricsResult& AddResults(AnalyticsUtteranceResult&& value) { m_results.push_back(std::move(value)); return *this; }
62
64
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline ListUtteranceMetricsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListUtteranceMetricsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListUtteranceMetricsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline ListUtteranceMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListUtteranceMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListUtteranceMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_botId;
94
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace LexModelsV2
104} // namespace Aws
ListUtteranceMetricsResult & WithNextToken(const char *value)
AWS_LEXMODELSV2_API ListUtteranceMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResults(const Aws::Vector< AnalyticsUtteranceResult > &value)
ListUtteranceMetricsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< AnalyticsUtteranceResult > & GetResults() const
ListUtteranceMetricsResult & WithResults(const Aws::Vector< AnalyticsUtteranceResult > &value)
ListUtteranceMetricsResult & WithBotId(const char *value)
ListUtteranceMetricsResult & WithBotId(Aws::String &&value)
AWS_LEXMODELSV2_API ListUtteranceMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListUtteranceMetricsResult & AddResults(const AnalyticsUtteranceResult &value)
ListUtteranceMetricsResult & WithRequestId(const Aws::String &value)
ListUtteranceMetricsResult & WithRequestId(const char *value)
ListUtteranceMetricsResult & WithNextToken(const Aws::String &value)
ListUtteranceMetricsResult & AddResults(AnalyticsUtteranceResult &&value)
ListUtteranceMetricsResult & WithBotId(const Aws::String &value)
void SetResults(Aws::Vector< AnalyticsUtteranceResult > &&value)
ListUtteranceMetricsResult & WithNextToken(Aws::String &&value)
ListUtteranceMetricsResult & WithResults(Aws::Vector< AnalyticsUtteranceResult > &&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