AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportJobSummary.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/wisdom/model/ExternalSourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wisdom/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wisdom/model/ImportJobStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ConnectWisdomService
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CONNECTWISDOMSERVICE_API ImportJobSummary();
40 AWS_CONNECTWISDOMSERVICE_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTWISDOMSERVICE_API ImportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
50 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
51 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
52 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
53 inline ImportJobSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
54 inline ImportJobSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
56
58
62 inline const ExternalSourceConfiguration& GetExternalSourceConfiguration() const{ return m_externalSourceConfiguration; }
63 inline bool ExternalSourceConfigurationHasBeenSet() const { return m_externalSourceConfigurationHasBeenSet; }
64 inline void SetExternalSourceConfiguration(const ExternalSourceConfiguration& value) { m_externalSourceConfigurationHasBeenSet = true; m_externalSourceConfiguration = value; }
65 inline void SetExternalSourceConfiguration(ExternalSourceConfiguration&& value) { m_externalSourceConfigurationHasBeenSet = true; m_externalSourceConfiguration = std::move(value); }
69
71
74 inline const Aws::String& GetImportJobId() const{ return m_importJobId; }
75 inline bool ImportJobIdHasBeenSet() const { return m_importJobIdHasBeenSet; }
76 inline void SetImportJobId(const Aws::String& value) { m_importJobIdHasBeenSet = true; m_importJobId = value; }
77 inline void SetImportJobId(Aws::String&& value) { m_importJobIdHasBeenSet = true; m_importJobId = std::move(value); }
78 inline void SetImportJobId(const char* value) { m_importJobIdHasBeenSet = true; m_importJobId.assign(value); }
79 inline ImportJobSummary& WithImportJobId(const Aws::String& value) { SetImportJobId(value); return *this;}
80 inline ImportJobSummary& WithImportJobId(Aws::String&& value) { SetImportJobId(std::move(value)); return *this;}
81 inline ImportJobSummary& WithImportJobId(const char* value) { SetImportJobId(value); return *this;}
83
85
88 inline const ImportJobType& GetImportJobType() const{ return m_importJobType; }
89 inline bool ImportJobTypeHasBeenSet() const { return m_importJobTypeHasBeenSet; }
90 inline void SetImportJobType(const ImportJobType& value) { m_importJobTypeHasBeenSet = true; m_importJobType = value; }
91 inline void SetImportJobType(ImportJobType&& value) { m_importJobTypeHasBeenSet = true; m_importJobType = std::move(value); }
92 inline ImportJobSummary& WithImportJobType(const ImportJobType& value) { SetImportJobType(value); return *this;}
93 inline ImportJobSummary& WithImportJobType(ImportJobType&& value) { SetImportJobType(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
101 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
102 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
103 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
104 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
105 inline ImportJobSummary& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
106 inline ImportJobSummary& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
107 inline ImportJobSummary& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
109
111
115 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
116 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
117 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
118 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
119 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
120 inline ImportJobSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
121 inline ImportJobSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
122 inline ImportJobSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
130 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
131 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
132 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
134 inline ImportJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
142 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
143 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
144 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
146 inline ImportJobSummary& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
147 inline ImportJobSummary& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
148 inline ImportJobSummary& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
149 inline ImportJobSummary& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
150 inline ImportJobSummary& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
151 inline ImportJobSummary& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
152 inline ImportJobSummary& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
153 inline ImportJobSummary& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
155
157
160 inline const ImportJobStatus& GetStatus() const{ return m_status; }
161 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
162 inline void SetStatus(const ImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
163 inline void SetStatus(ImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
164 inline ImportJobSummary& WithStatus(const ImportJobStatus& value) { SetStatus(value); return *this;}
165 inline ImportJobSummary& WithStatus(ImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
167
169
173 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
174 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
175 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
176 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
177 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
178 inline ImportJobSummary& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
179 inline ImportJobSummary& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
180 inline ImportJobSummary& WithUploadId(const char* value) { SetUploadId(value); return *this;}
182 private:
183
184 Aws::Utils::DateTime m_createdTime;
185 bool m_createdTimeHasBeenSet = false;
186
187 ExternalSourceConfiguration m_externalSourceConfiguration;
188 bool m_externalSourceConfigurationHasBeenSet = false;
189
190 Aws::String m_importJobId;
191 bool m_importJobIdHasBeenSet = false;
192
193 ImportJobType m_importJobType;
194 bool m_importJobTypeHasBeenSet = false;
195
196 Aws::String m_knowledgeBaseArn;
197 bool m_knowledgeBaseArnHasBeenSet = false;
198
199 Aws::String m_knowledgeBaseId;
200 bool m_knowledgeBaseIdHasBeenSet = false;
201
202 Aws::Utils::DateTime m_lastModifiedTime;
203 bool m_lastModifiedTimeHasBeenSet = false;
204
206 bool m_metadataHasBeenSet = false;
207
208 ImportJobStatus m_status;
209 bool m_statusHasBeenSet = false;
210
211 Aws::String m_uploadId;
212 bool m_uploadIdHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace ConnectWisdomService
217} // namespace Aws
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
ImportJobSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
ImportJobSummary & WithStatus(ImportJobStatus &&value)
ImportJobSummary & AddMetadata(Aws::String &&key, const char *value)
ImportJobSummary & WithKnowledgeBaseArn(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ImportJobSummary & WithImportJobType(const ImportJobType &value)
ImportJobSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
ImportJobSummary & WithKnowledgeBaseId(Aws::String &&value)
ImportJobSummary & WithUploadId(const char *value)
ImportJobSummary & WithUploadId(const Aws::String &value)
ImportJobSummary & AddMetadata(const char *key, Aws::String &&value)
ImportJobSummary & WithImportJobId(const char *value)
ImportJobSummary & WithStatus(const ImportJobStatus &value)
ImportJobSummary & AddMetadata(const char *key, const char *value)
ImportJobSummary & WithKnowledgeBaseArn(const char *value)
ImportJobSummary & WithUploadId(Aws::String &&value)
ImportJobSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
ImportJobSummary & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
ImportJobSummary & WithKnowledgeBaseArn(const Aws::String &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ImportJobSummary & WithImportJobId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & WithImportJobId(Aws::String &&value)
void SetImportJobType(const ImportJobType &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ImportJobSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
ImportJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
ImportJobSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ImportJobSummary & WithKnowledgeBaseId(const char *value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary()
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithImportJobType(ImportJobType &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithKnowledgeBaseId(const Aws::String &value)
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue