AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetRepositorySyncStatusRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-connections/model/SyncConfigurationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeStarconnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODESTARCONNECTIONS_API GetRepositorySyncStatusRequest() = 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 "GetRepositorySyncStatus"; }
32
33 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODESTARCONNECTIONS_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 template<typename BranchT = Aws::String>
46 void SetBranch(BranchT&& value) { m_branchHasBeenSet = true; m_branch = std::forward<BranchT>(value); }
47 template<typename BranchT = Aws::String>
48 GetRepositorySyncStatusRequest& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
50
52
55 inline const Aws::String& GetRepositoryLinkId() const { return m_repositoryLinkId; }
56 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
57 template<typename RepositoryLinkIdT = Aws::String>
58 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
59 template<typename RepositoryLinkIdT = Aws::String>
60 GetRepositorySyncStatusRequest& WithRepositoryLinkId(RepositoryLinkIdT&& value) { SetRepositoryLinkId(std::forward<RepositoryLinkIdT>(value)); return *this;}
62
64
67 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
68 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
69 inline void SetSyncType(SyncConfigurationType value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
72 private:
73
74 Aws::String m_branch;
75 bool m_branchHasBeenSet = false;
76
77 Aws::String m_repositoryLinkId;
78 bool m_repositoryLinkIdHasBeenSet = false;
79
81 bool m_syncTypeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CodeStarconnections
86} // namespace Aws
GetRepositorySyncStatusRequest & WithSyncType(SyncConfigurationType value)
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
AWS_CODESTARCONNECTIONS_API GetRepositorySyncStatusRequest()=default
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRepositorySyncStatusRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String