7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AIRecommendationDeploymentS3Channel.h>
12#include <aws/sagemaker/model/AIRecommendationInstanceType.h>
45 template <
typename S3T = Aws::Vector<AIRecommendationDeploymentS3Channel>>
47 m_s3HasBeenSet =
true;
48 m_s3 = std::forward<S3T>(value);
50 template <
typename S3T = Aws::Vector<AIRecommendationDeploymentS3Channel>>
52 SetS3(std::forward<S3T>(value));
55 template <
typename S3T = AIRecommendationDeploymentS3Channel>
57 m_s3HasBeenSet =
true;
58 m_s3.emplace_back(std::forward<S3T>(value));
69 template <
typename ImageUriT = Aws::String>
71 m_imageUriHasBeenSet =
true;
72 m_imageUri = std::forward<ImageUriT>(value);
74 template <
typename ImageUriT = Aws::String>
88 m_instanceTypeHasBeenSet =
true;
89 m_instanceType = value;
104 m_instanceCountHasBeenSet =
true;
105 m_instanceCount = value;
120 m_copyCountPerInstanceHasBeenSet =
true;
121 m_copyCountPerInstance = value;
135 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
137 m_environmentVariablesHasBeenSet =
true;
138 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
140 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
145 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
147 m_environmentVariablesHasBeenSet =
true;
148 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
159 int m_instanceCount{0};
161 int m_copyCountPerInstance{0};
164 bool m_s3HasBeenSet =
false;
165 bool m_imageUriHasBeenSet =
false;
166 bool m_instanceTypeHasBeenSet =
false;
167 bool m_instanceCountHasBeenSet =
false;
168 bool m_copyCountPerInstanceHasBeenSet =
false;
169 bool m_environmentVariablesHasBeenSet =
false;
AIRecommendationDeploymentConfiguration & WithInstanceCount(int value)
AIRecommendationInstanceType GetInstanceType() const
bool S3HasBeenSet() const
AIRecommendationDeploymentConfiguration & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
AWS_SAGEMAKER_API AIRecommendationDeploymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentVariablesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
const Aws::Vector< AIRecommendationDeploymentS3Channel > & GetS3() const
void SetInstanceType(AIRecommendationInstanceType value)
bool ImageUriHasBeenSet() const
int GetInstanceCount() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
AWS_SAGEMAKER_API AIRecommendationDeploymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AIRecommendationDeploymentConfiguration & WithCopyCountPerInstance(int value)
bool InstanceTypeHasBeenSet() const
AIRecommendationDeploymentConfiguration & WithInstanceType(AIRecommendationInstanceType value)
bool CopyCountPerInstanceHasBeenSet() const
AWS_SAGEMAKER_API AIRecommendationDeploymentConfiguration()=default
const Aws::String & GetImageUri() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceCountHasBeenSet() const
void SetCopyCountPerInstance(int value)
void SetImageUri(ImageUriT &&value)
void SetInstanceCount(int value)
AIRecommendationDeploymentConfiguration & AddS3(S3T &&value)
int GetCopyCountPerInstance() const
AIRecommendationDeploymentConfiguration & WithEnvironmentVariables(EnvironmentVariablesT &&value)
AIRecommendationDeploymentConfiguration & WithS3(S3T &&value)
AIRecommendationDeploymentConfiguration & WithImageUri(ImageUriT &&value)
AIRecommendationInstanceType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue