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>
60 template<
typename ConfigFileT = Aws::String>
61 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet =
true; m_configFile = std::forward<ConfigFileT>(value); }
62 template<
typename ConfigFileT = Aws::String>
74 template<
typename RepositoryLinkIdT = Aws::String>
75 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
76 template<
typename RepositoryLinkIdT = Aws::String>
88 template<
typename ResourceNameT = Aws::String>
89 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
90 template<
typename ResourceNameT = Aws::String>
101 template<
typename RoleArnT = Aws::String>
102 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
103 template<
typename RoleArnT = Aws::String>
140 bool m_branchHasBeenSet =
false;
143 bool m_configFileHasBeenSet =
false;
146 bool m_repositoryLinkIdHasBeenSet =
false;
149 bool m_resourceNameHasBeenSet =
false;
152 bool m_roleArnHasBeenSet =
false;
155 bool m_syncTypeHasBeenSet =
false;
158 bool m_publishDeploymentStatusHasBeenSet =
false;
161 bool m_triggerResourceUpdateOnHasBeenSet =
false;
const Aws::String & GetBranch() const
const Aws::String & GetConfigFile() const
bool ConfigFileHasBeenSet() const
CreateSyncConfigurationRequest & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
virtual const char * GetServiceRequestName() const override
void SetResourceName(ResourceNameT &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
bool RepositoryLinkIdHasBeenSet() const
PublishDeploymentStatus GetPublishDeploymentStatus() const
bool BranchHasBeenSet() const
SyncConfigurationType GetSyncType() const
const Aws::String & GetRepositoryLinkId() const
CreateSyncConfigurationRequest & WithRoleArn(RoleArnT &&value)
bool SyncTypeHasBeenSet() const
CreateSyncConfigurationRequest & WithSyncType(SyncConfigurationType value)
void SetRoleArn(RoleArnT &&value)
CreateSyncConfigurationRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
const Aws::String & GetRoleArn() const
CreateSyncConfigurationRequest & WithPublishDeploymentStatus(PublishDeploymentStatus value)
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSyncConfigurationRequest & WithResourceName(ResourceNameT &&value)
void SetSyncType(SyncConfigurationType value)
bool PublishDeploymentStatusHasBeenSet() const
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
CreateSyncConfigurationRequest & WithConfigFile(ConfigFileT &&value)
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
bool ResourceNameHasBeenSet() const
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
void SetConfigFile(ConfigFileT &&value)
AWS_CODESTARCONNECTIONS_API CreateSyncConfigurationRequest()=default
bool TriggerResourceUpdateOnHasBeenSet() const
void SetBranch(BranchT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetResourceName() const
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
CreateSyncConfigurationRequest & WithBranch(BranchT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String