AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 UpdateServiceSyncConfigRequest& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
49 inline UpdateServiceSyncConfigRequest& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
50 inline UpdateServiceSyncConfigRequest& WithBranch(const char* value) { SetBranch(value); return *this;}
52
54
57 inline const Aws::String& GetFilePath() const{ return m_filePath; }
58 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
59 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
60 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
61 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
62 inline UpdateServiceSyncConfigRequest& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
63 inline UpdateServiceSyncConfigRequest& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
64 inline UpdateServiceSyncConfigRequest& WithFilePath(const char* value) { SetFilePath(value); return *this;}
66
68
71 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
72 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
73 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
74 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
75 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
77 inline UpdateServiceSyncConfigRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
78 inline UpdateServiceSyncConfigRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
80
82
85 inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; }
86 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
87 inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
88 inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); }
92
94
97 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
98 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
99 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
100 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
101 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
102 inline UpdateServiceSyncConfigRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
103 inline UpdateServiceSyncConfigRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
104 inline UpdateServiceSyncConfigRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
106 private:
107
108 Aws::String m_branch;
109 bool m_branchHasBeenSet = false;
110
111 Aws::String m_filePath;
112 bool m_filePathHasBeenSet = false;
113
114 Aws::String m_repositoryName;
115 bool m_repositoryNameHasBeenSet = false;
116
117 RepositoryProvider m_repositoryProvider;
118 bool m_repositoryProviderHasBeenSet = false;
119
120 Aws::String m_serviceName;
121 bool m_serviceNameHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Proton
126} // namespace Aws
UpdateServiceSyncConfigRequest & WithRepositoryName(const char *value)
UpdateServiceSyncConfigRequest & WithFilePath(Aws::String &&value)
UpdateServiceSyncConfigRequest & WithRepositoryName(const Aws::String &value)
UpdateServiceSyncConfigRequest & WithBranch(const char *value)
UpdateServiceSyncConfigRequest & WithFilePath(const Aws::String &value)
UpdateServiceSyncConfigRequest & WithServiceName(const Aws::String &value)
UpdateServiceSyncConfigRequest & WithRepositoryProvider(RepositoryProvider &&value)
UpdateServiceSyncConfigRequest & WithFilePath(const char *value)
UpdateServiceSyncConfigRequest & WithServiceName(Aws::String &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateServiceSyncConfigRequest & WithServiceName(const char *value)
UpdateServiceSyncConfigRequest & WithRepositoryProvider(const RepositoryProvider &value)
UpdateServiceSyncConfigRequest & WithBranch(Aws::String &&value)
UpdateServiceSyncConfigRequest & WithBranch(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceSyncConfigRequest & WithRepositoryName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String