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 <aws/sagemaker/model/ModelAccessConfig.h>
13#include <aws/sagemaker/model/HubAccessConfig.h>
100 template<
typename S3UriT = Aws::String>
101 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet =
true; m_s3Uri = std::forward<S3UriT>(value); }
102 template<
typename S3UriT = Aws::String>
137 template<
typename AttributeNamesT = Aws::Vector<Aws::String>>
138 void SetAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet =
true; m_attributeNames = std::forward<AttributeNamesT>(value); }
139 template<
typename AttributeNamesT = Aws::Vector<Aws::String>>
141 template<
typename AttributeNamesT = Aws::String>
142 S3DataSource&
AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet =
true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value));
return *
this; }
151 template<
typename InstanceGroupNamesT = Aws::Vector<Aws::String>>
152 void SetInstanceGroupNames(InstanceGroupNamesT&& value) { m_instanceGroupNamesHasBeenSet =
true; m_instanceGroupNames = std::forward<InstanceGroupNamesT>(value); }
153 template<
typename InstanceGroupNamesT = Aws::Vector<Aws::String>>
155 template<
typename InstanceGroupNamesT = Aws::String>
156 S3DataSource&
AddInstanceGroupNames(InstanceGroupNamesT&& value) { m_instanceGroupNamesHasBeenSet =
true; m_instanceGroupNames.emplace_back(std::forward<InstanceGroupNamesT>(value));
return *
this; }
163 template<
typename ModelAccessConfigT = ModelAccessConfig>
164 void SetModelAccessConfig(ModelAccessConfigT&& value) { m_modelAccessConfigHasBeenSet =
true; m_modelAccessConfig = std::forward<ModelAccessConfigT>(value); }
165 template<
typename ModelAccessConfigT = ModelAccessConfig>
176 template<
typename HubAccessConfigT = HubAccessConfig>
177 void SetHubAccessConfig(HubAccessConfigT&& value) { m_hubAccessConfigHasBeenSet =
true; m_hubAccessConfig = std::forward<HubAccessConfigT>(value); }
178 template<
typename HubAccessConfigT = HubAccessConfig>
184 bool m_s3DataTypeHasBeenSet =
false;
187 bool m_s3UriHasBeenSet =
false;
190 bool m_s3DataDistributionTypeHasBeenSet =
false;
193 bool m_attributeNamesHasBeenSet =
false;
196 bool m_instanceGroupNamesHasBeenSet =
false;
198 ModelAccessConfig m_modelAccessConfig;
199 bool m_modelAccessConfigHasBeenSet =
false;
201 HubAccessConfig m_hubAccessConfig;
202 bool m_hubAccessConfigHasBeenSet =
false;
S3DataSource & WithS3DataDistributionType(S3DataDistribution value)
void SetS3Uri(S3UriT &&value)
bool InstanceGroupNamesHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceGroupNames() const
S3DataSource & WithInstanceGroupNames(InstanceGroupNamesT &&value)
S3DataDistribution GetS3DataDistributionType() const
bool HubAccessConfigHasBeenSet() const
const Aws::String & GetS3Uri() const
void SetS3DataDistributionType(S3DataDistribution value)
S3DataSource & WithAttributeNames(AttributeNamesT &&value)
const ModelAccessConfig & GetModelAccessConfig() const
bool S3DataDistributionTypeHasBeenSet() const
AWS_SAGEMAKER_API S3DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DataSource & WithS3DataType(S3DataType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
S3DataSource & AddInstanceGroupNames(InstanceGroupNamesT &&value)
void SetHubAccessConfig(HubAccessConfigT &&value)
void SetModelAccessConfig(ModelAccessConfigT &&value)
const HubAccessConfig & GetHubAccessConfig() const
AWS_SAGEMAKER_API S3DataSource(Aws::Utils::Json::JsonView jsonValue)
bool ModelAccessConfigHasBeenSet() const
const Aws::Vector< Aws::String > & GetAttributeNames() const
void SetS3DataType(S3DataType value)
AWS_SAGEMAKER_API S3DataSource()=default
bool S3UriHasBeenSet() const
S3DataSource & WithModelAccessConfig(ModelAccessConfigT &&value)
S3DataSource & WithHubAccessConfig(HubAccessConfigT &&value)
void SetInstanceGroupNames(InstanceGroupNamesT &&value)
bool AttributeNamesHasBeenSet() const
S3DataType GetS3DataType() const
void SetAttributeNames(AttributeNamesT &&value)
bool S3DataTypeHasBeenSet() const
S3DataSource & WithS3Uri(S3UriT &&value)
S3DataSource & AddAttributeNames(AttributeNamesT &&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