AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIntentMetricsResult.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/AnalyticsIntentResult.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 ListIntentMetricsResult();
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 ListIntentMetricsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListIntentMetricsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListIntentMetricsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::Vector<AnalyticsIntentResult>& GetResults() const{ return m_results; }
55 inline void SetResults(const Aws::Vector<AnalyticsIntentResult>& value) { m_results = value; }
56 inline void SetResults(Aws::Vector<AnalyticsIntentResult>&& value) { m_results = std::move(value); }
58 inline ListIntentMetricsResult& WithResults(Aws::Vector<AnalyticsIntentResult>&& value) { SetResults(std::move(value)); return *this;}
59 inline ListIntentMetricsResult& AddResults(const AnalyticsIntentResult& value) { m_results.push_back(value); return *this; }
60 inline ListIntentMetricsResult& AddResults(AnalyticsIntentResult&& 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 ListIntentMetricsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListIntentMetricsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListIntentMetricsResult& 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 ListIntentMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListIntentMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListIntentMetricsResult& 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
ListIntentMetricsResult & WithBotId(const Aws::String &value)
ListIntentMetricsResult & WithResults(Aws::Vector< AnalyticsIntentResult > &&value)
ListIntentMetricsResult & AddResults(AnalyticsIntentResult &&value)
ListIntentMetricsResult & WithRequestId(Aws::String &&value)
ListIntentMetricsResult & AddResults(const AnalyticsIntentResult &value)
AWS_LEXMODELSV2_API ListIntentMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< AnalyticsIntentResult > & GetResults() const
ListIntentMetricsResult & WithRequestId(const char *value)
AWS_LEXMODELSV2_API ListIntentMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListIntentMetricsResult & WithBotId(Aws::String &&value)
ListIntentMetricsResult & WithRequestId(const Aws::String &value)
ListIntentMetricsResult & WithNextToken(const Aws::String &value)
void SetResults(const Aws::Vector< AnalyticsIntentResult > &value)
ListIntentMetricsResult & WithResults(const Aws::Vector< AnalyticsIntentResult > &value)
ListIntentMetricsResult & WithBotId(const char *value)
ListIntentMetricsResult & WithNextToken(const char *value)
void SetResults(Aws::Vector< AnalyticsIntentResult > &&value)
ListIntentMetricsResult & WithNextToken(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