AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRepositoriesRequest.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/SortByEnum.h>
11#include <aws/codecommit/model/OrderEnum.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CodeCommit
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_CODECOMMIT_API ListRepositoriesRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListRepositories"; }
37
38 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
39
41
42
44
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
55 inline ListRepositoriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
56 inline ListRepositoriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 inline ListRepositoriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
64 inline const SortByEnum& GetSortBy() const{ return m_sortBy; }
65 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
66 inline void SetSortBy(const SortByEnum& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
67 inline void SetSortBy(SortByEnum&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
68 inline ListRepositoriesRequest& WithSortBy(const SortByEnum& value) { SetSortBy(value); return *this;}
69 inline ListRepositoriesRequest& WithSortBy(SortByEnum&& value) { SetSortBy(std::move(value)); return *this;}
71
73
76 inline const OrderEnum& GetOrder() const{ return m_order; }
77 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
78 inline void SetOrder(const OrderEnum& value) { m_orderHasBeenSet = true; m_order = value; }
79 inline void SetOrder(OrderEnum&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
80 inline ListRepositoriesRequest& WithOrder(const OrderEnum& value) { SetOrder(value); return *this;}
81 inline ListRepositoriesRequest& WithOrder(OrderEnum&& value) { SetOrder(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 SortByEnum m_sortBy;
89 bool m_sortByHasBeenSet = false;
90
91 OrderEnum m_order;
92 bool m_orderHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodeCommit
97} // namespace Aws
ListRepositoriesRequest & WithOrder(OrderEnum &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ListRepositoriesRequest & WithNextToken(const Aws::String &value)
ListRepositoriesRequest & WithSortBy(const SortByEnum &value)
ListRepositoriesRequest & WithNextToken(Aws::String &&value)
ListRepositoriesRequest & WithOrder(const OrderEnum &value)
ListRepositoriesRequest & WithSortBy(SortByEnum &&value)
ListRepositoriesRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String