AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFleetsRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/SortOrderType.h>
11#include <aws/codebuild/model/FleetSortByType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CodeBuild
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CODEBUILD_API ListFleetsRequest();
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 "ListFleets"; }
33
34 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
35
37
38
40
48 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
49 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
52 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
53 inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
54 inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
55 inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
57
59
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
78 inline const SortOrderType& GetSortOrder() const{ return m_sortOrder; }
79 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
80 inline void SetSortOrder(const SortOrderType& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
81 inline void SetSortOrder(SortOrderType&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
82 inline ListFleetsRequest& WithSortOrder(const SortOrderType& value) { SetSortOrder(value); return *this;}
83 inline ListFleetsRequest& WithSortOrder(SortOrderType&& value) { SetSortOrder(std::move(value)); return *this;}
85
87
96 inline const FleetSortByType& GetSortBy() const{ return m_sortBy; }
97 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
98 inline void SetSortBy(const FleetSortByType& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
99 inline void SetSortBy(FleetSortByType&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
100 inline ListFleetsRequest& WithSortBy(const FleetSortByType& value) { SetSortBy(value); return *this;}
101 inline ListFleetsRequest& WithSortBy(FleetSortByType&& value) { SetSortBy(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 SortOrderType m_sortOrder;
112 bool m_sortOrderHasBeenSet = false;
113
114 FleetSortByType m_sortBy;
115 bool m_sortByHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CodeBuild
120} // namespace Aws
const FleetSortByType & GetSortBy() const
ListFleetsRequest & WithSortOrder(SortOrderType &&value)
virtual const char * GetServiceRequestName() const override
ListFleetsRequest & WithSortBy(FleetSortByType &&value)
ListFleetsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
void SetSortBy(FleetSortByType &&value)
void SetSortBy(const FleetSortByType &value)
ListFleetsRequest & WithNextToken(const Aws::String &value)
const SortOrderType & GetSortOrder() const
ListFleetsRequest & WithNextToken(const char *value)
ListFleetsRequest & WithSortBy(const FleetSortByType &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetSortOrder(const SortOrderType &value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSortOrder(SortOrderType &&value)
ListFleetsRequest & WithSortOrder(const SortOrderType &value)
ListFleetsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String