AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateServiceSyncConfigRequest.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 <utility>
12
13namespace Aws
14{
15namespace Proton
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PROTON_API UpdateServiceSyncConfigRequest() = 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 "UpdateServiceSyncConfig"; }
32
33 AWS_PROTON_API Aws::String SerializePayload() const override;
34
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 UpdateServiceSyncConfigRequest& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
50
52
55 inline const Aws::String& GetFilePath() const { return m_filePath; }
56 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
57 template<typename FilePathT = Aws::String>
58 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
59 template<typename FilePathT = Aws::String>
60 UpdateServiceSyncConfigRequest& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
62
64
67 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
68 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
69 template<typename RepositoryNameT = Aws::String>
70 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
71 template<typename RepositoryNameT = Aws::String>
72 UpdateServiceSyncConfigRequest& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
74
76
79 inline RepositoryProvider GetRepositoryProvider() const { return m_repositoryProvider; }
80 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
81 inline void SetRepositoryProvider(RepositoryProvider value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
84
86
89 inline const Aws::String& GetServiceName() const { return m_serviceName; }
90 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
91 template<typename ServiceNameT = Aws::String>
92 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
93 template<typename ServiceNameT = Aws::String>
94 UpdateServiceSyncConfigRequest& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
96 private:
97
98 Aws::String m_branch;
99 bool m_branchHasBeenSet = false;
100
101 Aws::String m_filePath;
102 bool m_filePathHasBeenSet = false;
103
104 Aws::String m_repositoryName;
105 bool m_repositoryNameHasBeenSet = false;
106
108 bool m_repositoryProviderHasBeenSet = false;
109
110 Aws::String m_serviceName;
111 bool m_serviceNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Proton
116} // namespace Aws
UpdateServiceSyncConfigRequest & WithFilePath(FilePathT &&value)
UpdateServiceSyncConfigRequest & WithRepositoryProvider(RepositoryProvider value)
AWS_PROTON_API UpdateServiceSyncConfigRequest()=default
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateServiceSyncConfigRequest & WithRepositoryName(RepositoryNameT &&value)
UpdateServiceSyncConfigRequest & WithServiceName(ServiceNameT &&value)
UpdateServiceSyncConfigRequest & WithBranch(BranchT &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String