AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateDetectorVersionStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace FraudDetector
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateDetectorVersionStatus"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
42 
46  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
47 
51  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
52 
56  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
57 
61  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
62 
66  inline UpdateDetectorVersionStatusRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
67 
71  inline UpdateDetectorVersionStatusRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
72 
76  inline UpdateDetectorVersionStatusRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
77 
78 
82  inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
83 
87  inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
88 
92  inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
93 
97  inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
98 
102  inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
103 
107  inline UpdateDetectorVersionStatusRequest& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
108 
112  inline UpdateDetectorVersionStatusRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
113 
117  inline UpdateDetectorVersionStatusRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
118 
119 
123  inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
124 
128  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 
133  inline void SetStatus(const DetectorVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
134 
138  inline void SetStatus(DetectorVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
139 
143  inline UpdateDetectorVersionStatusRequest& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
144 
148  inline UpdateDetectorVersionStatusRequest& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
149 
150  private:
151 
152  Aws::String m_detectorId;
153  bool m_detectorIdHasBeenSet;
154 
155  Aws::String m_detectorVersionId;
156  bool m_detectorVersionIdHasBeenSet;
157 
158  DetectorVersionStatus m_status;
159  bool m_statusHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace FraudDetector
164 } // namespace Aws
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest
Definition: UpdateDetectorVersionStatusRequest.h:23
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithStatus
UpdateDetectorVersionStatusRequest & WithStatus(const DetectorVersionStatus &value)
Definition: UpdateDetectorVersionStatusRequest.h:143
FraudDetectorRequest.h
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorId
UpdateDetectorVersionStatusRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionStatusRequest.h:66
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionStatusRequest.h:51
Aws::FraudDetector::Model::DetectorVersionStatus
DetectorVersionStatus
Definition: DetectorVersionStatus.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorVersionId
UpdateDetectorVersionStatusRequest & WithDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionStatusRequest.h:107
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorVersionId
UpdateDetectorVersionStatusRequest & WithDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionStatusRequest.h:117
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: UpdateDetectorVersionStatusRequest.h:82
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::UpdateDetectorVersionStatusRequest
UpdateDetectorVersionStatusRequest()
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateDetectorVersionStatusRequest.h:61
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::GetStatus
const DetectorVersionStatus & GetStatus() const
Definition: UpdateDetectorVersionStatusRequest.h:123
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateDetectorVersionStatusRequest.h:41
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::DetectorVersionIdHasBeenSet
bool DetectorVersionIdHasBeenSet() const
Definition: UpdateDetectorVersionStatusRequest.h:87
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateDetectorVersionStatusRequest.h:128
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorId
UpdateDetectorVersionStatusRequest & WithDetectorId(const char *value)
Definition: UpdateDetectorVersionStatusRequest.h:76
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionStatusRequest.h:97
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorId
UpdateDetectorVersionStatusRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionStatusRequest.h:71
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateDetectorVersionStatusRequest.h:46
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionStatusRequest.h:92
DetectorVersionStatus.h
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionStatusRequest.h:56
AWSString.h
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDetectorVersionStatusRequest.h:31
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithDetectorVersionId
UpdateDetectorVersionStatusRequest & WithDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionStatusRequest.h:112
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::WithStatus
UpdateDetectorVersionStatusRequest & WithStatus(DetectorVersionStatus &&value)
Definition: UpdateDetectorVersionStatusRequest.h:148
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetStatus
void SetStatus(DetectorVersionStatus &&value)
Definition: UpdateDetectorVersionStatusRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetStatus
void SetStatus(const DetectorVersionStatus &value)
Definition: UpdateDetectorVersionStatusRequest.h:133
Aws::FraudDetector::Model::UpdateDetectorVersionStatusRequest::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionStatusRequest.h:102