7#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
8#include <aws/codestar-connections/CodeStarconnections_EXPORTS.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>
17namespace CodeStarconnections {
42 template <
typename BranchT = Aws::String>
44 m_branchHasBeenSet =
true;
45 m_branch = std::forward<BranchT>(value);
47 template <
typename BranchT = Aws::String>
62 template <
typename ConfigFileT = Aws::String>
64 m_configFileHasBeenSet =
true;
65 m_configFile = std::forward<ConfigFileT>(value);
67 template <
typename ConfigFileT = Aws::String>
82 template <
typename RepositoryLinkIdT = Aws::String>
84 m_repositoryLinkIdHasBeenSet =
true;
85 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
87 template <
typename RepositoryLinkIdT = Aws::String>
102 template <
typename ResourceNameT = Aws::String>
104 m_resourceNameHasBeenSet =
true;
105 m_resourceName = std::forward<ResourceNameT>(value);
107 template <
typename ResourceNameT = Aws::String>
121 template <
typename RoleArnT = Aws::String>
123 m_roleArnHasBeenSet =
true;
124 m_roleArn = std::forward<RoleArnT>(value);
126 template <
typename RoleArnT = Aws::String>
140 m_syncTypeHasBeenSet =
true;
157 m_publishDeploymentStatusHasBeenSet =
true;
158 m_publishDeploymentStatus = value;
173 m_triggerResourceUpdateOnHasBeenSet =
true;
174 m_triggerResourceUpdateOn = value;
197 bool m_branchHasBeenSet =
false;
198 bool m_configFileHasBeenSet =
false;
199 bool m_repositoryLinkIdHasBeenSet =
false;
200 bool m_resourceNameHasBeenSet =
false;
201 bool m_roleArnHasBeenSet =
false;
202 bool m_syncTypeHasBeenSet =
false;
203 bool m_publishDeploymentStatusHasBeenSet =
false;
204 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