AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartModelPackagingJobRequest.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutvision/model/ModelPackagingConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace LookoutforVision
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTFORVISION_API StartModelPackagingJobRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartModelPackagingJob"; }
33
34 AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetProjectName() const{ return m_projectName; }
45 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
46 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
47 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
48 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
49 inline StartModelPackagingJobRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
50 inline StartModelPackagingJobRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
51 inline StartModelPackagingJobRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
53
55
58 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
59 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
60 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
61 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
62 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
63 inline StartModelPackagingJobRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
64 inline StartModelPackagingJobRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
65 inline StartModelPackagingJobRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
67
69
73 inline const Aws::String& GetJobName() const{ return m_jobName; }
74 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
75 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
76 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
77 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
78 inline StartModelPackagingJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
79 inline StartModelPackagingJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
80 inline StartModelPackagingJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
82
84
87 inline const ModelPackagingConfiguration& GetConfiguration() const{ return m_configuration; }
88 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
89 inline void SetConfiguration(const ModelPackagingConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
90 inline void SetConfiguration(ModelPackagingConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline StartModelPackagingJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline StartModelPackagingJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline StartModelPackagingJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
125 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
126 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
127 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
128 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
129 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
130 inline StartModelPackagingJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
131 inline StartModelPackagingJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
132 inline StartModelPackagingJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
134 private:
135
136 Aws::String m_projectName;
137 bool m_projectNameHasBeenSet = false;
138
139 Aws::String m_modelVersion;
140 bool m_modelVersionHasBeenSet = false;
141
142 Aws::String m_jobName;
143 bool m_jobNameHasBeenSet = false;
144
145 ModelPackagingConfiguration m_configuration;
146 bool m_configurationHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_clientToken;
152 bool m_clientTokenHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace LookoutforVision
157} // namespace Aws
StartModelPackagingJobRequest & WithProjectName(const char *value)
StartModelPackagingJobRequest & WithDescription(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
StartModelPackagingJobRequest & WithConfiguration(const ModelPackagingConfiguration &value)
StartModelPackagingJobRequest & WithModelVersion(Aws::String &&value)
StartModelPackagingJobRequest & WithJobName(Aws::String &&value)
StartModelPackagingJobRequest & WithProjectName(Aws::String &&value)
StartModelPackagingJobRequest & WithConfiguration(ModelPackagingConfiguration &&value)
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartModelPackagingJobRequest & WithDescription(Aws::String &&value)
StartModelPackagingJobRequest & WithProjectName(const Aws::String &value)
StartModelPackagingJobRequest & WithJobName(const Aws::String &value)
StartModelPackagingJobRequest & WithClientToken(Aws::String &&value)
StartModelPackagingJobRequest & WithDescription(const char *value)
StartModelPackagingJobRequest & WithJobName(const char *value)
StartModelPackagingJobRequest & WithClientToken(const Aws::String &value)
StartModelPackagingJobRequest & WithClientToken(const char *value)
StartModelPackagingJobRequest & WithModelVersion(const char *value)
void SetConfiguration(const ModelPackagingConfiguration &value)
StartModelPackagingJobRequest & WithModelVersion(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String