7#include <aws/codeconnections/CodeConnectionsRequest.h>
8#include <aws/codeconnections/CodeConnections_EXPORTS.h>
9#include <aws/codeconnections/model/PublishDeploymentStatus.h>
10#include <aws/codeconnections/model/PullRequestComment.h>
11#include <aws/codeconnections/model/SyncConfigurationType.h>
12#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace CodeConnections {
43 template <
typename BranchT = Aws::String>
45 m_branchHasBeenSet =
true;
46 m_branch = std::forward<BranchT>(value);
48 template <
typename BranchT = Aws::String>
61 template <
typename ConfigFileT = Aws::String>
63 m_configFileHasBeenSet =
true;
64 m_configFile = std::forward<ConfigFileT>(value);
66 template <
typename ConfigFileT = Aws::String>
79 template <
typename RepositoryLinkIdT = Aws::String>
81 m_repositoryLinkIdHasBeenSet =
true;
82 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
84 template <
typename RepositoryLinkIdT = Aws::String>
98 template <
typename ResourceNameT = Aws::String>
100 m_resourceNameHasBeenSet =
true;
101 m_resourceName = std::forward<ResourceNameT>(value);
103 template <
typename ResourceNameT = Aws::String>
116 template <
typename RoleArnT = Aws::String>
118 m_roleArnHasBeenSet =
true;
119 m_roleArn = std::forward<RoleArnT>(value);
121 template <
typename RoleArnT = Aws::String>
135 m_syncTypeHasBeenSet =
true;
152 m_publishDeploymentStatusHasBeenSet =
true;
153 m_publishDeploymentStatus = value;
168 m_triggerResourceUpdateOnHasBeenSet =
true;
169 m_triggerResourceUpdateOn = value;
185 m_pullRequestCommentHasBeenSet =
true;
186 m_pullRequestComment = value;
211 bool m_branchHasBeenSet =
false;
212 bool m_configFileHasBeenSet =
false;
213 bool m_repositoryLinkIdHasBeenSet =
false;
214 bool m_resourceNameHasBeenSet =
false;
215 bool m_roleArnHasBeenSet =
false;
216 bool m_syncTypeHasBeenSet =
false;
217 bool m_publishDeploymentStatusHasBeenSet =
false;
218 bool m_triggerResourceUpdateOnHasBeenSet =
false;
219 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