/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the model configuration. Includes the specification name and
* environment parameters.See Also:
AWS
* API Reference
The inference specification name in the model package version.
*/ inline const Aws::String& GetInferenceSpecificationName() const{ return m_inferenceSpecificationName; } /** *The inference specification name in the model package version.
*/ inline bool InferenceSpecificationNameHasBeenSet() const { return m_inferenceSpecificationNameHasBeenSet; } /** *The inference specification name in the model package version.
*/ inline void SetInferenceSpecificationName(const Aws::String& value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName = value; } /** *The inference specification name in the model package version.
*/ inline void SetInferenceSpecificationName(Aws::String&& value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName = std::move(value); } /** *The inference specification name in the model package version.
*/ inline void SetInferenceSpecificationName(const char* value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName.assign(value); } /** *The inference specification name in the model package version.
*/ inline ModelConfiguration& WithInferenceSpecificationName(const Aws::String& value) { SetInferenceSpecificationName(value); return *this;} /** *The inference specification name in the model package version.
*/ inline ModelConfiguration& WithInferenceSpecificationName(Aws::String&& value) { SetInferenceSpecificationName(std::move(value)); return *this;} /** *The inference specification name in the model package version.
*/ inline ModelConfiguration& WithInferenceSpecificationName(const char* value) { SetInferenceSpecificationName(value); return *this;} /** *Defines the environment parameters that includes key, value types, and * values.
*/ inline const Aws::VectorDefines the environment parameters that includes key, value types, and * values.
*/ inline bool EnvironmentParametersHasBeenSet() const { return m_environmentParametersHasBeenSet; } /** *Defines the environment parameters that includes key, value types, and * values.
*/ inline void SetEnvironmentParameters(const Aws::VectorDefines the environment parameters that includes key, value types, and * values.
*/ inline void SetEnvironmentParameters(Aws::VectorDefines the environment parameters that includes key, value types, and * values.
*/ inline ModelConfiguration& WithEnvironmentParameters(const Aws::VectorDefines the environment parameters that includes key, value types, and * values.
*/ inline ModelConfiguration& WithEnvironmentParameters(Aws::VectorDefines the environment parameters that includes key, value types, and * values.
*/ inline ModelConfiguration& AddEnvironmentParameters(const EnvironmentParameter& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters.push_back(value); return *this; } /** *Defines the environment parameters that includes key, value types, and * values.
*/ inline ModelConfiguration& AddEnvironmentParameters(EnvironmentParameter&& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters.push_back(std::move(value)); return *this; } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); } /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline ModelConfiguration& WithCompilationJobName(const Aws::String& value) { SetCompilationJobName(value); return *this;} /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline ModelConfiguration& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;} /** *The name of the compilation job used to create the recommended model * artifacts.
*/ inline ModelConfiguration& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;} private: Aws::String m_inferenceSpecificationName; bool m_inferenceSpecificationNameHasBeenSet = false; Aws::Vector