AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateServiceSyncConfigRequest.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 CreateServiceSyncConfigRequest() = 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 "CreateServiceSyncConfig"; }
32
33 AWS_PROTON_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetBranch() const { return m_branch; }
43 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
44 template<typename BranchT = Aws::String>
45 void SetBranch(BranchT&& value) { m_branchHasBeenSet = true; m_branch = std::forward<BranchT>(value); }
46 template<typename BranchT = Aws::String>
47 CreateServiceSyncConfigRequest& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
49
51
54 inline const Aws::String& GetFilePath() const { return m_filePath; }
55 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
56 template<typename FilePathT = Aws::String>
57 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
58 template<typename FilePathT = Aws::String>
59 CreateServiceSyncConfigRequest& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
61
63
66 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
67 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
68 template<typename RepositoryNameT = Aws::String>
69 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
70 template<typename RepositoryNameT = Aws::String>
71 CreateServiceSyncConfigRequest& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
73
75
78 inline RepositoryProvider GetRepositoryProvider() const { return m_repositoryProvider; }
79 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
80 inline void SetRepositoryProvider(RepositoryProvider value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
83
85
88 inline const Aws::String& GetServiceName() const { return m_serviceName; }
89 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
90 template<typename ServiceNameT = Aws::String>
91 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
92 template<typename ServiceNameT = Aws::String>
93 CreateServiceSyncConfigRequest& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
95 private:
96
97 Aws::String m_branch;
98 bool m_branchHasBeenSet = false;
99
100 Aws::String m_filePath;
101 bool m_filePathHasBeenSet = false;
102
103 Aws::String m_repositoryName;
104 bool m_repositoryNameHasBeenSet = false;
105
107 bool m_repositoryProviderHasBeenSet = false;
108
109 Aws::String m_serviceName;
110 bool m_serviceNameHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Proton
115} // namespace Aws
CreateServiceSyncConfigRequest & WithFilePath(FilePathT &&value)
AWS_PROTON_API CreateServiceSyncConfigRequest()=default
CreateServiceSyncConfigRequest & WithServiceName(ServiceNameT &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
CreateServiceSyncConfigRequest & WithBranch(BranchT &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateServiceSyncConfigRequest & WithRepositoryProvider(RepositoryProvider value)
CreateServiceSyncConfigRequest & WithRepositoryName(RepositoryNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String