7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
15namespace LookoutforVision
44 template<
typename ProjectNameT = Aws::String>
45 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
46 template<
typename ProjectNameT = Aws::String>
56 template<
typename ModelVersionT = Aws::String>
57 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet =
true; m_modelVersion = std::forward<ModelVersionT>(value); }
58 template<
typename ModelVersionT = Aws::String>
71 inline void SetMinInferenceUnits(
int value) { m_minInferenceUnitsHasBeenSet =
true; m_minInferenceUnits = value; }
92 template<
typename ClientTokenT = Aws::String>
93 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
94 template<
typename ClientTokenT = Aws::String>
106 inline void SetMaxInferenceUnits(
int value) { m_maxInferenceUnitsHasBeenSet =
true; m_maxInferenceUnits = value; }
112 bool m_projectNameHasBeenSet =
false;
115 bool m_modelVersionHasBeenSet =
false;
117 int m_minInferenceUnits{0};
118 bool m_minInferenceUnitsHasBeenSet =
false;
121 bool m_clientTokenHasBeenSet =
true;
123 int m_maxInferenceUnits{0};
124 bool m_maxInferenceUnitsHasBeenSet =
false;
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MinInferenceUnitsHasBeenSet() const
void SetMinInferenceUnits(int value)
StartModelRequest & WithMinInferenceUnits(int value)
bool ModelVersionHasBeenSet() const
int GetMinInferenceUnits() const
const Aws::String & GetProjectName() const
bool ProjectNameHasBeenSet() const
void SetMaxInferenceUnits(int value)
const Aws::String & GetModelVersion() const
StartModelRequest & WithModelVersion(ModelVersionT &&value)
void SetProjectName(ProjectNameT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
int GetMaxInferenceUnits() const
StartModelRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
bool MaxInferenceUnitsHasBeenSet() const
bool ClientTokenHasBeenSet() const
StartModelRequest & WithProjectName(ProjectNameT &&value)
AWS_LOOKOUTFORVISION_API StartModelRequest()=default
void SetModelVersion(ModelVersionT &&value)
StartModelRequest & WithMaxInferenceUnits(int value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String