7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/codestar-connections/model/SyncConfigurationType.h>
11#include <aws/codestar-connections/model/PublishDeploymentStatus.h>
12#include <aws/codestar-connections/model/TriggerResourceUpdateOn.h>
25namespace CodeStarconnections
51 template<
typename BranchT = Aws::String>
52 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
53 template<
typename BranchT = Aws::String>
65 template<
typename ConfigFileT = Aws::String>
66 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet =
true; m_configFile = std::forward<ConfigFileT>(value); }
67 template<
typename ConfigFileT = Aws::String>
78 template<
typename OwnerIdT = Aws::String>
79 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
80 template<
typename OwnerIdT = Aws::String>
102 template<
typename RepositoryLinkIdT = Aws::String>
103 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
104 template<
typename RepositoryLinkIdT = Aws::String>
114 template<
typename RepositoryNameT = Aws::String>
115 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
116 template<
typename RepositoryNameT = Aws::String>
127 template<
typename ResourceNameT = Aws::String>
128 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
129 template<
typename ResourceNameT = Aws::String>
140 template<
typename RoleArnT = Aws::String>
141 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
142 template<
typename RoleArnT = Aws::String>
179 bool m_branchHasBeenSet =
false;
182 bool m_configFileHasBeenSet =
false;
185 bool m_ownerIdHasBeenSet =
false;
188 bool m_providerTypeHasBeenSet =
false;
191 bool m_repositoryLinkIdHasBeenSet =
false;
194 bool m_repositoryNameHasBeenSet =
false;
197 bool m_resourceNameHasBeenSet =
false;
200 bool m_roleArnHasBeenSet =
false;
203 bool m_syncTypeHasBeenSet =
false;
206 bool m_publishDeploymentStatusHasBeenSet =
false;
209 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