7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/ProviderType.h>
9#include <aws/codestar-connections/model/PublishDeploymentStatus.h>
10#include <aws/codestar-connections/model/SyncConfigurationType.h>
11#include <aws/codestar-connections/model/TriggerResourceUpdateOn.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace CodeStarconnections {
45 template <
typename BranchT = Aws::String>
47 m_branchHasBeenSet =
true;
48 m_branch = std::forward<BranchT>(value);
50 template <
typename BranchT = Aws::String>
65 template <
typename ConfigFileT = Aws::String>
67 m_configFileHasBeenSet =
true;
68 m_configFile = std::forward<ConfigFileT>(value);
70 template <
typename ConfigFileT = Aws::String>
84 template <
typename OwnerIdT = Aws::String>
86 m_ownerIdHasBeenSet =
true;
87 m_ownerId = std::forward<OwnerIdT>(value);
89 template <
typename OwnerIdT = Aws::String>
104 m_providerTypeHasBeenSet =
true;
105 m_providerType = value;
120 template <
typename RepositoryLinkIdT = Aws::String>
122 m_repositoryLinkIdHasBeenSet =
true;
123 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
125 template <
typename RepositoryLinkIdT = Aws::String>
138 template <
typename RepositoryNameT = Aws::String>
140 m_repositoryNameHasBeenSet =
true;
141 m_repositoryName = std::forward<RepositoryNameT>(value);
143 template <
typename RepositoryNameT = Aws::String>
157 template <
typename ResourceNameT = Aws::String>
159 m_resourceNameHasBeenSet =
true;
160 m_resourceName = std::forward<ResourceNameT>(value);
162 template <
typename ResourceNameT = Aws::String>
176 template <
typename RoleArnT = Aws::String>
178 m_roleArnHasBeenSet =
true;
179 m_roleArn = std::forward<RoleArnT>(value);
181 template <
typename RoleArnT = Aws::String>
195 m_syncTypeHasBeenSet =
true;
212 m_publishDeploymentStatusHasBeenSet =
true;
213 m_publishDeploymentStatus = value;
228 m_triggerResourceUpdateOnHasBeenSet =
true;
229 m_triggerResourceUpdateOn = value;
258 bool m_branchHasBeenSet =
false;
259 bool m_configFileHasBeenSet =
false;
260 bool m_ownerIdHasBeenSet =
false;
261 bool m_providerTypeHasBeenSet =
false;
262 bool m_repositoryLinkIdHasBeenSet =
false;
263 bool m_repositoryNameHasBeenSet =
false;
264 bool m_resourceNameHasBeenSet =
false;
265 bool m_roleArnHasBeenSet =
false;
266 bool m_syncTypeHasBeenSet =
false;
267 bool m_publishDeploymentStatusHasBeenSet =
false;
268 bool m_triggerResourceUpdateOnHasBeenSet =
false;
AWS_CODESTARCONNECTIONS_API SyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceName() const
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
bool RepositoryLinkIdHasBeenSet() const
bool ProviderTypeHasBeenSet() const
SyncConfiguration & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
const Aws::String & GetRepositoryLinkId() const
void SetRoleArn(RoleArnT &&value)
void SetSyncType(SyncConfigurationType value)
const Aws::String & GetConfigFile() const
SyncConfiguration & WithResourceName(ResourceNameT &&value)
bool ConfigFileHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
void SetConfigFile(ConfigFileT &&value)
bool RepositoryNameHasBeenSet() const
bool ResourceNameHasBeenSet() const
void SetProviderType(ProviderType value)
SyncConfiguration & WithRepositoryLinkId(RepositoryLinkIdT &&value)
PublishDeploymentStatus GetPublishDeploymentStatus() const
const Aws::String & GetOwnerId() const
SyncConfiguration & WithProviderType(ProviderType value)
SyncConfiguration & WithConfigFile(ConfigFileT &&value)
AWS_CODESTARCONNECTIONS_API SyncConfiguration()=default
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
SyncConfiguration & WithRoleArn(RoleArnT &&value)
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
const Aws::String & GetRepositoryName() const
SyncConfiguration & WithRepositoryName(RepositoryNameT &&value)
SyncConfiguration & WithOwnerId(OwnerIdT &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRepositoryName(RepositoryNameT &&value)
void SetResourceName(ResourceNameT &&value)
const Aws::String & GetRoleArn() const
SyncConfiguration & WithSyncType(SyncConfigurationType value)
SyncConfiguration & WithPublishDeploymentStatus(PublishDeploymentStatus value)
bool SyncTypeHasBeenSet() const
SyncConfiguration & WithBranch(BranchT &&value)
bool TriggerResourceUpdateOnHasBeenSet() const
const Aws::String & GetBranch() const
bool PublishDeploymentStatusHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool RoleArnHasBeenSet() const
void SetBranch(BranchT &&value)
bool BranchHasBeenSet() const
AWS_CODESTARCONNECTIONS_API SyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SyncConfigurationType GetSyncType() const
ProviderType GetProviderType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue