AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RealTimeInferenceRecommendation.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ProductionVariantInstanceType.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
47 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
48 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
49 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
50 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
51 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
53 inline RealTimeInferenceRecommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
54 inline RealTimeInferenceRecommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
56
58
61 inline const ProductionVariantInstanceType& GetInstanceType() const{ return m_instanceType; }
62 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
63 inline void SetInstanceType(const ProductionVariantInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
64 inline void SetInstanceType(ProductionVariantInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
68
70
74 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
75 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
76 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
77 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
80 inline RealTimeInferenceRecommendation& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
81 inline RealTimeInferenceRecommendation& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
82 inline RealTimeInferenceRecommendation& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
83 inline RealTimeInferenceRecommendation& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
84 inline RealTimeInferenceRecommendation& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
85 inline RealTimeInferenceRecommendation& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
86 inline RealTimeInferenceRecommendation& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_recommendationId;
91 bool m_recommendationIdHasBeenSet = false;
92
93 ProductionVariantInstanceType m_instanceType;
94 bool m_instanceTypeHasBeenSet = false;
95
97 bool m_environmentHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SageMaker
102} // namespace Aws
RealTimeInferenceRecommendation & AddEnvironment(const Aws::String &key, Aws::String &&value)
RealTimeInferenceRecommendation & WithRecommendationId(Aws::String &&value)
AWS_SAGEMAKER_API RealTimeInferenceRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
RealTimeInferenceRecommendation & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
RealTimeInferenceRecommendation & WithRecommendationId(const char *value)
RealTimeInferenceRecommendation & AddEnvironment(const Aws::String &key, const Aws::String &value)
RealTimeInferenceRecommendation & AddEnvironment(Aws::String &&key, Aws::String &&value)
RealTimeInferenceRecommendation & AddEnvironment(Aws::String &&key, const char *value)
RealTimeInferenceRecommendation & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
AWS_SAGEMAKER_API RealTimeInferenceRecommendation(Aws::Utils::Json::JsonView jsonValue)
RealTimeInferenceRecommendation & AddEnvironment(Aws::String &&key, const Aws::String &value)
const ProductionVariantInstanceType & GetInstanceType() const
RealTimeInferenceRecommendation & WithInstanceType(const ProductionVariantInstanceType &value)
RealTimeInferenceRecommendation & AddEnvironment(const char *key, Aws::String &&value)
RealTimeInferenceRecommendation & AddEnvironment(const char *key, const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RealTimeInferenceRecommendation & WithInstanceType(ProductionVariantInstanceType &&value)
void SetInstanceType(const ProductionVariantInstanceType &value)
RealTimeInferenceRecommendation & WithRecommendationId(const 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