AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListExportsResult.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/ExportSummary.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 ListExportsResult();
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 ListExportsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListExportsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListExportsResult& 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 ListExportsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
59 inline ListExportsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
60 inline ListExportsResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
62
64
71 inline const Aws::Vector<ExportSummary>& GetExportSummaries() const{ return m_exportSummaries; }
72 inline void SetExportSummaries(const Aws::Vector<ExportSummary>& value) { m_exportSummaries = value; }
73 inline void SetExportSummaries(Aws::Vector<ExportSummary>&& value) { m_exportSummaries = std::move(value); }
75 inline ListExportsResult& WithExportSummaries(Aws::Vector<ExportSummary>&& value) { SetExportSummaries(std::move(value)); return *this;}
76 inline ListExportsResult& AddExportSummaries(const ExportSummary& value) { m_exportSummaries.push_back(value); return *this; }
77 inline ListExportsResult& AddExportSummaries(ExportSummary&& value) { m_exportSummaries.push_back(std::move(value)); return *this; }
79
81
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
91 inline ListExportsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListExportsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListExportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
101 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
102 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
103 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
104 inline ListExportsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
105 inline ListExportsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
106 inline ListExportsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline ListExportsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline ListExportsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline ListExportsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::String m_botId;
122
123 Aws::String m_botVersion;
124
125 Aws::Vector<ExportSummary> m_exportSummaries;
126
127 Aws::String m_nextToken;
128
129 Aws::String m_localeId;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace LexModelsV2
136} // namespace Aws
ListExportsResult & WithNextToken(const char *value)
ListExportsResult & WithLocaleId(const char *value)
const Aws::Vector< ExportSummary > & GetExportSummaries() const
ListExportsResult & WithRequestId(const Aws::String &value)
ListExportsResult & WithExportSummaries(const Aws::Vector< ExportSummary > &value)
ListExportsResult & WithRequestId(const char *value)
ListExportsResult & WithRequestId(Aws::String &&value)
ListExportsResult & WithLocaleId(Aws::String &&value)
AWS_LEXMODELSV2_API ListExportsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(const Aws::String &value)
ListExportsResult & AddExportSummaries(ExportSummary &&value)
ListExportsResult & AddExportSummaries(const ExportSummary &value)
ListExportsResult & WithLocaleId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetExportSummaries(Aws::Vector< ExportSummary > &&value)
void SetLocaleId(const Aws::String &value)
ListExportsResult & WithBotVersion(const char *value)
ListExportsResult & WithBotVersion(const Aws::String &value)
void SetBotId(const Aws::String &value)
ListExportsResult & WithBotId(const Aws::String &value)
void SetBotVersion(const Aws::String &value)
void SetExportSummaries(const Aws::Vector< ExportSummary > &value)
ListExportsResult & WithBotId(const char *value)
ListExportsResult & WithBotId(Aws::String &&value)
ListExportsResult & WithNextToken(const Aws::String &value)
AWS_LEXMODELSV2_API ListExportsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListExportsResult & WithNextToken(Aws::String &&value)
ListExportsResult & WithBotVersion(Aws::String &&value)
ListExportsResult & WithExportSummaries(Aws::Vector< ExportSummary > &&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