7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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>
17namespace CodeStarconnections
46 template<
typename BranchT = Aws::String>
47 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
48 template<
typename BranchT = Aws::String>
58 template<
typename ConfigFileT = Aws::String>
59 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet =
true; m_configFile = std::forward<ConfigFileT>(value); }
60 template<
typename ConfigFileT = Aws::String>
70 template<
typename RepositoryLinkIdT = Aws::String>
71 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
72 template<
typename RepositoryLinkIdT = Aws::String>
83 template<
typename ResourceNameT = Aws::String>
84 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
85 template<
typename ResourceNameT = Aws::String>
95 template<
typename RoleArnT = Aws::String>
96 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
97 template<
typename RoleArnT = Aws::String>
134 bool m_branchHasBeenSet =
false;
137 bool m_configFileHasBeenSet =
false;
140 bool m_repositoryLinkIdHasBeenSet =
false;
143 bool m_resourceNameHasBeenSet =
false;
146 bool m_roleArnHasBeenSet =
false;
149 bool m_syncTypeHasBeenSet =
false;
152 bool m_publishDeploymentStatusHasBeenSet =
false;
155 bool m_triggerResourceUpdateOnHasBeenSet =
false;
bool PublishDeploymentStatusHasBeenSet() const
UpdateSyncConfigurationRequest & WithPublishDeploymentStatus(PublishDeploymentStatus value)
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
UpdateSyncConfigurationRequest & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
void SetBranch(BranchT &&value)
UpdateSyncConfigurationRequest & WithBranch(BranchT &&value)
const Aws::String & GetRepositoryLinkId() const
UpdateSyncConfigurationRequest & WithResourceName(ResourceNameT &&value)
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
const Aws::String & GetResourceName() const
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSyncConfigurationRequest & WithRoleArn(RoleArnT &&value)
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
const Aws::String & GetConfigFile() const
SyncConfigurationType GetSyncType() const
AWS_CODESTARCONNECTIONS_API UpdateSyncConfigurationRequest()=default
bool RepositoryLinkIdHasBeenSet() const
bool ResourceNameHasBeenSet() const
bool TriggerResourceUpdateOnHasBeenSet() const
UpdateSyncConfigurationRequest & WithSyncType(SyncConfigurationType value)
bool SyncTypeHasBeenSet() const
void SetResourceName(ResourceNameT &&value)
void SetSyncType(SyncConfigurationType value)
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetBranch() const
bool BranchHasBeenSet() const
PublishDeploymentStatus GetPublishDeploymentStatus() const
bool ConfigFileHasBeenSet() const
UpdateSyncConfigurationRequest & WithConfigFile(ConfigFileT &&value)
void SetConfigFile(ConfigFileT &&value)
UpdateSyncConfigurationRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleArn() const
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String