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