AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListSyncConfigurationsRequest.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/CodeConnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeconnections/model/SyncConfigurationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeConnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECONNECTIONS_API ListSyncConfigurationsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListSyncConfigurations"; }
32
33 AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline int GetMaxResults() const { return m_maxResults; }
44 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
45 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
46 inline ListSyncConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
48
50
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 ListSyncConfigurationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
67 inline const Aws::String& GetRepositoryLinkId() const { return m_repositoryLinkId; }
68 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
69 template<typename RepositoryLinkIdT = Aws::String>
70 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
71 template<typename RepositoryLinkIdT = Aws::String>
72 ListSyncConfigurationsRequest& WithRepositoryLinkId(RepositoryLinkIdT&& value) { SetRepositoryLinkId(std::forward<RepositoryLinkIdT>(value)); return *this;}
74
76
79 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
80 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
81 inline void SetSyncType(SyncConfigurationType value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
84 private:
85
86 int m_maxResults{0};
87 bool m_maxResultsHasBeenSet = false;
88
89 Aws::String m_nextToken;
90 bool m_nextTokenHasBeenSet = false;
91
92 Aws::String m_repositoryLinkId;
93 bool m_repositoryLinkIdHasBeenSet = false;
94
96 bool m_syncTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CodeConnections
101} // namespace Aws
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
AWS_CODECONNECTIONS_API ListSyncConfigurationsRequest()=default
ListSyncConfigurationsRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListSyncConfigurationsRequest & WithNextToken(NextTokenT &&value)
ListSyncConfigurationsRequest & WithSyncType(SyncConfigurationType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String