AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartProjectVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Rekognition {
15namespace Model {
16
20 public:
21 AWS_REKOGNITION_API StartProjectVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartProjectVersion"; }
28
29 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
30
31 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetProjectVersionArn() const { return m_projectVersionArn; }
39 inline bool ProjectVersionArnHasBeenSet() const { return m_projectVersionArnHasBeenSet; }
40 template <typename ProjectVersionArnT = Aws::String>
41 void SetProjectVersionArn(ProjectVersionArnT&& value) {
42 m_projectVersionArnHasBeenSet = true;
43 m_projectVersionArn = std::forward<ProjectVersionArnT>(value);
44 }
45 template <typename ProjectVersionArnT = Aws::String>
47 SetProjectVersionArn(std::forward<ProjectVersionArnT>(value));
48 return *this;
49 }
51
53
59 inline int GetMinInferenceUnits() const { return m_minInferenceUnits; }
60 inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; }
61 inline void SetMinInferenceUnits(int value) {
62 m_minInferenceUnitsHasBeenSet = true;
63 m_minInferenceUnits = value;
64 }
67 return *this;
68 }
70
72
77 inline int GetMaxInferenceUnits() const { return m_maxInferenceUnits; }
78 inline bool MaxInferenceUnitsHasBeenSet() const { return m_maxInferenceUnitsHasBeenSet; }
79 inline void SetMaxInferenceUnits(int value) {
80 m_maxInferenceUnitsHasBeenSet = true;
81 m_maxInferenceUnits = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_projectVersionArn;
90
91 int m_minInferenceUnits{0};
92
93 int m_maxInferenceUnits{0};
94 bool m_projectVersionArnHasBeenSet = false;
95 bool m_minInferenceUnitsHasBeenSet = false;
96 bool m_maxInferenceUnitsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Rekognition
101} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API StartProjectVersionRequest()=default
StartProjectVersionRequest & WithMinInferenceUnits(int value)
StartProjectVersionRequest & WithProjectVersionArn(ProjectVersionArnT &&value)
StartProjectVersionRequest & WithMaxInferenceUnits(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String