AWS SDK for C++  1.9.66
AWS SDK for C++
GetDetectorVersionRequest.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 "GetDetectorVersion"; }
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 GetDetectorVersionRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
66 
70  inline GetDetectorVersionRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
71 
75  inline GetDetectorVersionRequest& 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 GetDetectorVersionRequest& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
107 
111  inline GetDetectorVersionRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
112 
116  inline GetDetectorVersionRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_detectorId;
121  bool m_detectorIdHasBeenSet;
122 
123  Aws::String m_detectorVersionId;
124  bool m_detectorVersionIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace FraudDetector
129 } // namespace Aws
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: GetDetectorVersionRequest.h:50
FraudDetectorRequest.h
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorVersionId
GetDetectorVersionRequest & WithDetectorVersionId(const Aws::String &value)
Definition: GetDetectorVersionRequest.h:106
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: GetDetectorVersionRequest.h:101
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: GetDetectorVersionRequest.h:96
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetDetectorVersionRequest::DetectorVersionIdHasBeenSet
bool DetectorVersionIdHasBeenSet() const
Definition: GetDetectorVersionRequest.h:86
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorId
GetDetectorVersionRequest & WithDetectorId(Aws::String &&value)
Definition: GetDetectorVersionRequest.h:70
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetDetectorVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::GetDetectorVersionRequest::GetDetectorVersionRequest
GetDetectorVersionRequest()
Aws::FraudDetector::Model::GetDetectorVersionRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: GetDetectorVersionRequest.h:40
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorVersionId
GetDetectorVersionRequest & WithDetectorVersionId(const char *value)
Definition: GetDetectorVersionRequest.h:116
Aws::FraudDetector::Model::GetDetectorVersionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: GetDetectorVersionRequest.h:91
Aws::FraudDetector::Model::GetDetectorVersionRequest::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: GetDetectorVersionRequest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: GetDetectorVersionRequest.h:60
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorId
GetDetectorVersionRequest & WithDetectorId(const Aws::String &value)
Definition: GetDetectorVersionRequest.h:65
Aws::FraudDetector::Model::GetDetectorVersionRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: GetDetectorVersionRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetDetectorVersionRequest
Definition: GetDetectorVersionRequest.h:22
Aws::FraudDetector::Model::GetDetectorVersionRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: GetDetectorVersionRequest.h:45
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorVersionId
GetDetectorVersionRequest & WithDetectorVersionId(Aws::String &&value)
Definition: GetDetectorVersionRequest.h:111
Aws::FraudDetector::Model::GetDetectorVersionRequest::WithDetectorId
GetDetectorVersionRequest & WithDetectorId(const char *value)
Definition: GetDetectorVersionRequest.h:75
Aws::FraudDetector::Model::GetDetectorVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDetectorVersionRequest.h:30