AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ProjectNameT = Aws::String>
47 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
48 template<typename ProjectNameT = Aws::String>
49 StartModelPackagingJobRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
57 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
58 template<typename ModelVersionT = Aws::String>
59 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
60 template<typename ModelVersionT = Aws::String>
61 StartModelPackagingJobRequest& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
63
65
69 inline const Aws::String& GetJobName() const { return m_jobName; }
70 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
71 template<typename JobNameT = Aws::String>
72 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
73 template<typename JobNameT = Aws::String>
74 StartModelPackagingJobRequest& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
76
78
81 inline const ModelPackagingConfiguration& GetConfiguration() const { return m_configuration; }
82 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
83 template<typename ConfigurationT = ModelPackagingConfiguration>
84 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
85 template<typename ConfigurationT = ModelPackagingConfiguration>
86 StartModelPackagingJobRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 StartModelPackagingJobRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
117 inline const Aws::String& GetClientToken() const { return m_clientToken; }
118 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
119 template<typename ClientTokenT = Aws::String>
120 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
121 template<typename ClientTokenT = Aws::String>
122 StartModelPackagingJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
124 private:
125
126 Aws::String m_projectName;
127 bool m_projectNameHasBeenSet = false;
128
129 Aws::String m_modelVersion;
130 bool m_modelVersionHasBeenSet = false;
131
132 Aws::String m_jobName;
133 bool m_jobNameHasBeenSet = false;
134
135 ModelPackagingConfiguration m_configuration;
136 bool m_configurationHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
142 bool m_clientTokenHasBeenSet = true;
143 };
144
145} // namespace Model
146} // namespace LookoutforVision
147} // namespace Aws
StartModelPackagingJobRequest & WithJobName(JobNameT &&value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartModelPackagingJobRequest & WithProjectName(ProjectNameT &&value)
AWS_LOOKOUTFORVISION_API StartModelPackagingJobRequest()=default
StartModelPackagingJobRequest & WithClientToken(ClientTokenT &&value)
StartModelPackagingJobRequest & WithConfiguration(ConfigurationT &&value)
StartModelPackagingJobRequest & WithModelVersion(ModelVersionT &&value)
StartModelPackagingJobRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String