AWS SDK for C++  1.9.40
AWS SDK for C++
ListResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace LakeFormation
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListResources"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::Vector<FilterCondition>& GetFilterConditionList() const{ return m_filterConditionList; }
44 
49  inline bool FilterConditionListHasBeenSet() const { return m_filterConditionListHasBeenSet; }
50 
55  inline void SetFilterConditionList(const Aws::Vector<FilterCondition>& value) { m_filterConditionListHasBeenSet = true; m_filterConditionList = value; }
56 
61  inline void SetFilterConditionList(Aws::Vector<FilterCondition>&& value) { m_filterConditionListHasBeenSet = true; m_filterConditionList = std::move(value); }
62 
67  inline ListResourcesRequest& WithFilterConditionList(const Aws::Vector<FilterCondition>& value) { SetFilterConditionList(value); return *this;}
68 
73  inline ListResourcesRequest& WithFilterConditionList(Aws::Vector<FilterCondition>&& value) { SetFilterConditionList(std::move(value)); return *this;}
74 
79  inline ListResourcesRequest& AddFilterConditionList(const FilterCondition& value) { m_filterConditionListHasBeenSet = true; m_filterConditionList.push_back(value); return *this; }
80 
85  inline ListResourcesRequest& AddFilterConditionList(FilterCondition&& value) { m_filterConditionListHasBeenSet = true; m_filterConditionList.push_back(std::move(value)); return *this; }
86 
87 
91  inline int GetMaxResults() const{ return m_maxResults; }
92 
96  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 
101  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 
106  inline ListResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 
108 
113  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 
119  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 
125  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 
131  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
132 
137  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
138 
143  inline ListResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
149  inline ListResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
150 
155  inline ListResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
156 
157  private:
158 
159  Aws::Vector<FilterCondition> m_filterConditionList;
160  bool m_filterConditionListHasBeenSet;
161 
162  int m_maxResults;
163  bool m_maxResultsHasBeenSet;
164 
165  Aws::String m_nextToken;
166  bool m_nextTokenHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace LakeFormation
171 } // namespace Aws
Aws::LakeFormation::LakeFormationRequest
Definition: LakeFormationRequest.h:17
Aws::LakeFormation::Model::ListResourcesRequest
Definition: ListResourcesRequest.h:24
Aws::LakeFormation::Model::ListResourcesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResourcesRequest.h:131
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::LakeFormation::Model::FilterCondition
Definition: FilterCondition.h:36
Aws::LakeFormation::Model::ListResourcesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListResourcesRequest.h:101
Aws::LakeFormation::Model::ListResourcesRequest::FilterConditionListHasBeenSet
bool FilterConditionListHasBeenSet() const
Definition: ListResourcesRequest.h:49
Aws::LakeFormation::Model::ListResourcesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResourcesRequest.h:113
Aws::LakeFormation::Model::ListResourcesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListResourcesRequest.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LakeFormation::Model::ListResourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LakeFormation::Model::ListResourcesRequest::WithMaxResults
ListResourcesRequest & WithMaxResults(int value)
Definition: ListResourcesRequest.h:106
AWSVector.h
Aws::LakeFormation::Model::ListResourcesRequest::WithNextToken
ListResourcesRequest & WithNextToken(Aws::String &&value)
Definition: ListResourcesRequest.h:149
Aws::LakeFormation::Model::ListResourcesRequest::WithNextToken
ListResourcesRequest & WithNextToken(const Aws::String &value)
Definition: ListResourcesRequest.h:143
Aws::LakeFormation::Model::ListResourcesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::LakeFormation::Model::ListResourcesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListResourcesRequest.h:119
LakeFormation_EXPORTS.h
Aws::LakeFormation::Model::ListResourcesRequest::SetFilterConditionList
void SetFilterConditionList(Aws::Vector< FilterCondition > &&value)
Definition: ListResourcesRequest.h:61
Aws::LakeFormation::Model::ListResourcesRequest::SetFilterConditionList
void SetFilterConditionList(const Aws::Vector< FilterCondition > &value)
Definition: ListResourcesRequest.h:55
Aws::LakeFormation::Model::ListResourcesRequest::AddFilterConditionList
ListResourcesRequest & AddFilterConditionList(const FilterCondition &value)
Definition: ListResourcesRequest.h:79
AWSString.h
Aws::LakeFormation::Model::ListResourcesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResourcesRequest.h:125
FilterCondition.h
Aws::LakeFormation::Model::ListResourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResourcesRequest.h:32
Aws::LakeFormation::Model::ListResourcesRequest::WithNextToken
ListResourcesRequest & WithNextToken(const char *value)
Definition: ListResourcesRequest.h:155
AWS_LAKEFORMATION_API
#define AWS_LAKEFORMATION_API
Definition: LakeFormation_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::LakeFormation::Model::ListResourcesRequest::GetFilterConditionList
const Aws::Vector< FilterCondition > & GetFilterConditionList() const
Definition: ListResourcesRequest.h:43
Aws::LakeFormation::Model::ListResourcesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListResourcesRequest.h:96
Aws::LakeFormation::Model::ListResourcesRequest::WithFilterConditionList
ListResourcesRequest & WithFilterConditionList(Aws::Vector< FilterCondition > &&value)
Definition: ListResourcesRequest.h:73
Aws::LakeFormation::Model::ListResourcesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListResourcesRequest.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LakeFormation::Model::ListResourcesRequest::AddFilterConditionList
ListResourcesRequest & AddFilterConditionList(FilterCondition &&value)
Definition: ListResourcesRequest.h:85
Aws::LakeFormation::Model::ListResourcesRequest::ListResourcesRequest
ListResourcesRequest()
LakeFormationRequest.h
Aws::LakeFormation::Model::ListResourcesRequest::WithFilterConditionList
ListResourcesRequest & WithFilterConditionList(const Aws::Vector< FilterCondition > &value)
Definition: ListResourcesRequest.h:67