AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ListBotVersionsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListBotVersionsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListBotVersionsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
58 inline const Aws::Vector<BotVersionSummary>& GetBotVersionSummaries() const{ return m_botVersionSummaries; }
59 inline void SetBotVersionSummaries(const Aws::Vector<BotVersionSummary>& value) { m_botVersionSummaries = value; }
60 inline void SetBotVersionSummaries(Aws::Vector<BotVersionSummary>&& value) { m_botVersionSummaries = std::move(value); }
63 inline ListBotVersionsResult& AddBotVersionSummaries(const BotVersionSummary& value) { m_botVersionSummaries.push_back(value); return *this; }
64 inline ListBotVersionsResult& AddBotVersionSummaries(BotVersionSummary&& value) { m_botVersionSummaries.push_back(std::move(value)); return *this; }
66
68
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
79 inline ListBotVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListBotVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListBotVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline ListBotVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline ListBotVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline ListBotVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_botId;
97
98 Aws::Vector<BotVersionSummary> m_botVersionSummaries;
99
100 Aws::String m_nextToken;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace LexModelsV2
107} // namespace Aws
ListBotVersionsResult & WithNextToken(const Aws::String &value)
ListBotVersionsResult & AddBotVersionSummaries(BotVersionSummary &&value)
ListBotVersionsResult & AddBotVersionSummaries(const BotVersionSummary &value)
AWS_LEXMODELSV2_API ListBotVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotVersionsResult & WithRequestId(const char *value)
ListBotVersionsResult & WithRequestId(const Aws::String &value)
void SetBotVersionSummaries(const Aws::Vector< BotVersionSummary > &value)
AWS_LEXMODELSV2_API ListBotVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotVersionsResult & WithNextToken(const char *value)
const Aws::Vector< BotVersionSummary > & GetBotVersionSummaries() const
ListBotVersionsResult & WithBotVersionSummaries(Aws::Vector< BotVersionSummary > &&value)
ListBotVersionsResult & WithBotId(const char *value)
ListBotVersionsResult & WithBotId(const Aws::String &value)
ListBotVersionsResult & WithRequestId(Aws::String &&value)
ListBotVersionsResult & WithBotVersionSummaries(const Aws::Vector< BotVersionSummary > &value)
void SetBotVersionSummaries(Aws::Vector< BotVersionSummary > &&value)
ListBotVersionsResult & WithNextToken(Aws::String &&value)
ListBotVersionsResult & WithBotId(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