AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/S3DataType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/S3DataDistribution.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API S3DataSource();
39 AWS_SAGEMAKER_API S3DataSource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API S3DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
56 inline const S3DataType& GetS3DataType() const{ return m_s3DataType; }
57 inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
58 inline void SetS3DataType(const S3DataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; }
59 inline void SetS3DataType(S3DataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); }
60 inline S3DataSource& WithS3DataType(const S3DataType& value) { SetS3DataType(value); return *this;}
61 inline S3DataSource& WithS3DataType(S3DataType&& value) { SetS3DataType(std::move(value)); return *this;}
63
65
93 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
94 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
95 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
96 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
97 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
98 inline S3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
99 inline S3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
100 inline S3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
102
104
121 inline const S3DataDistribution& GetS3DataDistributionType() const{ return m_s3DataDistributionType; }
122 inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; }
123 inline void SetS3DataDistributionType(const S3DataDistribution& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = value; }
124 inline void SetS3DataDistributionType(S3DataDistribution&& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = std::move(value); }
126 inline S3DataSource& WithS3DataDistributionType(S3DataDistribution&& value) { SetS3DataDistributionType(std::move(value)); return *this;}
128
130
134 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
135 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
136 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
137 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
138 inline S3DataSource& WithAttributeNames(const Aws::Vector<Aws::String>& value) { SetAttributeNames(value); return *this;}
139 inline S3DataSource& WithAttributeNames(Aws::Vector<Aws::String>&& value) { SetAttributeNames(std::move(value)); return *this;}
140 inline S3DataSource& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
141 inline S3DataSource& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
142 inline S3DataSource& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
144
146
149 inline const Aws::Vector<Aws::String>& GetInstanceGroupNames() const{ return m_instanceGroupNames; }
150 inline bool InstanceGroupNamesHasBeenSet() const { return m_instanceGroupNamesHasBeenSet; }
151 inline void SetInstanceGroupNames(const Aws::Vector<Aws::String>& value) { m_instanceGroupNamesHasBeenSet = true; m_instanceGroupNames = value; }
152 inline void SetInstanceGroupNames(Aws::Vector<Aws::String>&& value) { m_instanceGroupNamesHasBeenSet = true; m_instanceGroupNames = std::move(value); }
154 inline S3DataSource& WithInstanceGroupNames(Aws::Vector<Aws::String>&& value) { SetInstanceGroupNames(std::move(value)); return *this;}
155 inline S3DataSource& AddInstanceGroupNames(const Aws::String& value) { m_instanceGroupNamesHasBeenSet = true; m_instanceGroupNames.push_back(value); return *this; }
156 inline S3DataSource& AddInstanceGroupNames(Aws::String&& value) { m_instanceGroupNamesHasBeenSet = true; m_instanceGroupNames.push_back(std::move(value)); return *this; }
157 inline S3DataSource& AddInstanceGroupNames(const char* value) { m_instanceGroupNamesHasBeenSet = true; m_instanceGroupNames.push_back(value); return *this; }
159 private:
160
161 S3DataType m_s3DataType;
162 bool m_s3DataTypeHasBeenSet = false;
163
164 Aws::String m_s3Uri;
165 bool m_s3UriHasBeenSet = false;
166
167 S3DataDistribution m_s3DataDistributionType;
168 bool m_s3DataDistributionTypeHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_attributeNames;
171 bool m_attributeNamesHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_instanceGroupNames;
174 bool m_instanceGroupNamesHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace SageMaker
179} // namespace Aws
const Aws::Vector< Aws::String > & GetInstanceGroupNames() const
S3DataSource & AddInstanceGroupNames(const Aws::String &value)
void SetInstanceGroupNames(const Aws::Vector< Aws::String > &value)
void SetS3Uri(const Aws::String &value)
S3DataSource & WithS3DataDistributionType(const S3DataDistribution &value)
S3DataSource & AddInstanceGroupNames(const char *value)
S3DataSource & WithS3DataDistributionType(S3DataDistribution &&value)
const Aws::String & GetS3Uri() const
S3DataSource & WithS3Uri(const Aws::String &value)
S3DataSource & WithS3Uri(Aws::String &&value)
void SetS3DataDistributionType(const S3DataDistribution &value)
void SetS3Uri(const char *value)
S3DataSource & AddAttributeNames(Aws::String &&value)
S3DataSource & WithInstanceGroupNames(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API S3DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
S3DataSource & AddInstanceGroupNames(Aws::String &&value)
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
void SetS3DataType(S3DataType &&value)
AWS_SAGEMAKER_API S3DataSource(Aws::Utils::Json::JsonView jsonValue)
S3DataSource & AddAttributeNames(const char *value)
S3DataSource & AddAttributeNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
void SetS3Uri(Aws::String &&value)
S3DataSource & WithS3DataType(const S3DataType &value)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
const S3DataType & GetS3DataType() const
void SetInstanceGroupNames(Aws::Vector< Aws::String > &&value)
S3DataSource & WithInstanceGroupNames(Aws::Vector< Aws::String > &&value)
S3DataSource & WithS3Uri(const char *value)
void SetS3DataType(const S3DataType &value)
S3DataSource & WithS3DataType(S3DataType &&value)
S3DataSource & WithAttributeNames(const Aws::Vector< Aws::String > &value)
S3DataSource & WithAttributeNames(Aws::Vector< Aws::String > &&value)
const S3DataDistribution & GetS3DataDistributionType() const
void SetS3DataDistributionType(S3DataDistribution &&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