AWS SDK for C++  0.12.9
AWS SDK for C++
GetDataSourceResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 template<typename RESULT_TYPE>
26 class AmazonWebServiceResult;
27 
28 namespace Utils
29 {
30 namespace Json
31 {
32  class JsonValue;
33 } // namespace Json
34 } // namespace Utils
35 namespace MachineLearning
36 {
37 namespace Model
38 {
44  {
45  public:
49 
54  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
55 
60  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
61 
66  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = value; }
67 
72  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
73 
78  inline GetDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
79 
84  inline GetDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(value); return *this;}
85 
90  inline GetDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
91 
96  inline const Aws::String& GetDataLocationS3() const{ return m_dataLocationS3; }
97 
102  inline void SetDataLocationS3(const Aws::String& value) { m_dataLocationS3 = value; }
103 
108  inline void SetDataLocationS3(Aws::String&& value) { m_dataLocationS3 = value; }
109 
114  inline void SetDataLocationS3(const char* value) { m_dataLocationS3.assign(value); }
115 
120  inline GetDataSourceResult& WithDataLocationS3(const Aws::String& value) { SetDataLocationS3(value); return *this;}
121 
126  inline GetDataSourceResult& WithDataLocationS3(Aws::String&& value) { SetDataLocationS3(value); return *this;}
127 
132  inline GetDataSourceResult& WithDataLocationS3(const char* value) { SetDataLocationS3(value); return *this;}
133 
138  inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
139 
144  inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangement = value; }
145 
150  inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangement = value; }
151 
156  inline void SetDataRearrangement(const char* value) { m_dataRearrangement.assign(value); }
157 
162  inline GetDataSourceResult& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
163 
168  inline GetDataSourceResult& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(value); return *this;}
169 
174  inline GetDataSourceResult& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
175 
181  inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
182 
188  inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
189 
195  inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = value; }
196 
202  inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
203 
209  inline GetDataSourceResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
210 
216  inline GetDataSourceResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(value); return *this;}
217 
223  inline GetDataSourceResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
224 
229  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
230 
235  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
236 
241  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = value; }
242 
247  inline GetDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
248 
253  inline GetDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(value); return *this;}
254 
259  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
260 
265  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
266 
271  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = value; }
272 
277  inline GetDataSourceResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
278 
283  inline GetDataSourceResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(value); return *this;}
284 
288  inline long long GetDataSizeInBytes() const{ return m_dataSizeInBytes; }
289 
293  inline void SetDataSizeInBytes(long long value) { m_dataSizeInBytes = value; }
294 
298  inline GetDataSourceResult& WithDataSizeInBytes(long long value) { SetDataSizeInBytes(value); return *this;}
299 
303  inline long long GetNumberOfFiles() const{ return m_numberOfFiles; }
304 
308  inline void SetNumberOfFiles(long long value) { m_numberOfFiles = value; }
309 
313  inline GetDataSourceResult& WithNumberOfFiles(long long value) { SetNumberOfFiles(value); return *this;}
314 
318  inline const Aws::String& GetName() const{ return m_name; }
319 
323  inline void SetName(const Aws::String& value) { m_name = value; }
324 
328  inline void SetName(Aws::String&& value) { m_name = value; }
329 
333  inline void SetName(const char* value) { m_name.assign(value); }
334 
338  inline GetDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
339 
343  inline GetDataSourceResult& WithName(Aws::String&& value) { SetName(value); return *this;}
344 
348  inline GetDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
349 
360  inline const EntityStatus& GetStatus() const{ return m_status; }
361 
372  inline void SetStatus(const EntityStatus& value) { m_status = value; }
373 
384  inline void SetStatus(EntityStatus&& value) { m_status = value; }
385 
396  inline GetDataSourceResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
397 
408  inline GetDataSourceResult& WithStatus(EntityStatus&& value) { SetStatus(value); return *this;}
409 
414  inline const Aws::String& GetLogUri() const{ return m_logUri; }
415 
420  inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
421 
426  inline void SetLogUri(Aws::String&& value) { m_logUri = value; }
427 
432  inline void SetLogUri(const char* value) { m_logUri.assign(value); }
433 
438  inline GetDataSourceResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
439 
444  inline GetDataSourceResult& WithLogUri(Aws::String&& value) { SetLogUri(value); return *this;}
445 
450  inline GetDataSourceResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
451 
456  inline const Aws::String& GetMessage() const{ return m_message; }
457 
462  inline void SetMessage(const Aws::String& value) { m_message = value; }
463 
468  inline void SetMessage(Aws::String&& value) { m_message = value; }
469 
474  inline void SetMessage(const char* value) { m_message.assign(value); }
475 
480  inline GetDataSourceResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
481 
486  inline GetDataSourceResult& WithMessage(Aws::String&& value) { SetMessage(value); return *this;}
487 
492  inline GetDataSourceResult& WithMessage(const char* value) { SetMessage(value); return *this;}
493 
494 
495  inline const RedshiftMetadata& GetRedshiftMetadata() const{ return m_redshiftMetadata; }
496 
497 
498  inline void SetRedshiftMetadata(const RedshiftMetadata& value) { m_redshiftMetadata = value; }
499 
500 
501  inline void SetRedshiftMetadata(RedshiftMetadata&& value) { m_redshiftMetadata = value; }
502 
503 
504  inline GetDataSourceResult& WithRedshiftMetadata(const RedshiftMetadata& value) { SetRedshiftMetadata(value); return *this;}
505 
506 
507  inline GetDataSourceResult& WithRedshiftMetadata(RedshiftMetadata&& value) { SetRedshiftMetadata(value); return *this;}
508 
509 
510  inline const RDSMetadata& GetRDSMetadata() const{ return m_rDSMetadata; }
511 
512 
513  inline void SetRDSMetadata(const RDSMetadata& value) { m_rDSMetadata = value; }
514 
515 
516  inline void SetRDSMetadata(RDSMetadata&& value) { m_rDSMetadata = value; }
517 
518 
519  inline GetDataSourceResult& WithRDSMetadata(const RDSMetadata& value) { SetRDSMetadata(value); return *this;}
520 
521 
522  inline GetDataSourceResult& WithRDSMetadata(RDSMetadata&& value) { SetRDSMetadata(value); return *this;}
523 
524 
525  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
526 
527 
528  inline void SetRoleARN(const Aws::String& value) { m_roleARN = value; }
529 
530 
531  inline void SetRoleARN(Aws::String&& value) { m_roleARN = value; }
532 
533 
534  inline void SetRoleARN(const char* value) { m_roleARN.assign(value); }
535 
536 
537  inline GetDataSourceResult& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
538 
539 
540  inline GetDataSourceResult& WithRoleARN(Aws::String&& value) { SetRoleARN(value); return *this;}
541 
542 
543  inline GetDataSourceResult& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
544 
549  inline bool GetComputeStatistics() const{ return m_computeStatistics; }
550 
555  inline void SetComputeStatistics(bool value) { m_computeStatistics = value; }
556 
561  inline GetDataSourceResult& WithComputeStatistics(bool value) { SetComputeStatistics(value); return *this;}
562 
568  inline const Aws::String& GetDataSourceSchema() const{ return m_dataSourceSchema; }
569 
575  inline void SetDataSourceSchema(const Aws::String& value) { m_dataSourceSchema = value; }
576 
582  inline void SetDataSourceSchema(Aws::String&& value) { m_dataSourceSchema = value; }
583 
589  inline void SetDataSourceSchema(const char* value) { m_dataSourceSchema.assign(value); }
590 
596  inline GetDataSourceResult& WithDataSourceSchema(const Aws::String& value) { SetDataSourceSchema(value); return *this;}
597 
603  inline GetDataSourceResult& WithDataSourceSchema(Aws::String&& value) { SetDataSourceSchema(value); return *this;}
604 
610  inline GetDataSourceResult& WithDataSourceSchema(const char* value) { SetDataSourceSchema(value); return *this;}
611 
612  private:
613  Aws::String m_dataSourceId;
614  Aws::String m_dataLocationS3;
615  Aws::String m_dataRearrangement;
616  Aws::String m_createdByIamUser;
617  Aws::Utils::DateTime m_createdAt;
618  Aws::Utils::DateTime m_lastUpdatedAt;
619  long long m_dataSizeInBytes;
620  long long m_numberOfFiles;
621  Aws::String m_name;
622  EntityStatus m_status;
623  Aws::String m_logUri;
624  Aws::String m_message;
625  RedshiftMetadata m_redshiftMetadata;
626  RDSMetadata m_rDSMetadata;
627  Aws::String m_roleARN;
628  bool m_computeStatistics;
629  Aws::String m_dataSourceSchema;
630  };
631 
632 } // namespace Model
633 } // namespace MachineLearning
634 } // namespace Aws
GetDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithRedshiftMetadata(RedshiftMetadata &&value)
GetDataSourceResult & WithCreatedByIamUser(const Aws::String &value)
GetDataSourceResult & WithDataSourceId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDataSizeInBytes(long long value)
GetDataSourceResult & WithDataSourceSchema(const char *value)
GetDataSourceResult & WithName(const Aws::String &value)
GetDataSourceResult & WithDataRearrangement(Aws::String &&value)
GetDataSourceResult & WithCreatedByIamUser(const char *value)
GetDataSourceResult & WithDataSourceSchema(Aws::String &&value)
GetDataSourceResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithLogUri(const Aws::String &value)
GetDataSourceResult & WithRoleARN(Aws::String &&value)
GetDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithDataSourceId(const char *value)
GetDataSourceResult & WithMessage(const char *value)
GetDataSourceResult & WithComputeStatistics(bool value)
const RedshiftMetadata & GetRedshiftMetadata() const
GetDataSourceResult & WithMessage(const Aws::String &value)
GetDataSourceResult & WithStatus(const EntityStatus &value)
GetDataSourceResult & WithDataRearrangement(const Aws::String &value)
GetDataSourceResult & WithLogUri(Aws::String &&value)
GetDataSourceResult & WithName(const char *value)
GetDataSourceResult & WithNumberOfFiles(long long value)
GetDataSourceResult & WithDataSourceId(Aws::String &&value)
GetDataSourceResult & WithDataLocationS3(const Aws::String &value)
GetDataSourceResult & WithRoleARN(const Aws::String &value)
GetDataSourceResult & WithRDSMetadata(const RDSMetadata &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithRoleARN(const char *value)
GetDataSourceResult & WithRDSMetadata(RDSMetadata &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDataSourceSchema(const Aws::String &value)
GetDataSourceResult & WithMessage(Aws::String &&value)
GetDataSourceResult & WithDataLocationS3(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDataSourceResult & WithCreatedByIamUser(Aws::String &&value)
GetDataSourceResult & WithName(Aws::String &&value)
GetDataSourceResult & WithLogUri(const char *value)
void SetRedshiftMetadata(const RedshiftMetadata &value)
GetDataSourceResult & WithRedshiftMetadata(const RedshiftMetadata &value)
GetDataSourceResult & WithDataLocationS3(const char *value)
#define AWS_MACHINELEARNING_API
const Aws::Utils::DateTime & GetLastUpdatedAt() const
JSON (JavaScript Object Notation).
GetDataSourceResult & WithStatus(EntityStatus &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithDataRearrangement(const char *value)