AWS SDK for C++  1.9.40
AWS SDK for C++
StartProjectVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Rekognition
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "StartProjectVersion"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetProjectVersionArn() const{ return m_projectVersionArn; }
42 
47  inline bool ProjectVersionArnHasBeenSet() const { return m_projectVersionArnHasBeenSet; }
48 
53  inline void SetProjectVersionArn(const Aws::String& value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn = value; }
54 
59  inline void SetProjectVersionArn(Aws::String&& value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn = std::move(value); }
60 
65  inline void SetProjectVersionArn(const char* value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn.assign(value); }
66 
71  inline StartProjectVersionRequest& WithProjectVersionArn(const Aws::String& value) { SetProjectVersionArn(value); return *this;}
72 
77  inline StartProjectVersionRequest& WithProjectVersionArn(Aws::String&& value) { SetProjectVersionArn(std::move(value)); return *this;}
78 
83  inline StartProjectVersionRequest& WithProjectVersionArn(const char* value) { SetProjectVersionArn(value); return *this;}
84 
85 
92  inline int GetMinInferenceUnits() const{ return m_minInferenceUnits; }
93 
100  inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; }
101 
108  inline void SetMinInferenceUnits(int value) { m_minInferenceUnitsHasBeenSet = true; m_minInferenceUnits = value; }
109 
116  inline StartProjectVersionRequest& WithMinInferenceUnits(int value) { SetMinInferenceUnits(value); return *this;}
117 
118  private:
119 
120  Aws::String m_projectVersionArn;
121  bool m_projectVersionArnHasBeenSet;
122 
123  int m_minInferenceUnits;
124  bool m_minInferenceUnitsHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace Rekognition
129 } // namespace Aws
Aws::Rekognition::Model::StartProjectVersionRequest::GetMinInferenceUnits
int GetMinInferenceUnits() const
Definition: StartProjectVersionRequest.h:92
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartProjectVersionRequest::MinInferenceUnitsHasBeenSet
bool MinInferenceUnitsHasBeenSet() const
Definition: StartProjectVersionRequest.h:100
Aws::Rekognition::Model::StartProjectVersionRequest::SetMinInferenceUnits
void SetMinInferenceUnits(int value)
Definition: StartProjectVersionRequest.h:108
Aws::Rekognition::Model::StartProjectVersionRequest::ProjectVersionArnHasBeenSet
bool ProjectVersionArnHasBeenSet() const
Definition: StartProjectVersionRequest.h:47
Aws::Rekognition::Model::StartProjectVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::StartProjectVersionRequest::WithProjectVersionArn
StartProjectVersionRequest & WithProjectVersionArn(const char *value)
Definition: StartProjectVersionRequest.h:83
Aws::Rekognition::Model::StartProjectVersionRequest::WithProjectVersionArn
StartProjectVersionRequest & WithProjectVersionArn(Aws::String &&value)
Definition: StartProjectVersionRequest.h:77
Aws::Rekognition::Model::StartProjectVersionRequest::GetProjectVersionArn
const Aws::String & GetProjectVersionArn() const
Definition: StartProjectVersionRequest.h:41
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartProjectVersionRequest::StartProjectVersionRequest
StartProjectVersionRequest()
Aws::Rekognition::Model::StartProjectVersionRequest::SetProjectVersionArn
void SetProjectVersionArn(const char *value)
Definition: StartProjectVersionRequest.h:65
AWSString.h
Aws::Rekognition::Model::StartProjectVersionRequest::WithProjectVersionArn
StartProjectVersionRequest & WithProjectVersionArn(const Aws::String &value)
Definition: StartProjectVersionRequest.h:71
Aws::Rekognition::Model::StartProjectVersionRequest::SetProjectVersionArn
void SetProjectVersionArn(const Aws::String &value)
Definition: StartProjectVersionRequest.h:53
Aws::Rekognition::Model::StartProjectVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartProjectVersionRequest.h:30
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StartProjectVersionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::StartProjectVersionRequest::WithMinInferenceUnits
StartProjectVersionRequest & WithMinInferenceUnits(int value)
Definition: StartProjectVersionRequest.h:116
Aws::Rekognition::Model::StartProjectVersionRequest::SetProjectVersionArn
void SetProjectVersionArn(Aws::String &&value)
Definition: StartProjectVersionRequest.h:59
Aws::Rekognition::Model::StartProjectVersionRequest
Definition: StartProjectVersionRequest.h:22
RekognitionRequest.h