AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListBotVersionsResult.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/BotVersionSummary.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 ListBotVersionsResult() = default;
35
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 template<typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
44 template<typename BotIdT = Aws::String>
45 ListBotVersionsResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
47
49
56 inline const Aws::Vector<BotVersionSummary>& GetBotVersionSummaries() const { return m_botVersionSummaries; }
57 template<typename BotVersionSummariesT = Aws::Vector<BotVersionSummary>>
58 void SetBotVersionSummaries(BotVersionSummariesT&& value) { m_botVersionSummariesHasBeenSet = true; m_botVersionSummaries = std::forward<BotVersionSummariesT>(value); }
59 template<typename BotVersionSummariesT = Aws::Vector<BotVersionSummary>>
60 ListBotVersionsResult& WithBotVersionSummaries(BotVersionSummariesT&& value) { SetBotVersionSummaries(std::forward<BotVersionSummariesT>(value)); return *this;}
61 template<typename BotVersionSummariesT = BotVersionSummary>
62 ListBotVersionsResult& AddBotVersionSummaries(BotVersionSummariesT&& value) { m_botVersionSummariesHasBeenSet = true; m_botVersionSummaries.emplace_back(std::forward<BotVersionSummariesT>(value)); return *this; }
64
66
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 ListBotVersionsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 ListBotVersionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_botId;
91 bool m_botIdHasBeenSet = false;
92
93 Aws::Vector<BotVersionSummary> m_botVersionSummaries;
94 bool m_botVersionSummariesHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 Aws::String m_requestId;
100 bool m_requestIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LexModelsV2
105} // namespace Aws
AWS_LEXMODELSV2_API ListBotVersionsResult()=default
void SetBotVersionSummaries(BotVersionSummariesT &&value)
AWS_LEXMODELSV2_API ListBotVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotVersionsResult & WithBotId(BotIdT &&value)
ListBotVersionsResult & WithBotVersionSummaries(BotVersionSummariesT &&value)
AWS_LEXMODELSV2_API ListBotVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BotVersionSummary > & GetBotVersionSummaries() const
ListBotVersionsResult & WithRequestId(RequestIdT &&value)
ListBotVersionsResult & AddBotVersionSummaries(BotVersionSummariesT &&value)
ListBotVersionsResult & WithNextToken(NextTokenT &&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