AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInferenceExperimentRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
13#include <aws/sagemaker/model/ShadowModeConfig.h>
14#include <aws/sagemaker/model/ModelVariantConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateInferenceExperiment"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline UpdateInferenceExperimentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateInferenceExperimentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateInferenceExperimentRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
63 inline const InferenceExperimentSchedule& GetSchedule() const{ return m_schedule; }
64 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
65 inline void SetSchedule(const InferenceExperimentSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
66 inline void SetSchedule(InferenceExperimentSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
68 inline UpdateInferenceExperimentRequest& WithSchedule(InferenceExperimentSchedule&& value) { SetSchedule(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline UpdateInferenceExperimentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline UpdateInferenceExperimentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline UpdateInferenceExperimentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
90 inline const Aws::Vector<ModelVariantConfig>& GetModelVariants() const{ return m_modelVariants; }
91 inline bool ModelVariantsHasBeenSet() const { return m_modelVariantsHasBeenSet; }
92 inline void SetModelVariants(const Aws::Vector<ModelVariantConfig>& value) { m_modelVariantsHasBeenSet = true; m_modelVariants = value; }
93 inline void SetModelVariants(Aws::Vector<ModelVariantConfig>&& value) { m_modelVariantsHasBeenSet = true; m_modelVariants = std::move(value); }
96 inline UpdateInferenceExperimentRequest& AddModelVariants(const ModelVariantConfig& value) { m_modelVariantsHasBeenSet = true; m_modelVariants.push_back(value); return *this; }
97 inline UpdateInferenceExperimentRequest& AddModelVariants(ModelVariantConfig&& value) { m_modelVariantsHasBeenSet = true; m_modelVariants.push_back(std::move(value)); return *this; }
99
101
105 inline const InferenceExperimentDataStorageConfig& GetDataStorageConfig() const{ return m_dataStorageConfig; }
106 inline bool DataStorageConfigHasBeenSet() const { return m_dataStorageConfigHasBeenSet; }
107 inline void SetDataStorageConfig(const InferenceExperimentDataStorageConfig& value) { m_dataStorageConfigHasBeenSet = true; m_dataStorageConfig = value; }
108 inline void SetDataStorageConfig(InferenceExperimentDataStorageConfig&& value) { m_dataStorageConfigHasBeenSet = true; m_dataStorageConfig = std::move(value); }
112
114
121 inline const ShadowModeConfig& GetShadowModeConfig() const{ return m_shadowModeConfig; }
122 inline bool ShadowModeConfigHasBeenSet() const { return m_shadowModeConfigHasBeenSet; }
123 inline void SetShadowModeConfig(const ShadowModeConfig& value) { m_shadowModeConfigHasBeenSet = true; m_shadowModeConfig = value; }
124 inline void SetShadowModeConfig(ShadowModeConfig&& value) { m_shadowModeConfigHasBeenSet = true; m_shadowModeConfig = std::move(value); }
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
134 bool m_scheduleHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::Vector<ModelVariantConfig> m_modelVariants;
140 bool m_modelVariantsHasBeenSet = false;
141
142 InferenceExperimentDataStorageConfig m_dataStorageConfig;
143 bool m_dataStorageConfigHasBeenSet = false;
144
145 ShadowModeConfig m_shadowModeConfig;
146 bool m_shadowModeConfigHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace SageMaker
151} // namespace Aws
void SetDataStorageConfig(InferenceExperimentDataStorageConfig &&value)
UpdateInferenceExperimentRequest & WithName(Aws::String &&value)
UpdateInferenceExperimentRequest & WithDataStorageConfig(InferenceExperimentDataStorageConfig &&value)
UpdateInferenceExperimentRequest & WithShadowModeConfig(const ShadowModeConfig &value)
UpdateInferenceExperimentRequest & WithDataStorageConfig(const InferenceExperimentDataStorageConfig &value)
UpdateInferenceExperimentRequest & WithShadowModeConfig(ShadowModeConfig &&value)
UpdateInferenceExperimentRequest & WithDescription(Aws::String &&value)
UpdateInferenceExperimentRequest & WithModelVariants(Aws::Vector< ModelVariantConfig > &&value)
void SetDataStorageConfig(const InferenceExperimentDataStorageConfig &value)
const Aws::Vector< ModelVariantConfig > & GetModelVariants() const
UpdateInferenceExperimentRequest & WithSchedule(InferenceExperimentSchedule &&value)
void SetModelVariants(Aws::Vector< ModelVariantConfig > &&value)
UpdateInferenceExperimentRequest & AddModelVariants(const ModelVariantConfig &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const InferenceExperimentDataStorageConfig & GetDataStorageConfig() const
UpdateInferenceExperimentRequest & WithDescription(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateInferenceExperimentRequest & WithDescription(const char *value)
UpdateInferenceExperimentRequest & WithModelVariants(const Aws::Vector< ModelVariantConfig > &value)
void SetModelVariants(const Aws::Vector< ModelVariantConfig > &value)
UpdateInferenceExperimentRequest & AddModelVariants(ModelVariantConfig &&value)
UpdateInferenceExperimentRequest & WithSchedule(const InferenceExperimentSchedule &value)
UpdateInferenceExperimentRequest & WithName(const char *value)
UpdateInferenceExperimentRequest & WithName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector