AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyProjectVersionRequest.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/OutputConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API CopyProjectVersionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CopyProjectVersion"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetSourceProjectArn() const{ return m_sourceProjectArn; }
44 inline bool SourceProjectArnHasBeenSet() const { return m_sourceProjectArnHasBeenSet; }
45 inline void SetSourceProjectArn(const Aws::String& value) { m_sourceProjectArnHasBeenSet = true; m_sourceProjectArn = value; }
46 inline void SetSourceProjectArn(Aws::String&& value) { m_sourceProjectArnHasBeenSet = true; m_sourceProjectArn = std::move(value); }
47 inline void SetSourceProjectArn(const char* value) { m_sourceProjectArnHasBeenSet = true; m_sourceProjectArn.assign(value); }
49 inline CopyProjectVersionRequest& WithSourceProjectArn(Aws::String&& value) { SetSourceProjectArn(std::move(value)); return *this;}
50 inline CopyProjectVersionRequest& WithSourceProjectArn(const char* value) { SetSourceProjectArn(value); return *this;}
52
54
58 inline const Aws::String& GetSourceProjectVersionArn() const{ return m_sourceProjectVersionArn; }
59 inline bool SourceProjectVersionArnHasBeenSet() const { return m_sourceProjectVersionArnHasBeenSet; }
60 inline void SetSourceProjectVersionArn(const Aws::String& value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn = value; }
61 inline void SetSourceProjectVersionArn(Aws::String&& value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn = std::move(value); }
62 inline void SetSourceProjectVersionArn(const char* value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn.assign(value); }
65 inline CopyProjectVersionRequest& WithSourceProjectVersionArn(const char* value) { SetSourceProjectVersionArn(value); return *this;}
67
69
73 inline const Aws::String& GetDestinationProjectArn() const{ return m_destinationProjectArn; }
74 inline bool DestinationProjectArnHasBeenSet() const { return m_destinationProjectArnHasBeenSet; }
75 inline void SetDestinationProjectArn(const Aws::String& value) { m_destinationProjectArnHasBeenSet = true; m_destinationProjectArn = value; }
76 inline void SetDestinationProjectArn(Aws::String&& value) { m_destinationProjectArnHasBeenSet = true; m_destinationProjectArn = std::move(value); }
77 inline void SetDestinationProjectArn(const char* value) { m_destinationProjectArnHasBeenSet = true; m_destinationProjectArn.assign(value); }
80 inline CopyProjectVersionRequest& WithDestinationProjectArn(const char* value) { SetDestinationProjectArn(value); return *this;}
82
84
88 inline const Aws::String& GetVersionName() const{ return m_versionName; }
89 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
90 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
91 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
92 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
93 inline CopyProjectVersionRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
94 inline CopyProjectVersionRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
95 inline CopyProjectVersionRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
97
99
103 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
104 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
105 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
106 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
107 inline CopyProjectVersionRequest& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
108 inline CopyProjectVersionRequest& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
110
112
115 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
118 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CopyProjectVersionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
121 inline CopyProjectVersionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122 inline CopyProjectVersionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CopyProjectVersionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline CopyProjectVersionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
125 inline CopyProjectVersionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline CopyProjectVersionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline CopyProjectVersionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
129
131
143 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
144 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
145 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
146 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
147 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
148 inline CopyProjectVersionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
149 inline CopyProjectVersionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
150 inline CopyProjectVersionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
152 private:
153
154 Aws::String m_sourceProjectArn;
155 bool m_sourceProjectArnHasBeenSet = false;
156
157 Aws::String m_sourceProjectVersionArn;
158 bool m_sourceProjectVersionArnHasBeenSet = false;
159
160 Aws::String m_destinationProjectArn;
161 bool m_destinationProjectArnHasBeenSet = false;
162
163 Aws::String m_versionName;
164 bool m_versionNameHasBeenSet = false;
165
166 OutputConfig m_outputConfig;
167 bool m_outputConfigHasBeenSet = false;
168
170 bool m_tagsHasBeenSet = false;
171
172 Aws::String m_kmsKeyId;
173 bool m_kmsKeyIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Rekognition
178} // namespace Aws
CopyProjectVersionRequest & WithDestinationProjectArn(Aws::String &&value)
CopyProjectVersionRequest & AddTags(Aws::String &&key, const char *value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyProjectVersionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CopyProjectVersionRequest & WithSourceProjectArn(const Aws::String &value)
CopyProjectVersionRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CopyProjectVersionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CopyProjectVersionRequest & WithKmsKeyId(Aws::String &&value)
CopyProjectVersionRequest & AddTags(const Aws::String &key, Aws::String &&value)
CopyProjectVersionRequest & WithOutputConfig(const OutputConfig &value)
CopyProjectVersionRequest & AddTags(Aws::String &&key, Aws::String &&value)
CopyProjectVersionRequest & AddTags(Aws::String &&key, const Aws::String &value)
CopyProjectVersionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CopyProjectVersionRequest & WithSourceProjectArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CopyProjectVersionRequest & WithKmsKeyId(const char *value)
CopyProjectVersionRequest & WithSourceProjectArn(const char *value)
CopyProjectVersionRequest & WithSourceProjectVersionArn(Aws::String &&value)
CopyProjectVersionRequest & WithVersionName(const Aws::String &value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CopyProjectVersionRequest & WithDestinationProjectArn(const char *value)
CopyProjectVersionRequest & WithSourceProjectVersionArn(const char *value)
virtual const char * GetServiceRequestName() const override
CopyProjectVersionRequest & WithOutputConfig(OutputConfig &&value)
CopyProjectVersionRequest & WithVersionName(Aws::String &&value)
CopyProjectVersionRequest & WithKmsKeyId(const Aws::String &value)
CopyProjectVersionRequest & WithVersionName(const char *value)
CopyProjectVersionRequest & WithDestinationProjectArn(const Aws::String &value)
CopyProjectVersionRequest & WithSourceProjectVersionArn(const Aws::String &value)
CopyProjectVersionRequest & AddTags(const char *key, const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String