AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
45 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
46 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
47 inline CreateServiceSyncConfigRequest& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
48 inline CreateServiceSyncConfigRequest& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
49 inline CreateServiceSyncConfigRequest& WithBranch(const char* value) { SetBranch(value); return *this;}
51
53
56 inline const Aws::String& GetFilePath() const{ return m_filePath; }
57 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
58 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
59 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
60 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
61 inline CreateServiceSyncConfigRequest& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
62 inline CreateServiceSyncConfigRequest& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
63 inline CreateServiceSyncConfigRequest& WithFilePath(const char* value) { SetFilePath(value); return *this;}
65
67
70 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
71 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
72 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
73 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
74 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
76 inline CreateServiceSyncConfigRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
77 inline CreateServiceSyncConfigRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
79
81
84 inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; }
85 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
86 inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
87 inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); }
91
93
96 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
97 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
98 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
99 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
100 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
101 inline CreateServiceSyncConfigRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
102 inline CreateServiceSyncConfigRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
103 inline CreateServiceSyncConfigRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
105 private:
106
107 Aws::String m_branch;
108 bool m_branchHasBeenSet = false;
109
110 Aws::String m_filePath;
111 bool m_filePathHasBeenSet = false;
112
113 Aws::String m_repositoryName;
114 bool m_repositoryNameHasBeenSet = false;
115
116 RepositoryProvider m_repositoryProvider;
117 bool m_repositoryProviderHasBeenSet = false;
118
119 Aws::String m_serviceName;
120 bool m_serviceNameHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Proton
125} // namespace Aws
CreateServiceSyncConfigRequest & WithFilePath(Aws::String &&value)
CreateServiceSyncConfigRequest & WithRepositoryName(const Aws::String &value)
CreateServiceSyncConfigRequest & WithFilePath(const char *value)
CreateServiceSyncConfigRequest & WithRepositoryProvider(const RepositoryProvider &value)
CreateServiceSyncConfigRequest & WithServiceName(const char *value)
CreateServiceSyncConfigRequest & WithBranch(Aws::String &&value)
CreateServiceSyncConfigRequest & WithServiceName(const Aws::String &value)
CreateServiceSyncConfigRequest & WithRepositoryProvider(RepositoryProvider &&value)
CreateServiceSyncConfigRequest & WithServiceName(Aws::String &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateServiceSyncConfigRequest & WithRepositoryName(Aws::String &&value)
CreateServiceSyncConfigRequest & WithBranch(const char *value)
CreateServiceSyncConfigRequest & WithFilePath(const Aws::String &value)
CreateServiceSyncConfigRequest & WithRepositoryName(const char *value)
CreateServiceSyncConfigRequest & WithBranch(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String