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/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/RepositoryProvider.h>
11#include <aws/proton/model/SyncType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Proton
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetRepositorySyncStatus"; }
33
34 AWS_PROTON_API Aws::String SerializePayload() const override;
35
37
38
40
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& GetRepositoryName() const{ return m_repositoryName; }
58 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
59 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
60 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
61 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
63 inline GetRepositorySyncStatusRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
64 inline GetRepositorySyncStatusRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
66
68
71 inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; }
72 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
73 inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
74 inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); }
78
80
83 inline const SyncType& GetSyncType() const{ return m_syncType; }
84 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
85 inline void SetSyncType(const SyncType& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
86 inline void SetSyncType(SyncType&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
87 inline GetRepositorySyncStatusRequest& WithSyncType(const SyncType& value) { SetSyncType(value); return *this;}
88 inline GetRepositorySyncStatusRequest& WithSyncType(SyncType&& value) { SetSyncType(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_branch;
93 bool m_branchHasBeenSet = false;
94
95 Aws::String m_repositoryName;
96 bool m_repositoryNameHasBeenSet = false;
97
98 RepositoryProvider m_repositoryProvider;
99 bool m_repositoryProviderHasBeenSet = false;
100
101 SyncType m_syncType;
102 bool m_syncTypeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Proton
107} // namespace Aws
GetRepositorySyncStatusRequest & WithBranch(Aws::String &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRepositorySyncStatusRequest & WithSyncType(SyncType &&value)
GetRepositorySyncStatusRequest & WithSyncType(const SyncType &value)
GetRepositorySyncStatusRequest & WithRepositoryName(const char *value)
GetRepositorySyncStatusRequest & WithRepositoryProvider(const RepositoryProvider &value)
GetRepositorySyncStatusRequest & WithBranch(const char *value)
GetRepositorySyncStatusRequest & WithBranch(const Aws::String &value)
AWS_PROTON_API Aws::String SerializePayload() const override
GetRepositorySyncStatusRequest & WithRepositoryProvider(RepositoryProvider &&value)
GetRepositorySyncStatusRequest & WithRepositoryName(Aws::String &&value)
GetRepositorySyncStatusRequest & WithRepositoryName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String