AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRepositorySyncStatusRequest.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 GetRepositorySyncStatusRequest();
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 "GetRepositorySyncStatus"; }
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 const Aws::String& GetBranch() const{ return m_branch; }
44 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
45 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
46 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
47 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
48 inline GetRepositorySyncStatusRequest& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
49 inline GetRepositorySyncStatusRequest& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
50 inline GetRepositorySyncStatusRequest& WithBranch(const char* value) { SetBranch(value); return *this;}
52
54
57 inline const Aws::String& GetRepositoryLinkId() const{ return m_repositoryLinkId; }
58 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
59 inline void SetRepositoryLinkId(const Aws::String& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = value; }
60 inline void SetRepositoryLinkId(Aws::String&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::move(value); }
61 inline void SetRepositoryLinkId(const char* value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId.assign(value); }
63 inline GetRepositorySyncStatusRequest& WithRepositoryLinkId(Aws::String&& value) { SetRepositoryLinkId(std::move(value)); return *this;}
64 inline GetRepositorySyncStatusRequest& WithRepositoryLinkId(const char* value) { SetRepositoryLinkId(value); return *this;}
66
68
71 inline const SyncConfigurationType& GetSyncType() const{ return m_syncType; }
72 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
73 inline void SetSyncType(const SyncConfigurationType& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
74 inline void SetSyncType(SyncConfigurationType&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
76 inline GetRepositorySyncStatusRequest& WithSyncType(SyncConfigurationType&& value) { SetSyncType(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_branch;
81 bool m_branchHasBeenSet = false;
82
83 Aws::String m_repositoryLinkId;
84 bool m_repositoryLinkIdHasBeenSet = false;
85
86 SyncConfigurationType m_syncType;
87 bool m_syncTypeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CodeConnections
92} // namespace Aws
GetRepositorySyncStatusRequest & WithBranch(const Aws::String &value)
GetRepositorySyncStatusRequest & WithBranch(const char *value)
GetRepositorySyncStatusRequest & WithSyncType(const SyncConfigurationType &value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
GetRepositorySyncStatusRequest & WithRepositoryLinkId(const Aws::String &value)
GetRepositorySyncStatusRequest & WithRepositoryLinkId(Aws::String &&value)
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRepositorySyncStatusRequest & WithBranch(Aws::String &&value)
GetRepositorySyncStatusRequest & WithRepositoryLinkId(const char *value)
GetRepositorySyncStatusRequest & WithSyncType(SyncConfigurationType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String