AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImportsResult.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/ImportSummary.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 ListImportsResult();
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 ListImportsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListImportsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListImportsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
55 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
56 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
57 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
58 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
59 inline ListImportsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
60 inline ListImportsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
61 inline ListImportsResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
63
65
72 inline const Aws::Vector<ImportSummary>& GetImportSummaries() const{ return m_importSummaries; }
73 inline void SetImportSummaries(const Aws::Vector<ImportSummary>& value) { m_importSummaries = value; }
74 inline void SetImportSummaries(Aws::Vector<ImportSummary>&& value) { m_importSummaries = std::move(value); }
76 inline ListImportsResult& WithImportSummaries(Aws::Vector<ImportSummary>&& value) { SetImportSummaries(std::move(value)); return *this;}
77 inline ListImportsResult& AddImportSummaries(const ImportSummary& value) { m_importSummaries.push_back(value); return *this; }
78 inline ListImportsResult& AddImportSummaries(ImportSummary&& value) { m_importSummaries.push_back(std::move(value)); return *this; }
80
82
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 inline ListImportsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline ListImportsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline ListImportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
101 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
102 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
103 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
104 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
105 inline ListImportsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
106 inline ListImportsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
107 inline ListImportsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline ListImportsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline ListImportsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline ListImportsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_botId;
123
124 Aws::String m_botVersion;
125
126 Aws::Vector<ImportSummary> m_importSummaries;
127
128 Aws::String m_nextToken;
129
130 Aws::String m_localeId;
131
132 Aws::String m_requestId;
133 };
134
135} // namespace Model
136} // namespace LexModelsV2
137} // namespace Aws
ListImportsResult & WithRequestId(const char *value)
ListImportsResult & WithLocaleId(const char *value)
const Aws::Vector< ImportSummary > & GetImportSummaries() const
ListImportsResult & WithBotVersion(Aws::String &&value)
void SetLocaleId(const Aws::String &value)
ListImportsResult & WithBotId(const Aws::String &value)
void SetImportSummaries(const Aws::Vector< ImportSummary > &value)
ListImportsResult & WithBotId(const char *value)
void SetRequestId(const Aws::String &value)
ListImportsResult & WithRequestId(const Aws::String &value)
void SetBotId(const Aws::String &value)
ListImportsResult & WithBotId(Aws::String &&value)
void SetBotVersion(const Aws::String &value)
ListImportsResult & WithBotVersion(const char *value)
ListImportsResult & WithImportSummaries(const Aws::Vector< ImportSummary > &value)
ListImportsResult & WithLocaleId(Aws::String &&value)
ListImportsResult & WithImportSummaries(Aws::Vector< ImportSummary > &&value)
AWS_LEXMODELSV2_API ListImportsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(const Aws::String &value)
void SetImportSummaries(Aws::Vector< ImportSummary > &&value)
ListImportsResult & AddImportSummaries(const ImportSummary &value)
ListImportsResult & WithNextToken(const char *value)
ListImportsResult & AddImportSummaries(ImportSummary &&value)
ListImportsResult & WithLocaleId(const Aws::String &value)
ListImportsResult & WithBotVersion(const Aws::String &value)
AWS_LEXMODELSV2_API ListImportsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListImportsResult & WithRequestId(Aws::String &&value)
ListImportsResult & WithNextToken(const Aws::String &value)
ListImportsResult & 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