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>
63 template <
typename ConfigFileT = Aws::String>
65 m_configFileHasBeenSet =
true;
66 m_configFile = std::forward<ConfigFileT>(value);
68 template <
typename ConfigFileT = Aws::String>
83 template <
typename RepositoryLinkIdT = Aws::String>
85 m_repositoryLinkIdHasBeenSet =
true;
86 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
88 template <
typename RepositoryLinkIdT = Aws::String>
103 template <
typename ResourceNameT = Aws::String>
105 m_resourceNameHasBeenSet =
true;
106 m_resourceName = std::forward<ResourceNameT>(value);
108 template <
typename ResourceNameT = Aws::String>
122 template <
typename RoleArnT = Aws::String>
124 m_roleArnHasBeenSet =
true;
125 m_roleArn = std::forward<RoleArnT>(value);
127 template <
typename RoleArnT = Aws::String>
141 m_syncTypeHasBeenSet =
true;
158 m_publishDeploymentStatusHasBeenSet =
true;
159 m_publishDeploymentStatus = value;
174 m_triggerResourceUpdateOnHasBeenSet =
true;
175 m_triggerResourceUpdateOn = value;
191 m_pullRequestCommentHasBeenSet =
true;
192 m_pullRequestComment = value;
217 bool m_branchHasBeenSet =
false;
218 bool m_configFileHasBeenSet =
false;
219 bool m_repositoryLinkIdHasBeenSet =
false;
220 bool m_resourceNameHasBeenSet =
false;
221 bool m_roleArnHasBeenSet =
false;
222 bool m_syncTypeHasBeenSet =
false;
223 bool m_publishDeploymentStatusHasBeenSet =
false;
224 bool m_triggerResourceUpdateOnHasBeenSet =
false;
225 bool m_pullRequestCommentHasBeenSet =
false;
void SetSyncType(SyncConfigurationType value)
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
void SetResourceName(ResourceNameT &&value)
bool BranchHasBeenSet() const
const Aws::String & GetRepositoryLinkId() const
void SetPullRequestComment(PullRequestComment value)
bool RepositoryLinkIdHasBeenSet() const
void SetBranch(BranchT &&value)
CreateSyncConfigurationRequest & WithRoleArn(RoleArnT &&value)
bool PublishDeploymentStatusHasBeenSet() const
PullRequestComment GetPullRequestComment() const
void SetRoleArn(RoleArnT &&value)
CreateSyncConfigurationRequest & WithPullRequestComment(PullRequestComment value)
bool PullRequestCommentHasBeenSet() const
const Aws::String & GetRoleArn() const
const Aws::String & GetResourceName() const
virtual const char * GetServiceRequestName() const override
CreateSyncConfigurationRequest & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
AWS_CODECONNECTIONS_API CreateSyncConfigurationRequest()=default
bool ResourceNameHasBeenSet() const
CreateSyncConfigurationRequest & WithBranch(BranchT &&value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
const Aws::String & GetBranch() const
bool ConfigFileHasBeenSet() const
CreateSyncConfigurationRequest & WithSyncType(SyncConfigurationType value)
bool RoleArnHasBeenSet() const
CreateSyncConfigurationRequest & WithPublishDeploymentStatus(PublishDeploymentStatus value)
SyncConfigurationType GetSyncType() const
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PublishDeploymentStatus GetPublishDeploymentStatus() const
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
bool SyncTypeHasBeenSet() const
void SetConfigFile(ConfigFileT &&value)
const Aws::String & GetConfigFile() const
CreateSyncConfigurationRequest & WithRepositoryLinkId(RepositoryLinkIdT &&value)
bool TriggerResourceUpdateOnHasBeenSet() const
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
CreateSyncConfigurationRequest & WithResourceName(ResourceNameT &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
CreateSyncConfigurationRequest & WithConfigFile(ConfigFileT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String