AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMediaAnalysisJobRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/MediaAnalysisOperationsConfig.h>
11#include <aws/rekognition/model/MediaAnalysisInput.h>
12#include <aws/rekognition/model/MediaAnalysisOutputConfig.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Rekognition
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_REKOGNITION_API StartMediaAnalysisJobRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartMediaAnalysisJob"; }
35
36 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
37
38 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
49 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
50 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
51 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
52 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
53 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
55 inline StartMediaAnalysisJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
56 inline StartMediaAnalysisJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline StartMediaAnalysisJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline StartMediaAnalysisJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline StartMediaAnalysisJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
77 inline const MediaAnalysisOperationsConfig& GetOperationsConfig() const{ return m_operationsConfig; }
78 inline bool OperationsConfigHasBeenSet() const { return m_operationsConfigHasBeenSet; }
79 inline void SetOperationsConfig(const MediaAnalysisOperationsConfig& value) { m_operationsConfigHasBeenSet = true; m_operationsConfig = value; }
80 inline void SetOperationsConfig(MediaAnalysisOperationsConfig&& value) { m_operationsConfigHasBeenSet = true; m_operationsConfig = std::move(value); }
84
86
89 inline const MediaAnalysisInput& GetInput() const{ return m_input; }
90 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
91 inline void SetInput(const MediaAnalysisInput& value) { m_inputHasBeenSet = true; m_input = value; }
92 inline void SetInput(MediaAnalysisInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
93 inline StartMediaAnalysisJobRequest& WithInput(const MediaAnalysisInput& value) { SetInput(value); return *this;}
94 inline StartMediaAnalysisJobRequest& WithInput(MediaAnalysisInput&& value) { SetInput(std::move(value)); return *this;}
96
98
101 inline const MediaAnalysisOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
102 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
103 inline void SetOutputConfig(const MediaAnalysisOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
104 inline void SetOutputConfig(MediaAnalysisOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
108
110
115 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
116 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
117 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
118 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
119 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
120 inline StartMediaAnalysisJobRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
121 inline StartMediaAnalysisJobRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
122 inline StartMediaAnalysisJobRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
124 private:
125
126 Aws::String m_clientRequestToken;
127 bool m_clientRequestTokenHasBeenSet = false;
128
129 Aws::String m_jobName;
130 bool m_jobNameHasBeenSet = false;
131
132 MediaAnalysisOperationsConfig m_operationsConfig;
133 bool m_operationsConfigHasBeenSet = false;
134
135 MediaAnalysisInput m_input;
136 bool m_inputHasBeenSet = false;
137
138 MediaAnalysisOutputConfig m_outputConfig;
139 bool m_outputConfigHasBeenSet = false;
140
141 Aws::String m_kmsKeyId;
142 bool m_kmsKeyIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Rekognition
147} // namespace Aws
StartMediaAnalysisJobRequest & WithClientRequestToken(const Aws::String &value)
void SetOperationsConfig(const MediaAnalysisOperationsConfig &value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartMediaAnalysisJobRequest & WithJobName(Aws::String &&value)
StartMediaAnalysisJobRequest & WithOperationsConfig(MediaAnalysisOperationsConfig &&value)
StartMediaAnalysisJobRequest & WithKmsKeyId(const Aws::String &value)
StartMediaAnalysisJobRequest & WithKmsKeyId(Aws::String &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMediaAnalysisJobRequest & WithInput(const MediaAnalysisInput &value)
StartMediaAnalysisJobRequest & WithOperationsConfig(const MediaAnalysisOperationsConfig &value)
StartMediaAnalysisJobRequest & WithKmsKeyId(const char *value)
StartMediaAnalysisJobRequest & WithJobName(const Aws::String &value)
StartMediaAnalysisJobRequest & WithClientRequestToken(const char *value)
StartMediaAnalysisJobRequest & WithJobName(const char *value)
void SetOutputConfig(const MediaAnalysisOutputConfig &value)
const MediaAnalysisOperationsConfig & GetOperationsConfig() const
StartMediaAnalysisJobRequest & WithOutputConfig(const MediaAnalysisOutputConfig &value)
void SetOperationsConfig(MediaAnalysisOperationsConfig &&value)
StartMediaAnalysisJobRequest & WithClientRequestToken(Aws::String &&value)
StartMediaAnalysisJobRequest & WithOutputConfig(MediaAnalysisOutputConfig &&value)
StartMediaAnalysisJobRequest & WithInput(MediaAnalysisInput &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String