AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InferenceComponentContainerSpecificationSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/DeployedImage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const DeployedImage& GetDeployedImage() const { return m_deployedImage; }
46 inline bool DeployedImageHasBeenSet() const { return m_deployedImageHasBeenSet; }
47 template<typename DeployedImageT = DeployedImage>
48 void SetDeployedImage(DeployedImageT&& value) { m_deployedImageHasBeenSet = true; m_deployedImage = std::forward<DeployedImageT>(value); }
49 template<typename DeployedImageT = DeployedImage>
50 InferenceComponentContainerSpecificationSummary& WithDeployedImage(DeployedImageT&& value) { SetDeployedImage(std::forward<DeployedImageT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArtifactUrl() const { return m_artifactUrl; }
58 inline bool ArtifactUrlHasBeenSet() const { return m_artifactUrlHasBeenSet; }
59 template<typename ArtifactUrlT = Aws::String>
60 void SetArtifactUrl(ArtifactUrlT&& value) { m_artifactUrlHasBeenSet = true; m_artifactUrl = std::forward<ArtifactUrlT>(value); }
61 template<typename ArtifactUrlT = Aws::String>
62 InferenceComponentContainerSpecificationSummary& WithArtifactUrl(ArtifactUrlT&& value) { SetArtifactUrl(std::forward<ArtifactUrlT>(value)); return *this;}
64
66
69 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
70 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
71 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
72 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
73 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
74 InferenceComponentContainerSpecificationSummary& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
75 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
76 InferenceComponentContainerSpecificationSummary& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
77 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
78 }
80 private:
81
82 DeployedImage m_deployedImage;
83 bool m_deployedImageHasBeenSet = false;
84
85 Aws::String m_artifactUrl;
86 bool m_artifactUrlHasBeenSet = false;
87
89 bool m_environmentHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
AWS_SAGEMAKER_API InferenceComponentContainerSpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentContainerSpecificationSummary & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
InferenceComponentContainerSpecificationSummary & WithDeployedImage(DeployedImageT &&value)
AWS_SAGEMAKER_API InferenceComponentContainerSpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentContainerSpecificationSummary & WithEnvironment(EnvironmentT &&value)
InferenceComponentContainerSpecificationSummary & WithArtifactUrl(ArtifactUrlT &&value)
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
Aws::Utils::Json::JsonValue JsonValue