AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBotLocalesResult.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/BotLocaleSummary.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 ListBotLocalesResult();
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 ListBotLocalesResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListBotLocalesResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListBotLocalesResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
55 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
56 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
57 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
58 inline ListBotLocalesResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
59 inline ListBotLocalesResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
60 inline ListBotLocalesResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
62
64
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline ListBotLocalesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListBotLocalesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListBotLocalesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
88 inline const Aws::Vector<BotLocaleSummary>& GetBotLocaleSummaries() const{ return m_botLocaleSummaries; }
89 inline void SetBotLocaleSummaries(const Aws::Vector<BotLocaleSummary>& value) { m_botLocaleSummaries = value; }
90 inline void SetBotLocaleSummaries(Aws::Vector<BotLocaleSummary>&& value) { m_botLocaleSummaries = std::move(value); }
93 inline ListBotLocalesResult& AddBotLocaleSummaries(const BotLocaleSummary& value) { m_botLocaleSummaries.push_back(value); return *this; }
94 inline ListBotLocalesResult& AddBotLocaleSummaries(BotLocaleSummary&& value) { m_botLocaleSummaries.push_back(std::move(value)); return *this; }
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline ListBotLocalesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline ListBotLocalesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline ListBotLocalesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_botId;
110
111 Aws::String m_botVersion;
112
113 Aws::String m_nextToken;
114
115 Aws::Vector<BotLocaleSummary> m_botLocaleSummaries;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace LexModelsV2
122} // namespace Aws
ListBotLocalesResult & WithNextToken(const char *value)
ListBotLocalesResult & WithNextToken(Aws::String &&value)
ListBotLocalesResult & WithRequestId(const Aws::String &value)
ListBotLocalesResult & WithBotVersion(const char *value)
void SetBotLocaleSummaries(Aws::Vector< BotLocaleSummary > &&value)
AWS_LEXMODELSV2_API ListBotLocalesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotLocalesResult & WithNextToken(const Aws::String &value)
ListBotLocalesResult & AddBotLocaleSummaries(const BotLocaleSummary &value)
ListBotLocalesResult & WithBotLocaleSummaries(const Aws::Vector< BotLocaleSummary > &value)
ListBotLocalesResult & WithBotId(const Aws::String &value)
ListBotLocalesResult & WithBotVersion(const Aws::String &value)
ListBotLocalesResult & WithBotVersion(Aws::String &&value)
ListBotLocalesResult & WithBotId(Aws::String &&value)
ListBotLocalesResult & WithRequestId(Aws::String &&value)
ListBotLocalesResult & WithBotLocaleSummaries(Aws::Vector< BotLocaleSummary > &&value)
ListBotLocalesResult & WithRequestId(const char *value)
AWS_LEXMODELSV2_API ListBotLocalesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BotLocaleSummary > & GetBotLocaleSummaries() const
void SetBotLocaleSummaries(const Aws::Vector< BotLocaleSummary > &value)
ListBotLocalesResult & AddBotLocaleSummaries(BotLocaleSummary &&value)
ListBotLocalesResult & WithBotId(const char *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