AWS SDK for C++  1.9.19
AWS SDK for C++
DescribeDetectorRequest.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 "DescribeDetector"; }
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 DescribeDetectorRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
66 
70  inline DescribeDetectorRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
71 
75  inline DescribeDetectorRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
76 
77 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
86  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 
91  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
92 
96  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 
101  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 
106  inline DescribeDetectorRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
111  inline DescribeDetectorRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
116  inline DescribeDetectorRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 
118 
122  inline int GetMaxResults() const{ return m_maxResults; }
123 
127  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128 
132  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
133 
137  inline DescribeDetectorRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138 
139  private:
140 
141  Aws::String m_detectorId;
142  bool m_detectorIdHasBeenSet;
143 
144  Aws::String m_nextToken;
145  bool m_nextTokenHasBeenSet;
146 
147  int m_maxResults;
148  bool m_maxResultsHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace FraudDetector
153 } // namespace Aws
FraudDetectorRequest.h
Aws::FraudDetector::Model::DescribeDetectorRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DescribeDetectorRequest.h:55
Aws::FraudDetector::Model::DescribeDetectorRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDetectorRequest.h:81
Aws::FraudDetector::Model::DescribeDetectorRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeDetectorRequest.h:86
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::DescribeDetectorRequest
Definition: DescribeDetectorRequest.h:22
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DescribeDetectorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDetectorRequest.h:30
Aws::FraudDetector::Model::DescribeDetectorRequest::WithNextToken
DescribeDetectorRequest & WithNextToken(Aws::String &&value)
Definition: DescribeDetectorRequest.h:111
Aws::FraudDetector::Model::DescribeDetectorRequest::WithNextToken
DescribeDetectorRequest & WithNextToken(const Aws::String &value)
Definition: DescribeDetectorRequest.h:106
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::DescribeDetectorRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DescribeDetectorRequest.h:40
Aws::FraudDetector::Model::DescribeDetectorRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDetectorRequest.h:91
Aws::FraudDetector::Model::DescribeDetectorRequest::WithDetectorId
DescribeDetectorRequest & WithDetectorId(Aws::String &&value)
Definition: DescribeDetectorRequest.h:70
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DescribeDetectorRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::DescribeDetectorRequest::WithDetectorId
DescribeDetectorRequest & WithDetectorId(const Aws::String &value)
Definition: DescribeDetectorRequest.h:65
AWSString.h
Aws::FraudDetector::Model::DescribeDetectorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::DescribeDetectorRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DescribeDetectorRequest.h:50
Aws::FraudDetector::Model::DescribeDetectorRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeDetectorRequest.h:127
Aws::FraudDetector::Model::DescribeDetectorRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDetectorRequest.h:101
Aws::FraudDetector::Model::DescribeDetectorRequest::WithNextToken
DescribeDetectorRequest & WithNextToken(const char *value)
Definition: DescribeDetectorRequest.h:116
Aws::FraudDetector::Model::DescribeDetectorRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: DescribeDetectorRequest.h:60
Aws::FraudDetector::Model::DescribeDetectorRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDetectorRequest.h:96
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::DescribeDetectorRequest::WithMaxResults
DescribeDetectorRequest & WithMaxResults(int value)
Definition: DescribeDetectorRequest.h:137
Aws::FraudDetector::Model::DescribeDetectorRequest::WithDetectorId
DescribeDetectorRequest & WithDetectorId(const char *value)
Definition: DescribeDetectorRequest.h:75
Aws::FraudDetector::Model::DescribeDetectorRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeDetectorRequest.h:122
Aws::FraudDetector::Model::DescribeDetectorRequest::DescribeDetectorRequest
DescribeDetectorRequest()
Aws::FraudDetector::Model::DescribeDetectorRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: DescribeDetectorRequest.h:45
Aws::FraudDetector::Model::DescribeDetectorRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeDetectorRequest.h:132