AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InferenceComponentContainerSpecificationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/DeployedImage.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const DeployedImage& GetDeployedImage() const { return m_deployedImage; }
40 inline bool DeployedImageHasBeenSet() const { return m_deployedImageHasBeenSet; }
41 template <typename DeployedImageT = DeployedImage>
42 void SetDeployedImage(DeployedImageT&& value) {
43 m_deployedImageHasBeenSet = true;
44 m_deployedImage = std::forward<DeployedImageT>(value);
45 }
46 template <typename DeployedImageT = DeployedImage>
48 SetDeployedImage(std::forward<DeployedImageT>(value));
49 return *this;
50 }
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) {
61 m_artifactUrlHasBeenSet = true;
62 m_artifactUrl = std::forward<ArtifactUrlT>(value);
63 }
64 template <typename ArtifactUrlT = Aws::String>
66 SetArtifactUrl(std::forward<ArtifactUrlT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
76 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
77 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
78 void SetEnvironment(EnvironmentT&& value) {
79 m_environmentHasBeenSet = true;
80 m_environment = std::forward<EnvironmentT>(value);
81 }
82 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
84 SetEnvironment(std::forward<EnvironmentT>(value));
85 return *this;
86 }
87 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
88 InferenceComponentContainerSpecificationSummary& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
89 m_environmentHasBeenSet = true;
90 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
91 return *this;
92 }
94 private:
95 DeployedImage m_deployedImage;
96
97 Aws::String m_artifactUrl;
98
100 bool m_deployedImageHasBeenSet = false;
101 bool m_artifactUrlHasBeenSet = false;
102 bool m_environmentHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SageMaker
107} // 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