7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/CodeConnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeconnections/model/SyncConfigurationType.h>
11#include <aws/codeconnections/model/PublishDeploymentStatus.h>
12#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
13#include <aws/codeconnections/model/PullRequestComment.h>
18namespace CodeConnections
47 template<
typename BranchT = Aws::String>
48 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
49 template<
typename BranchT = Aws::String>
59 template<
typename ConfigFileT = Aws::String>
60 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet =
true; m_configFile = std::forward<ConfigFileT>(value); }
61 template<
typename ConfigFileT = Aws::String>
71 template<
typename RepositoryLinkIdT = Aws::String>
72 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
73 template<
typename RepositoryLinkIdT = Aws::String>
84 template<
typename ResourceNameT = Aws::String>
85 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
86 template<
typename ResourceNameT = Aws::String>
96 template<
typename RoleArnT = Aws::String>
97 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
98 template<
typename RoleArnT = Aws::String>
146 bool m_branchHasBeenSet =
false;
149 bool m_configFileHasBeenSet =
false;
152 bool m_repositoryLinkIdHasBeenSet =
false;
155 bool m_resourceNameHasBeenSet =
false;
158 bool m_roleArnHasBeenSet =
false;
161 bool m_syncTypeHasBeenSet =
false;
164 bool m_publishDeploymentStatusHasBeenSet =
false;
167 bool m_triggerResourceUpdateOnHasBeenSet =
false;
170 bool m_pullRequestCommentHasBeenSet =
false;
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
bool ResourceNameHasBeenSet() const
UpdateSyncConfigurationRequest & WithPublishDeploymentStatus(PublishDeploymentStatus value)
UpdateSyncConfigurationRequest & WithPullRequestComment(PullRequestComment value)
bool PublishDeploymentStatusHasBeenSet() const
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
void SetBranch(BranchT &&value)
UpdateSyncConfigurationRequest & WithSyncType(SyncConfigurationType value)
virtual const char * GetServiceRequestName() const override
UpdateSyncConfigurationRequest & WithRoleArn(RoleArnT &&value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
void SetConfigFile(ConfigFileT &&value)
UpdateSyncConfigurationRequest & WithConfigFile(ConfigFileT &&value)
SyncConfigurationType GetSyncType() const
bool TriggerResourceUpdateOnHasBeenSet() const
UpdateSyncConfigurationRequest & WithResourceName(ResourceNameT &&value)
const Aws::String & GetBranch() const
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
void SetResourceName(ResourceNameT &&value)
const Aws::String & GetRepositoryLinkId() const
PublishDeploymentStatus GetPublishDeploymentStatus() const
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
const Aws::String & GetConfigFile() const
bool RoleArnHasBeenSet() const
void SetSyncType(SyncConfigurationType value)
bool BranchHasBeenSet() const
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoleArn(RoleArnT &&value)
void SetPullRequestComment(PullRequestComment value)
UpdateSyncConfigurationRequest & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
const Aws::String & GetRoleArn() const
UpdateSyncConfigurationRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
const Aws::String & GetResourceName() const
AWS_CODECONNECTIONS_API UpdateSyncConfigurationRequest()=default
bool SyncTypeHasBeenSet() const
UpdateSyncConfigurationRequest & WithBranch(BranchT &&value)
bool PullRequestCommentHasBeenSet() const
PullRequestComment GetPullRequestComment() const
bool ConfigFileHasBeenSet() const
bool RepositoryLinkIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String