AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEdgePackagingJobRequest.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/EdgeOutputConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API CreateEdgePackagingJobRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateEdgePackagingJob"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetEdgePackagingJobName() const{ return m_edgePackagingJobName; }
45 inline bool EdgePackagingJobNameHasBeenSet() const { return m_edgePackagingJobNameHasBeenSet; }
46 inline void SetEdgePackagingJobName(const Aws::String& value) { m_edgePackagingJobNameHasBeenSet = true; m_edgePackagingJobName = value; }
47 inline void SetEdgePackagingJobName(Aws::String&& value) { m_edgePackagingJobNameHasBeenSet = true; m_edgePackagingJobName = std::move(value); }
48 inline void SetEdgePackagingJobName(const char* value) { m_edgePackagingJobNameHasBeenSet = true; m_edgePackagingJobName.assign(value); }
51 inline CreateEdgePackagingJobRequest& WithEdgePackagingJobName(const char* value) { SetEdgePackagingJobName(value); return *this;}
53
55
59 inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; }
60 inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; }
61 inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; }
62 inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); }
63 inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); }
66 inline CreateEdgePackagingJobRequest& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;}
68
70
73 inline const Aws::String& GetModelName() const{ return m_modelName; }
74 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
75 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
76 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
77 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
78 inline CreateEdgePackagingJobRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
79 inline CreateEdgePackagingJobRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
80 inline CreateEdgePackagingJobRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
82
84
87 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
88 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
89 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
90 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
91 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
92 inline CreateEdgePackagingJobRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
93 inline CreateEdgePackagingJobRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
94 inline CreateEdgePackagingJobRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
96
98
102 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
103 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
104 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
105 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
106 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
107 inline CreateEdgePackagingJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
108 inline CreateEdgePackagingJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
109 inline CreateEdgePackagingJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
111
113
116 inline const EdgeOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
117 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
118 inline void SetOutputConfig(const EdgeOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
119 inline void SetOutputConfig(EdgeOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
121 inline CreateEdgePackagingJobRequest& WithOutputConfig(EdgeOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
123
125
129 inline const Aws::String& GetResourceKey() const{ return m_resourceKey; }
130 inline bool ResourceKeyHasBeenSet() const { return m_resourceKeyHasBeenSet; }
131 inline void SetResourceKey(const Aws::String& value) { m_resourceKeyHasBeenSet = true; m_resourceKey = value; }
132 inline void SetResourceKey(Aws::String&& value) { m_resourceKeyHasBeenSet = true; m_resourceKey = std::move(value); }
133 inline void SetResourceKey(const char* value) { m_resourceKeyHasBeenSet = true; m_resourceKey.assign(value); }
134 inline CreateEdgePackagingJobRequest& WithResourceKey(const Aws::String& value) { SetResourceKey(value); return *this;}
135 inline CreateEdgePackagingJobRequest& WithResourceKey(Aws::String&& value) { SetResourceKey(std::move(value)); return *this;}
136 inline CreateEdgePackagingJobRequest& WithResourceKey(const char* value) { SetResourceKey(value); return *this;}
138
140
143 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
147 inline CreateEdgePackagingJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
148 inline CreateEdgePackagingJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
149 inline CreateEdgePackagingJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
150 inline CreateEdgePackagingJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
152 private:
153
154 Aws::String m_edgePackagingJobName;
155 bool m_edgePackagingJobNameHasBeenSet = false;
156
157 Aws::String m_compilationJobName;
158 bool m_compilationJobNameHasBeenSet = false;
159
160 Aws::String m_modelName;
161 bool m_modelNameHasBeenSet = false;
162
163 Aws::String m_modelVersion;
164 bool m_modelVersionHasBeenSet = false;
165
166 Aws::String m_roleArn;
167 bool m_roleArnHasBeenSet = false;
168
169 EdgeOutputConfig m_outputConfig;
170 bool m_outputConfigHasBeenSet = false;
171
172 Aws::String m_resourceKey;
173 bool m_resourceKeyHasBeenSet = false;
174
175 Aws::Vector<Tag> m_tags;
176 bool m_tagsHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace SageMaker
181} // namespace Aws
CreateEdgePackagingJobRequest & WithEdgePackagingJobName(const char *value)
CreateEdgePackagingJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateEdgePackagingJobRequest & WithModelVersion(Aws::String &&value)
CreateEdgePackagingJobRequest & WithCompilationJobName(const char *value)
CreateEdgePackagingJobRequest & WithModelVersion(const char *value)
CreateEdgePackagingJobRequest & WithEdgePackagingJobName(const Aws::String &value)
CreateEdgePackagingJobRequest & WithModelName(Aws::String &&value)
CreateEdgePackagingJobRequest & WithResourceKey(const char *value)
CreateEdgePackagingJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEdgePackagingJobRequest & WithRoleArn(const char *value)
CreateEdgePackagingJobRequest & WithRoleArn(const Aws::String &value)
CreateEdgePackagingJobRequest & WithResourceKey(const Aws::String &value)
CreateEdgePackagingJobRequest & WithCompilationJobName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEdgePackagingJobRequest & WithOutputConfig(const EdgeOutputConfig &value)
CreateEdgePackagingJobRequest & WithCompilationJobName(const Aws::String &value)
CreateEdgePackagingJobRequest & WithModelVersion(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateEdgePackagingJobRequest & WithModelName(const Aws::String &value)
CreateEdgePackagingJobRequest & WithModelName(const char *value)
CreateEdgePackagingJobRequest & WithOutputConfig(EdgeOutputConfig &&value)
CreateEdgePackagingJobRequest & AddTags(const Tag &value)
CreateEdgePackagingJobRequest & WithRoleArn(Aws::String &&value)
CreateEdgePackagingJobRequest & WithEdgePackagingJobName(Aws::String &&value)
CreateEdgePackagingJobRequest & WithResourceKey(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