AWS SDK for C++  0.12.9
AWS SDK for C++
S3DataSpec.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace MachineLearning
29 {
30 namespace Model
31 {
32 
37  {
38  public:
39  S3DataSpec();
40  S3DataSpec(const Aws::Utils::Json::JsonValue& jsonValue);
41  S3DataSpec& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
49  inline const Aws::String& GetDataLocationS3() const{ return m_dataLocationS3; }
50 
56  inline void SetDataLocationS3(const Aws::String& value) { m_dataLocationS3HasBeenSet = true; m_dataLocationS3 = value; }
57 
63  inline void SetDataLocationS3(Aws::String&& value) { m_dataLocationS3HasBeenSet = true; m_dataLocationS3 = value; }
64 
70  inline void SetDataLocationS3(const char* value) { m_dataLocationS3HasBeenSet = true; m_dataLocationS3.assign(value); }
71 
77  inline S3DataSpec& WithDataLocationS3(const Aws::String& value) { SetDataLocationS3(value); return *this;}
78 
84  inline S3DataSpec& WithDataLocationS3(Aws::String&& value) { SetDataLocationS3(value); return *this;}
85 
91  inline S3DataSpec& WithDataLocationS3(const char* value) { SetDataLocationS3(value); return *this;}
92 
154  inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
155 
217  inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = value; }
218 
280  inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = value; }
281 
343  inline void SetDataRearrangement(const char* value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement.assign(value); }
344 
406  inline S3DataSpec& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
407 
469  inline S3DataSpec& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(value); return *this;}
470 
532  inline S3DataSpec& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
533 
555  inline const Aws::String& GetDataSchema() const{ return m_dataSchema; }
556 
578  inline void SetDataSchema(const Aws::String& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = value; }
579 
601  inline void SetDataSchema(Aws::String&& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = value; }
602 
624  inline void SetDataSchema(const char* value) { m_dataSchemaHasBeenSet = true; m_dataSchema.assign(value); }
625 
647  inline S3DataSpec& WithDataSchema(const Aws::String& value) { SetDataSchema(value); return *this;}
648 
670  inline S3DataSpec& WithDataSchema(Aws::String&& value) { SetDataSchema(value); return *this;}
671 
693  inline S3DataSpec& WithDataSchema(const char* value) { SetDataSchema(value); return *this;}
694 
699  inline const Aws::String& GetDataSchemaLocationS3() const{ return m_dataSchemaLocationS3; }
700 
705  inline void SetDataSchemaLocationS3(const Aws::String& value) { m_dataSchemaLocationS3HasBeenSet = true; m_dataSchemaLocationS3 = value; }
706 
711  inline void SetDataSchemaLocationS3(Aws::String&& value) { m_dataSchemaLocationS3HasBeenSet = true; m_dataSchemaLocationS3 = value; }
712 
717  inline void SetDataSchemaLocationS3(const char* value) { m_dataSchemaLocationS3HasBeenSet = true; m_dataSchemaLocationS3.assign(value); }
718 
723  inline S3DataSpec& WithDataSchemaLocationS3(const Aws::String& value) { SetDataSchemaLocationS3(value); return *this;}
724 
729  inline S3DataSpec& WithDataSchemaLocationS3(Aws::String&& value) { SetDataSchemaLocationS3(value); return *this;}
730 
735  inline S3DataSpec& WithDataSchemaLocationS3(const char* value) { SetDataSchemaLocationS3(value); return *this;}
736 
737  private:
738  Aws::String m_dataLocationS3;
739  bool m_dataLocationS3HasBeenSet;
740  Aws::String m_dataRearrangement;
741  bool m_dataRearrangementHasBeenSet;
742  Aws::String m_dataSchema;
743  bool m_dataSchemaHasBeenSet;
744  Aws::String m_dataSchemaLocationS3;
745  bool m_dataSchemaLocationS3HasBeenSet;
746  };
747 
748 } // namespace Model
749 } // namespace MachineLearning
750 } // namespace Aws
S3DataSpec & WithDataSchemaLocationS3(Aws::String &&value)
Definition: S3DataSpec.h:729
void SetDataRearrangement(Aws::String &&value)
Definition: S3DataSpec.h:280
void SetDataSchema(Aws::String &&value)
Definition: S3DataSpec.h:601
void SetDataRearrangement(const Aws::String &value)
Definition: S3DataSpec.h:217
S3DataSpec & WithDataSchemaLocationS3(const Aws::String &value)
Definition: S3DataSpec.h:723
S3DataSpec & WithDataSchema(const char *value)
Definition: S3DataSpec.h:693
void SetDataSchema(const Aws::String &value)
Definition: S3DataSpec.h:578
S3DataSpec & WithDataSchemaLocationS3(const char *value)
Definition: S3DataSpec.h:735
const Aws::String & GetDataRearrangement() const
Definition: S3DataSpec.h:154
const Aws::String & GetDataLocationS3() const
Definition: S3DataSpec.h:49
S3DataSpec & WithDataRearrangement(Aws::String &&value)
Definition: S3DataSpec.h:469
void SetDataSchemaLocationS3(Aws::String &&value)
Definition: S3DataSpec.h:711
S3DataSpec & WithDataRearrangement(const Aws::String &value)
Definition: S3DataSpec.h:406
void SetDataLocationS3(const Aws::String &value)
Definition: S3DataSpec.h:56
void SetDataLocationS3(const char *value)
Definition: S3DataSpec.h:70
const Aws::String & GetDataSchemaLocationS3() const
Definition: S3DataSpec.h:699
S3DataSpec & WithDataLocationS3(Aws::String &&value)
Definition: S3DataSpec.h:84
S3DataSpec & WithDataLocationS3(const char *value)
Definition: S3DataSpec.h:91
S3DataSpec & WithDataLocationS3(const Aws::String &value)
Definition: S3DataSpec.h:77
void SetDataSchemaLocationS3(const Aws::String &value)
Definition: S3DataSpec.h:705
void SetDataLocationS3(Aws::String &&value)
Definition: S3DataSpec.h:63
void SetDataSchema(const char *value)
Definition: S3DataSpec.h:624
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDataSchemaLocationS3(const char *value)
Definition: S3DataSpec.h:717
S3DataSpec & WithDataSchema(Aws::String &&value)
Definition: S3DataSpec.h:670
S3DataSpec & WithDataSchema(const Aws::String &value)
Definition: S3DataSpec.h:647
#define AWS_MACHINELEARNING_API
const Aws::String & GetDataSchema() const
Definition: S3DataSpec.h:555
JSON (JavaScript Object Notation).
void SetDataRearrangement(const char *value)
Definition: S3DataSpec.h:343
S3DataSpec & WithDataRearrangement(const char *value)
Definition: S3DataSpec.h:532