AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetDeployedImage(const DeployedImage& value) { m_deployedImageHasBeenSet = true; m_deployedImage = value; }
48 inline void SetDeployedImage(DeployedImage&& value) { m_deployedImageHasBeenSet = true; m_deployedImage = std::move(value); }
52
54
57 inline const Aws::String& GetArtifactUrl() const{ return m_artifactUrl; }
58 inline bool ArtifactUrlHasBeenSet() const { return m_artifactUrlHasBeenSet; }
59 inline void SetArtifactUrl(const Aws::String& value) { m_artifactUrlHasBeenSet = true; m_artifactUrl = value; }
60 inline void SetArtifactUrl(Aws::String&& value) { m_artifactUrlHasBeenSet = true; m_artifactUrl = std::move(value); }
61 inline void SetArtifactUrl(const char* value) { m_artifactUrlHasBeenSet = true; m_artifactUrl.assign(value); }
64 inline InferenceComponentContainerSpecificationSummary& WithArtifactUrl(const char* value) { SetArtifactUrl(value); return *this;}
66
68
71 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
72 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
73 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
74 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
77 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
78 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
79 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
80 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
81 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
82 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
83 inline InferenceComponentContainerSpecificationSummary& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
85 private:
86
87 DeployedImage m_deployedImage;
88 bool m_deployedImageHasBeenSet = false;
89
90 Aws::String m_artifactUrl;
91 bool m_artifactUrlHasBeenSet = false;
92
94 bool m_environmentHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
AWS_SAGEMAKER_API InferenceComponentContainerSpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentContainerSpecificationSummary & AddEnvironment(const Aws::String &key, const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentContainerSpecificationSummary & AddEnvironment(const char *key, Aws::String &&value)
InferenceComponentContainerSpecificationSummary & AddEnvironment(Aws::String &&key, Aws::String &&value)
InferenceComponentContainerSpecificationSummary & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
InferenceComponentContainerSpecificationSummary & AddEnvironment(Aws::String &&key, const char *value)
InferenceComponentContainerSpecificationSummary & AddEnvironment(Aws::String &&key, const Aws::String &value)
AWS_SAGEMAKER_API InferenceComponentContainerSpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentContainerSpecificationSummary & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
InferenceComponentContainerSpecificationSummary & WithDeployedImage(DeployedImage &&value)
InferenceComponentContainerSpecificationSummary & WithDeployedImage(const DeployedImage &value)
InferenceComponentContainerSpecificationSummary & WithArtifactUrl(const char *value)
InferenceComponentContainerSpecificationSummary & WithArtifactUrl(const Aws::String &value)
InferenceComponentContainerSpecificationSummary & WithArtifactUrl(Aws::String &&value)
InferenceComponentContainerSpecificationSummary & AddEnvironment(const char *key, const char *value)
InferenceComponentContainerSpecificationSummary & AddEnvironment(const Aws::String &key, Aws::String &&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