AWS SDK for C++  1.9.158
AWS SDK for C++
StartStreamProcessorRequest.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 "StartStreamProcessor"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline StartStreamProcessorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline StartStreamProcessorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline StartStreamProcessorRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77  private:
78 
79  Aws::String m_name;
80  bool m_nameHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Rekognition
85 } // namespace Aws
Aws::Rekognition::Model::StartStreamProcessorRequest::WithName
StartStreamProcessorRequest & WithName(const Aws::String &value)
Definition: StartStreamProcessorRequest.h:65
Aws::Rekognition::Model::StartStreamProcessorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartStreamProcessorRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartStreamProcessorRequest::StartStreamProcessorRequest
StartStreamProcessorRequest()
Aws::Rekognition::Model::StartStreamProcessorRequest::WithName
StartStreamProcessorRequest & WithName(Aws::String &&value)
Definition: StartStreamProcessorRequest.h:70
Aws::Rekognition::Model::StartStreamProcessorRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
AWSString.h
Aws::Rekognition::Model::StartStreamProcessorRequest
Definition: StartStreamProcessorRequest.h:22
Aws::Rekognition::Model::StartStreamProcessorRequest::SetName
void SetName(Aws::String &&value)
Definition: StartStreamProcessorRequest.h:55
Aws::Rekognition::Model::StartStreamProcessorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::StartStreamProcessorRequest::SetName
void SetName(const char *value)
Definition: StartStreamProcessorRequest.h:60
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::StartStreamProcessorRequest::SetName
void SetName(const Aws::String &value)
Definition: StartStreamProcessorRequest.h:50
Aws::Rekognition::Model::StartStreamProcessorRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StartStreamProcessorRequest.h:45
Aws::Rekognition::Model::StartStreamProcessorRequest::WithName
StartStreamProcessorRequest & WithName(const char *value)
Definition: StartStreamProcessorRequest.h:75
Aws::Rekognition::Model::StartStreamProcessorRequest::GetName
const Aws::String & GetName() const
Definition: StartStreamProcessorRequest.h:40
RekognitionRequest.h