AWS SDK for C++  1.9.109
AWS SDK for C++
ListKeywordsForDataSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace AuditManager
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListKeywordsForDataSource"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const SourceType& GetSource() const{ return m_source; }
46 
50  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
51 
55  inline void SetSource(const SourceType& value) { m_sourceHasBeenSet = true; m_source = value; }
56 
60  inline void SetSource(SourceType&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
61 
65  inline ListKeywordsForDataSourceRequest& WithSource(const SourceType& value) { SetSource(value); return *this;}
66 
70  inline ListKeywordsForDataSourceRequest& WithSource(SourceType&& value) { SetSource(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 
86  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 
91  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 
96  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 
101  inline ListKeywordsForDataSourceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
106  inline ListKeywordsForDataSourceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 
111  inline ListKeywordsForDataSourceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
112 
113 
118  inline int GetMaxResults() const{ return m_maxResults; }
119 
124  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
125 
130  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
131 
136  inline ListKeywordsForDataSourceRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
137 
138  private:
139 
140  SourceType m_source;
141  bool m_sourceHasBeenSet;
142 
143  Aws::String m_nextToken;
144  bool m_nextTokenHasBeenSet;
145 
146  int m_maxResults;
147  bool m_maxResultsHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace AuditManager
152 } // namespace Aws
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetSource
void SetSource(const SourceType &value)
Definition: ListKeywordsForDataSourceRequest.h:55
Aws::Http::URI
Definition: URI.h:32
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithNextToken
ListKeywordsForDataSourceRequest & WithNextToken(Aws::String &&value)
Definition: ListKeywordsForDataSourceRequest.h:106
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithSource
ListKeywordsForDataSourceRequest & WithSource(SourceType &&value)
Definition: ListKeywordsForDataSourceRequest.h:70
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: ListKeywordsForDataSourceRequest.h:50
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithSource
ListKeywordsForDataSourceRequest & WithSource(const SourceType &value)
Definition: ListKeywordsForDataSourceRequest.h:65
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListKeywordsForDataSourceRequest.h:96
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListKeywordsForDataSourceRequest.h:124
Aws::AuditManager::AuditManagerRequest
Definition: AuditManagerRequest.h:17
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::ListKeywordsForDataSourceRequest
ListKeywordsForDataSourceRequest()
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListKeywordsForDataSourceRequest.h:86
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithNextToken
ListKeywordsForDataSourceRequest & WithNextToken(const Aws::String &value)
Definition: ListKeywordsForDataSourceRequest.h:101
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithMaxResults
ListKeywordsForDataSourceRequest & WithMaxResults(int value)
Definition: ListKeywordsForDataSourceRequest.h:136
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::GetMaxResults
int GetMaxResults() const
Definition: ListKeywordsForDataSourceRequest.h:118
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::WithNextToken
ListKeywordsForDataSourceRequest & WithNextToken(const char *value)
Definition: ListKeywordsForDataSourceRequest.h:111
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListKeywordsForDataSourceRequest.h:81
SourceType.h
AWS_AUDITMANAGER_API
#define AWS_AUDITMANAGER_API
Definition: AuditManager_EXPORTS.h:28
AWSString.h
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListKeywordsForDataSourceRequest.h:91
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::GetSource
const SourceType & GetSource() const
Definition: ListKeywordsForDataSourceRequest.h:45
AuditManager_EXPORTS.h
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetSource
void SetSource(SourceType &&value)
Definition: ListKeywordsForDataSourceRequest.h:60
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListKeywordsForDataSourceRequest.h:130
AuditManagerRequest.h
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest
Definition: ListKeywordsForDataSourceRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListKeywordsForDataSourceRequest.h:35
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListKeywordsForDataSourceRequest.h:76
Aws::AuditManager::Model::ListKeywordsForDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AuditManager::Model::SourceType
SourceType
Definition: SourceType.h:17