AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceSyncConfig.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/model/RepositoryProvider.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Proton
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PROTON_API ServiceSyncConfig() = default;
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBranch() const { return m_branch; }
48 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
49 template<typename BranchT = Aws::String>
50 void SetBranch(BranchT&& value) { m_branchHasBeenSet = true; m_branch = std::forward<BranchT>(value); }
51 template<typename BranchT = Aws::String>
52 ServiceSyncConfig& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
54
56
59 inline const Aws::String& GetFilePath() const { return m_filePath; }
60 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
61 template<typename FilePathT = Aws::String>
62 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
63 template<typename FilePathT = Aws::String>
64 ServiceSyncConfig& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
66
68
72 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
73 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
74 template<typename RepositoryNameT = Aws::String>
75 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
76 template<typename RepositoryNameT = Aws::String>
77 ServiceSyncConfig& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
79
81
85 inline RepositoryProvider GetRepositoryProvider() const { return m_repositoryProvider; }
86 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
87 inline void SetRepositoryProvider(RepositoryProvider value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
90
92
95 inline const Aws::String& GetServiceName() const { return m_serviceName; }
96 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
97 template<typename ServiceNameT = Aws::String>
98 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
99 template<typename ServiceNameT = Aws::String>
100 ServiceSyncConfig& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
102 private:
103
104 Aws::String m_branch;
105 bool m_branchHasBeenSet = false;
106
107 Aws::String m_filePath;
108 bool m_filePathHasBeenSet = false;
109
110 Aws::String m_repositoryName;
111 bool m_repositoryNameHasBeenSet = false;
112
114 bool m_repositoryProviderHasBeenSet = false;
115
116 Aws::String m_serviceName;
117 bool m_serviceNameHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Proton
122} // namespace Aws
AWS_PROTON_API ServiceSyncConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilePath() const
ServiceSyncConfig & WithServiceName(ServiceNameT &&value)
AWS_PROTON_API ServiceSyncConfig()=default
void SetServiceName(ServiceNameT &&value)
ServiceSyncConfig & WithRepositoryProvider(RepositoryProvider value)
const Aws::String & GetBranch() const
RepositoryProvider GetRepositoryProvider() const
ServiceSyncConfig & WithFilePath(FilePathT &&value)
const Aws::String & GetServiceName() const
AWS_PROTON_API ServiceSyncConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryName(RepositoryNameT &&value)
void SetRepositoryProvider(RepositoryProvider value)
ServiceSyncConfig & WithBranch(BranchT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceSyncConfig & WithRepositoryName(RepositoryNameT &&value)
const Aws::String & GetRepositoryName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue