AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTrialComponentRequest.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/TrialComponentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/sagemaker/model/MetadataProperties.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/TrialComponentParameterValue.h>
16#include <aws/sagemaker/model/TrialComponentArtifact.h>
17#include <aws/sagemaker/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace SageMaker
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_SAGEMAKER_API CreateTrialComponentRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateTrialComponent"; }
39
40 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
41
43
44
46
50 inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
51 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
52 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
53 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
54 inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
56 inline CreateTrialComponentRequest& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
57 inline CreateTrialComponentRequest& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
59
61
66 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
67 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
68 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
69 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
70 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
71 inline CreateTrialComponentRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
72 inline CreateTrialComponentRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
73 inline CreateTrialComponentRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
75
77
81 inline const TrialComponentStatus& GetStatus() const{ return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(const TrialComponentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
84 inline void SetStatus(TrialComponentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline CreateTrialComponentRequest& WithStatus(const TrialComponentStatus& value) { SetStatus(value); return *this;}
86 inline CreateTrialComponentRequest& WithStatus(TrialComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
94 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
95 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
96 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
97 inline CreateTrialComponentRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
98 inline CreateTrialComponentRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
106 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
107 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
108 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
109 inline CreateTrialComponentRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
110 inline CreateTrialComponentRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
112
114
117 inline const Aws::Map<Aws::String, TrialComponentParameterValue>& GetParameters() const{ return m_parameters; }
118 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
119 inline void SetParameters(const Aws::Map<Aws::String, TrialComponentParameterValue>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
120 inline void SetParameters(Aws::Map<Aws::String, TrialComponentParameterValue>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
123 inline CreateTrialComponentRequest& AddParameters(const Aws::String& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
124 inline CreateTrialComponentRequest& AddParameters(Aws::String&& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
125 inline CreateTrialComponentRequest& AddParameters(const Aws::String& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
126 inline CreateTrialComponentRequest& AddParameters(Aws::String&& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
127 inline CreateTrialComponentRequest& AddParameters(const char* key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
128 inline CreateTrialComponentRequest& AddParameters(const char* key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
130
132
136 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetInputArtifacts() const{ return m_inputArtifacts; }
137 inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; }
138 inline void SetInputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; }
139 inline void SetInputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); }
142 inline CreateTrialComponentRequest& AddInputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; }
143 inline CreateTrialComponentRequest& AddInputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), value); return *this; }
144 inline CreateTrialComponentRequest& AddInputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; }
145 inline CreateTrialComponentRequest& AddInputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
146 inline CreateTrialComponentRequest& AddInputArtifacts(const char* key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; }
147 inline CreateTrialComponentRequest& AddInputArtifacts(const char* key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; }
149
151
155 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetOutputArtifacts() const{ return m_outputArtifacts; }
156 inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; }
157 inline void SetOutputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; }
158 inline void SetOutputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); }
161 inline CreateTrialComponentRequest& AddOutputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; }
162 inline CreateTrialComponentRequest& AddOutputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), value); return *this; }
163 inline CreateTrialComponentRequest& AddOutputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; }
164 inline CreateTrialComponentRequest& AddOutputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
165 inline CreateTrialComponentRequest& AddOutputArtifacts(const char* key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; }
166 inline CreateTrialComponentRequest& AddOutputArtifacts(const char* key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; }
168
170
171 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
172 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
173 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = value; }
174 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::move(value); }
178
180
185 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
188 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
189 inline CreateTrialComponentRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
190 inline CreateTrialComponentRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
191 inline CreateTrialComponentRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
192 inline CreateTrialComponentRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
194 private:
195
196 Aws::String m_trialComponentName;
197 bool m_trialComponentNameHasBeenSet = false;
198
199 Aws::String m_displayName;
200 bool m_displayNameHasBeenSet = false;
201
202 TrialComponentStatus m_status;
203 bool m_statusHasBeenSet = false;
204
205 Aws::Utils::DateTime m_startTime;
206 bool m_startTimeHasBeenSet = false;
207
208 Aws::Utils::DateTime m_endTime;
209 bool m_endTimeHasBeenSet = false;
210
212 bool m_parametersHasBeenSet = false;
213
215 bool m_inputArtifactsHasBeenSet = false;
216
218 bool m_outputArtifactsHasBeenSet = false;
219
220 MetadataProperties m_metadataProperties;
221 bool m_metadataPropertiesHasBeenSet = false;
222
223 Aws::Vector<Tag> m_tags;
224 bool m_tagsHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace SageMaker
229} // namespace Aws
void SetOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
CreateTrialComponentRequest & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
CreateTrialComponentRequest & AddInputArtifacts(const char *key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & WithDisplayName(Aws::String &&value)
CreateTrialComponentRequest & WithStartTime(Aws::Utils::DateTime &&value)
CreateTrialComponentRequest & WithDisplayName(const char *value)
CreateTrialComponentRequest & AddOutputArtifacts(const char *key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & AddParameters(const Aws::String &key, TrialComponentParameterValue &&value)
CreateTrialComponentRequest & WithInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
CreateTrialComponentRequest & WithStatus(const TrialComponentStatus &value)
CreateTrialComponentRequest & WithOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
CreateTrialComponentRequest & WithTrialComponentName(Aws::String &&value)
void SetInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
void SetParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
CreateTrialComponentRequest & AddInputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & WithStatus(TrialComponentStatus &&value)
CreateTrialComponentRequest & WithTrialComponentName(const Aws::String &value)
CreateTrialComponentRequest & WithMetadataProperties(MetadataProperties &&value)
CreateTrialComponentRequest & AddTags(const Tag &value)
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
CreateTrialComponentRequest & AddParameters(const Aws::String &key, const TrialComponentParameterValue &value)
CreateTrialComponentRequest & WithEndTime(const Aws::Utils::DateTime &value)
CreateTrialComponentRequest & AddOutputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
virtual const char * GetServiceRequestName() const override
CreateTrialComponentRequest & AddOutputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & WithStartTime(const Aws::Utils::DateTime &value)
CreateTrialComponentRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTrialComponentRequest & AddOutputArtifacts(const char *key, const TrialComponentArtifact &value)
CreateTrialComponentRequest & WithParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
CreateTrialComponentRequest & AddInputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & WithDisplayName(const Aws::String &value)
CreateTrialComponentRequest & WithParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
CreateTrialComponentRequest & AddInputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
CreateTrialComponentRequest & AddInputArtifacts(const char *key, const TrialComponentArtifact &value)
CreateTrialComponentRequest & WithTrialComponentName(const char *value)
CreateTrialComponentRequest & AddParameters(Aws::String &&key, const TrialComponentParameterValue &value)
void SetInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
void SetParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
CreateTrialComponentRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTrialComponentRequest & AddOutputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
CreateTrialComponentRequest & AddParameters(const char *key, TrialComponentParameterValue &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
CreateTrialComponentRequest & WithMetadataProperties(const MetadataProperties &value)
CreateTrialComponentRequest & AddParameters(Aws::String &&key, TrialComponentParameterValue &&value)
CreateTrialComponentRequest & AddParameters(const char *key, const TrialComponentParameterValue &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrialComponentRequest & WithInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
void SetOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
CreateTrialComponentRequest & AddOutputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
CreateTrialComponentRequest & AddInputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
CreateTrialComponentRequest & WithOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector