AWS SDK for C++  1.9.71
AWS SDK for C++
GetVariablesRequest.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 "GetVariables"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline GetVariablesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline GetVariablesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline GetVariablesRequest& WithName(const char* value) { SetName(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 GetVariablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
111  inline GetVariablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
116  inline GetVariablesRequest& 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 GetVariablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138 
139  private:
140 
141  Aws::String m_name;
142  bool m_nameHasBeenSet;
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::GetVariablesRequest::SetName
void SetName(const Aws::String &value)
Definition: GetVariablesRequest.h:50
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetVariablesRequest::SetName
void SetName(Aws::String &&value)
Definition: GetVariablesRequest.h:55
Aws::FraudDetector::Model::GetVariablesRequest::WithName
GetVariablesRequest & WithName(Aws::String &&value)
Definition: GetVariablesRequest.h:70
Aws::FraudDetector::Model::GetVariablesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetVariablesRequest.h:101
Aws::FraudDetector::Model::GetVariablesRequest::WithName
GetVariablesRequest & WithName(const Aws::String &value)
Definition: GetVariablesRequest.h:65
Aws::FraudDetector::Model::GetVariablesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetVariablesRequest.h:30
Aws::FraudDetector::Model::GetVariablesRequest::WithNextToken
GetVariablesRequest & WithNextToken(const Aws::String &value)
Definition: GetVariablesRequest.h:106
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::GetVariablesRequest::WithNextToken
GetVariablesRequest & WithNextToken(const char *value)
Definition: GetVariablesRequest.h:116
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetVariablesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetVariablesRequest.h:81
Aws::FraudDetector::Model::GetVariablesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetVariablesRequest.h:91
Aws::FraudDetector::Model::GetVariablesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetVariablesRequest.h:96
Aws::FraudDetector::Model::GetVariablesRequest::WithNextToken
GetVariablesRequest & WithNextToken(Aws::String &&value)
Definition: GetVariablesRequest.h:111
Aws::FraudDetector::Model::GetVariablesRequest::SetName
void SetName(const char *value)
Definition: GetVariablesRequest.h:60
AWSString.h
Aws::FraudDetector::Model::GetVariablesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::GetVariablesRequest::GetName
const Aws::String & GetName() const
Definition: GetVariablesRequest.h:40
Aws::FraudDetector::Model::GetVariablesRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetVariablesRequest.h:45
Aws::FraudDetector::Model::GetVariablesRequest::GetMaxResults
int GetMaxResults() const
Definition: GetVariablesRequest.h:122
Aws::FraudDetector::Model::GetVariablesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetVariablesRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetVariablesRequest::WithName
GetVariablesRequest & WithName(const char *value)
Definition: GetVariablesRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetVariablesRequest::WithMaxResults
GetVariablesRequest & WithMaxResults(int value)
Definition: GetVariablesRequest.h:137
Aws::FraudDetector::Model::GetVariablesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::GetVariablesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetVariablesRequest.h:132
Aws::FraudDetector::Model::GetVariablesRequest::GetVariablesRequest
GetVariablesRequest()
Aws::FraudDetector::Model::GetVariablesRequest
Definition: GetVariablesRequest.h:22
Aws::FraudDetector::Model::GetVariablesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetVariablesRequest.h:127