AWS SDK for C++  1.9.71
AWS SDK for C++
UpdateDetectorVersionMetadataRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace FraudDetector
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 "UpdateDetectorVersionMetadata"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
41 
45  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 
50  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
51 
55  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
56 
60  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
61 
65  inline UpdateDetectorVersionMetadataRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
66 
70  inline UpdateDetectorVersionMetadataRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
71 
75  inline UpdateDetectorVersionMetadataRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
76 
77 
81  inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
82 
86  inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
87 
91  inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
92 
96  inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
97 
101  inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
102 
106  inline UpdateDetectorVersionMetadataRequest& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
107 
111  inline UpdateDetectorVersionMetadataRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
112 
116  inline UpdateDetectorVersionMetadataRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateDetectorVersionMetadataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateDetectorVersionMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateDetectorVersionMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159  private:
160 
161  Aws::String m_detectorId;
162  bool m_detectorIdHasBeenSet;
163 
164  Aws::String m_detectorVersionId;
165  bool m_detectorVersionIdHasBeenSet;
166 
167  Aws::String m_description;
168  bool m_descriptionHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace FraudDetector
173 } // namespace Aws
FraudDetectorRequest.h
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorVersionId
UpdateDetectorVersionMetadataRequest & WithDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:116
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorVersionId
UpdateDetectorVersionMetadataRequest & WithDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:106
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:132
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorVersionId
UpdateDetectorVersionMetadataRequest & WithDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:111
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorId
UpdateDetectorVersionMetadataRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:70
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDetectorVersionMetadataRequest.h:127
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:137
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:96
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:142
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDetectorVersionMetadataRequest.h:30
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateDetectorVersionMetadataRequest.h:40
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:91
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDescription
UpdateDetectorVersionMetadataRequest & WithDescription(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:157
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: UpdateDetectorVersionMetadataRequest.h:81
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDescription
UpdateDetectorVersionMetadataRequest & WithDescription(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:147
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::UpdateDetectorVersionMetadataRequest
UpdateDetectorVersionMetadataRequest()
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:55
AWSString.h
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::DetectorVersionIdHasBeenSet
bool DetectorVersionIdHasBeenSet() const
Definition: UpdateDetectorVersionMetadataRequest.h:86
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDetectorVersionMetadataRequest.h:122
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateDetectorVersionMetadataRequest.h:45
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:101
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:50
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest
Definition: UpdateDetectorVersionMetadataRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorId
UpdateDetectorVersionMetadataRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionMetadataRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDetectorId
UpdateDetectorVersionMetadataRequest & WithDetectorId(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:75
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateDetectorVersionMetadataRequest.h:60
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::UpdateDetectorVersionMetadataRequest::WithDescription
UpdateDetectorVersionMetadataRequest & WithDescription(Aws::String &&value)
Definition: UpdateDetectorVersionMetadataRequest.h:152