AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
59 inline ListSyncConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListSyncConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListSyncConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
69 inline const Aws::String& GetRepositoryLinkId() const{ return m_repositoryLinkId; }
70 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
71 inline void SetRepositoryLinkId(const Aws::String& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = value; }
72 inline void SetRepositoryLinkId(Aws::String&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::move(value); }
73 inline void SetRepositoryLinkId(const char* value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId.assign(value); }
75 inline ListSyncConfigurationsRequest& WithRepositoryLinkId(Aws::String&& value) { SetRepositoryLinkId(std::move(value)); return *this;}
76 inline ListSyncConfigurationsRequest& WithRepositoryLinkId(const char* value) { SetRepositoryLinkId(value); return *this;}
78
80
83 inline const SyncConfigurationType& GetSyncType() const{ return m_syncType; }
84 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
85 inline void SetSyncType(const SyncConfigurationType& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
86 inline void SetSyncType(SyncConfigurationType&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
87 inline ListSyncConfigurationsRequest& WithSyncType(const SyncConfigurationType& value) { SetSyncType(value); return *this;}
88 inline ListSyncConfigurationsRequest& WithSyncType(SyncConfigurationType&& value) { SetSyncType(std::move(value)); return *this;}
90 private:
91
92 int m_maxResults;
93 bool m_maxResultsHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 Aws::String m_repositoryLinkId;
99 bool m_repositoryLinkIdHasBeenSet = false;
100
101 SyncConfigurationType m_syncType;
102 bool m_syncTypeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CodeConnections
107} // namespace Aws
ListSyncConfigurationsRequest & WithRepositoryLinkId(Aws::String &&value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
ListSyncConfigurationsRequest & WithNextToken(const Aws::String &value)
ListSyncConfigurationsRequest & WithNextToken(const char *value)
ListSyncConfigurationsRequest & WithRepositoryLinkId(const char *value)
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListSyncConfigurationsRequest & WithRepositoryLinkId(const Aws::String &value)
ListSyncConfigurationsRequest & WithSyncType(const SyncConfigurationType &value)
ListSyncConfigurationsRequest & WithNextToken(Aws::String &&value)
ListSyncConfigurationsRequest & WithSyncType(SyncConfigurationType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String