AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
50 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
51 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
52 inline ServiceSyncConfig& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
53 inline ServiceSyncConfig& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
54 inline ServiceSyncConfig& WithBranch(const char* value) { SetBranch(value); return *this;}
56
58
61 inline const Aws::String& GetFilePath() const{ return m_filePath; }
62 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
63 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
64 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
65 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
66 inline ServiceSyncConfig& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
67 inline ServiceSyncConfig& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
68 inline ServiceSyncConfig& WithFilePath(const char* value) { SetFilePath(value); return *this;}
70
72
76 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
77 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
78 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
79 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
80 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
81 inline ServiceSyncConfig& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
82 inline ServiceSyncConfig& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
83 inline ServiceSyncConfig& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
85
87
91 inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; }
92 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
93 inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
94 inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); }
96 inline ServiceSyncConfig& WithRepositoryProvider(RepositoryProvider&& value) { SetRepositoryProvider(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
104 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
105 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
106 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
107 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
108 inline ServiceSyncConfig& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
109 inline ServiceSyncConfig& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
110 inline ServiceSyncConfig& WithServiceName(const char* value) { SetServiceName(value); return *this;}
112 private:
113
114 Aws::String m_branch;
115 bool m_branchHasBeenSet = false;
116
117 Aws::String m_filePath;
118 bool m_filePathHasBeenSet = false;
119
120 Aws::String m_repositoryName;
121 bool m_repositoryNameHasBeenSet = false;
122
123 RepositoryProvider m_repositoryProvider;
124 bool m_repositoryProviderHasBeenSet = false;
125
126 Aws::String m_serviceName;
127 bool m_serviceNameHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Proton
132} // namespace Aws
AWS_PROTON_API ServiceSyncConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSyncConfig & WithRepositoryProvider(const RepositoryProvider &value)
void SetRepositoryName(const char *value)
ServiceSyncConfig & WithBranch(const char *value)
void SetFilePath(const Aws::String &value)
void SetServiceName(const Aws::String &value)
void SetServiceName(Aws::String &&value)
ServiceSyncConfig & WithBranch(const Aws::String &value)
const Aws::String & GetFilePath() const
ServiceSyncConfig & WithServiceName(const char *value)
void SetRepositoryProvider(const RepositoryProvider &value)
const Aws::String & GetBranch() const
void SetBranch(const Aws::String &value)
ServiceSyncConfig & WithRepositoryName(Aws::String &&value)
ServiceSyncConfig & WithRepositoryProvider(RepositoryProvider &&value)
const Aws::String & GetServiceName() const
void SetFilePath(Aws::String &&value)
void SetRepositoryName(const Aws::String &value)
ServiceSyncConfig & WithRepositoryName(const Aws::String &value)
const RepositoryProvider & GetRepositoryProvider() const
AWS_PROTON_API ServiceSyncConfig(Aws::Utils::Json::JsonView jsonValue)
ServiceSyncConfig & WithFilePath(Aws::String &&value)
ServiceSyncConfig & WithFilePath(const Aws::String &value)
ServiceSyncConfig & WithRepositoryName(const char *value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRepositoryProvider(RepositoryProvider &&value)
ServiceSyncConfig & WithServiceName(const Aws::String &value)
const Aws::String & GetRepositoryName() const
ServiceSyncConfig & WithServiceName(Aws::String &&value)
void SetRepositoryName(Aws::String &&value)
ServiceSyncConfig & WithFilePath(const char *value)
ServiceSyncConfig & WithBranch(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue