AWS SDK for C++  1.9.124
AWS SDK for C++
S3DataSource.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
55  inline const S3DataType& GetS3DataType() const{ return m_s3DataType; }
56 
69  inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
70 
83  inline void SetS3DataType(const S3DataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; }
84 
97  inline void SetS3DataType(S3DataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); }
98 
111  inline S3DataSource& WithS3DataType(const S3DataType& value) { SetS3DataType(value); return *this;}
112 
125  inline S3DataSource& WithS3DataType(S3DataType&& value) { SetS3DataType(std::move(value)); return *this;}
126 
127 
155  inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
156 
184  inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
185 
213  inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
214 
242  inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
243 
271  inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
272 
300  inline S3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
301 
329  inline S3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
330 
358  inline S3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
359 
360 
379  inline const S3DataDistribution& GetS3DataDistributionType() const{ return m_s3DataDistributionType; }
380 
399  inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; }
400 
419  inline void SetS3DataDistributionType(const S3DataDistribution& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = value; }
420 
439  inline void SetS3DataDistributionType(S3DataDistribution&& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = std::move(value); }
440 
459  inline S3DataSource& WithS3DataDistributionType(const S3DataDistribution& value) { SetS3DataDistributionType(value); return *this;}
460 
479  inline S3DataSource& WithS3DataDistributionType(S3DataDistribution&& value) { SetS3DataDistributionType(std::move(value)); return *this;}
480 
481 
486  inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
487 
492  inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
493 
498  inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
499 
504  inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
505 
510  inline S3DataSource& WithAttributeNames(const Aws::Vector<Aws::String>& value) { SetAttributeNames(value); return *this;}
511 
516  inline S3DataSource& WithAttributeNames(Aws::Vector<Aws::String>&& value) { SetAttributeNames(std::move(value)); return *this;}
517 
522  inline S3DataSource& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
523 
528  inline S3DataSource& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
529 
534  inline S3DataSource& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
535 
536  private:
537 
538  S3DataType m_s3DataType;
539  bool m_s3DataTypeHasBeenSet;
540 
541  Aws::String m_s3Uri;
542  bool m_s3UriHasBeenSet;
543 
544  S3DataDistribution m_s3DataDistributionType;
545  bool m_s3DataDistributionTypeHasBeenSet;
546 
547  Aws::Vector<Aws::String> m_attributeNames;
548  bool m_attributeNamesHasBeenSet;
549  };
550 
551 } // namespace Model
552 } // namespace SageMaker
553 } // namespace Aws
Aws::SageMaker::Model::S3DataSource::S3UriHasBeenSet
bool S3UriHasBeenSet() const
Definition: S3DataSource.h:184
Aws::SageMaker::Model::S3DataDistribution
S3DataDistribution
Definition: S3DataDistribution.h:17
Aws::SageMaker::Model::S3DataSource::WithAttributeNames
S3DataSource & WithAttributeNames(const Aws::Vector< Aws::String > &value)
Definition: S3DataSource.h:510
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::S3DataSource::SetAttributeNames
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
Definition: S3DataSource.h:504
Aws::SageMaker::Model::S3DataSource::SetS3DataType
void SetS3DataType(S3DataType &&value)
Definition: S3DataSource.h:97
Aws::SageMaker::Model::S3DataSource::S3DataSource
S3DataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::S3DataSource::WithS3Uri
S3DataSource & WithS3Uri(const Aws::String &value)
Definition: S3DataSource.h:300
Aws::SageMaker::Model::S3DataSource::GetS3DataType
const S3DataType & GetS3DataType() const
Definition: S3DataSource.h:55
Aws::SageMaker::Model::S3DataSource::SetAttributeNames
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
Definition: S3DataSource.h:498
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::S3DataSource::SetS3DataType
void SetS3DataType(const S3DataType &value)
Definition: S3DataSource.h:83
Aws::SageMaker::Model::S3DataSource::SetS3DataDistributionType
void SetS3DataDistributionType(S3DataDistribution &&value)
Definition: S3DataSource.h:439
AWSVector.h
Aws::SageMaker::Model::S3DataSource::operator=
S3DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::S3DataSource::S3DataTypeHasBeenSet
bool S3DataTypeHasBeenSet() const
Definition: S3DataSource.h:69
Aws::SageMaker::Model::S3DataSource::GetS3DataDistributionType
const S3DataDistribution & GetS3DataDistributionType() const
Definition: S3DataSource.h:379
Aws::SageMaker::Model::S3DataSource::GetS3Uri
const Aws::String & GetS3Uri() const
Definition: S3DataSource.h:155
Aws::SageMaker::Model::S3DataSource::AddAttributeNames
S3DataSource & AddAttributeNames(const Aws::String &value)
Definition: S3DataSource.h:522
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::S3DataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::S3DataSource::SetS3DataDistributionType
void SetS3DataDistributionType(const S3DataDistribution &value)
Definition: S3DataSource.h:419
Aws::SageMaker::Model::S3DataSource::S3DataSource
S3DataSource()
Aws::SageMaker::Model::S3DataSource::AddAttributeNames
S3DataSource & AddAttributeNames(const char *value)
Definition: S3DataSource.h:534
Aws::SageMaker::Model::S3DataSource::GetAttributeNames
const Aws::Vector< Aws::String > & GetAttributeNames() const
Definition: S3DataSource.h:486
Aws::SageMaker::Model::S3DataSource::WithS3DataDistributionType
S3DataSource & WithS3DataDistributionType(const S3DataDistribution &value)
Definition: S3DataSource.h:459
Aws::SageMaker::Model::S3DataSource::AddAttributeNames
S3DataSource & AddAttributeNames(Aws::String &&value)
Definition: S3DataSource.h:528
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::S3DataSource::WithAttributeNames
S3DataSource & WithAttributeNames(Aws::Vector< Aws::String > &&value)
Definition: S3DataSource.h:516
Aws::SageMaker::Model::S3DataSource
Definition: S3DataSource.h:35
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::S3DataSource::SetS3Uri
void SetS3Uri(const Aws::String &value)
Definition: S3DataSource.h:213
Aws::SageMaker::Model::S3DataSource::AttributeNamesHasBeenSet
bool AttributeNamesHasBeenSet() const
Definition: S3DataSource.h:492
S3DataType.h
Aws::SageMaker::Model::S3DataSource::WithS3DataDistributionType
S3DataSource & WithS3DataDistributionType(S3DataDistribution &&value)
Definition: S3DataSource.h:479
Aws::SageMaker::Model::S3DataSource::SetS3Uri
void SetS3Uri(const char *value)
Definition: S3DataSource.h:271
Aws::SageMaker::Model::S3DataSource::WithS3DataType
S3DataSource & WithS3DataType(S3DataType &&value)
Definition: S3DataSource.h:125
Aws::SageMaker::Model::S3DataType
S3DataType
Definition: S3DataType.h:17
S3DataDistribution.h
Aws::SageMaker::Model::S3DataSource::SetS3Uri
void SetS3Uri(Aws::String &&value)
Definition: S3DataSource.h:242
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::S3DataSource::WithS3DataType
S3DataSource & WithS3DataType(const S3DataType &value)
Definition: S3DataSource.h:111
Aws::SageMaker::Model::S3DataSource::WithS3Uri
S3DataSource & WithS3Uri(const char *value)
Definition: S3DataSource.h:358
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::S3DataSource::WithS3Uri
S3DataSource & WithS3Uri(Aws::String &&value)
Definition: S3DataSource.h:329
Aws::SageMaker::Model::S3DataSource::S3DataDistributionTypeHasBeenSet
bool S3DataDistributionTypeHasBeenSet() const
Definition: S3DataSource.h:399