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
49 inline void SetBranch(
const char* value) { m_branchHasBeenSet =
true; m_branch.assign(value); }
63 inline void SetConfigFile(
const char* value) { m_configFileHasBeenSet =
true; m_configFile.assign(value); }
77 inline void SetRepositoryLinkId(
const char* value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId.assign(value); }
92 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
106 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
164 bool m_branchHasBeenSet =
false;
167 bool m_configFileHasBeenSet =
false;
170 bool m_repositoryLinkIdHasBeenSet =
false;
173 bool m_resourceNameHasBeenSet =
false;
176 bool m_roleArnHasBeenSet =
false;
179 bool m_syncTypeHasBeenSet =
false;
182 bool m_publishDeploymentStatusHasBeenSet =
false;
185 bool m_triggerResourceUpdateOnHasBeenSet =
false;
188 bool m_pullRequestCommentHasBeenSet =
false;
UpdateSyncConfigurationRequest & WithRoleArn(const char *value)
const PullRequestComment & GetPullRequestComment() const
void SetSyncType(SyncConfigurationType &&value)
void SetRepositoryLinkId(const char *value)
bool ResourceNameHasBeenSet() const
void SetConfigFile(Aws::String &&value)
bool PublishDeploymentStatusHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetPublishDeploymentStatus(const PublishDeploymentStatus &value)
void SetRoleArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetConfigFile(const char *value)
UpdateSyncConfigurationRequest & WithBranch(Aws::String &&value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
UpdateSyncConfigurationRequest & WithRepositoryLinkId(const Aws::String &value)
void SetRoleArn(const char *value)
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
bool TriggerResourceUpdateOnHasBeenSet() const
void SetBranch(Aws::String &&value)
UpdateSyncConfigurationRequest & WithSyncType(const SyncConfigurationType &value)
void SetBranch(const char *value)
const PublishDeploymentStatus & GetPublishDeploymentStatus() const
const Aws::String & GetBranch() const
UpdateSyncConfigurationRequest & WithBranch(const char *value)
UpdateSyncConfigurationRequest & WithPullRequestComment(const PullRequestComment &value)
void SetTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
void SetBranch(const Aws::String &value)
const Aws::String & GetRepositoryLinkId() const
UpdateSyncConfigurationRequest & WithPublishDeploymentStatus(const PublishDeploymentStatus &value)
void SetConfigFile(const Aws::String &value)
void SetRepositoryLinkId(const Aws::String &value)
UpdateSyncConfigurationRequest & WithRepositoryLinkId(Aws::String &&value)
AWS_CODECONNECTIONS_API UpdateSyncConfigurationRequest()
UpdateSyncConfigurationRequest & WithConfigFile(const Aws::String &value)
UpdateSyncConfigurationRequest & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
void SetRepositoryLinkId(Aws::String &&value)
const Aws::String & GetConfigFile() const
bool RoleArnHasBeenSet() const
UpdateSyncConfigurationRequest & WithRepositoryLinkId(const char *value)
void SetResourceName(const char *value)
UpdateSyncConfigurationRequest & WithPublishDeploymentStatus(PublishDeploymentStatus &&value)
bool BranchHasBeenSet() const
void SetResourceName(Aws::String &&value)
UpdateSyncConfigurationRequest & WithConfigFile(Aws::String &&value)
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSyncConfigurationRequest & WithRoleArn(Aws::String &&value)
void SetPullRequestComment(PullRequestComment &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus &&value)
const Aws::String & GetRoleArn() const
void SetSyncType(const SyncConfigurationType &value)
UpdateSyncConfigurationRequest & WithSyncType(SyncConfigurationType &&value)
const Aws::String & GetResourceName() const
UpdateSyncConfigurationRequest & WithBranch(const Aws::String &value)
bool SyncTypeHasBeenSet() const
const TriggerResourceUpdateOn & GetTriggerResourceUpdateOn() const
void SetResourceName(const Aws::String &value)
UpdateSyncConfigurationRequest & WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
UpdateSyncConfigurationRequest & WithRoleArn(const Aws::String &value)
UpdateSyncConfigurationRequest & WithConfigFile(const char *value)
bool PullRequestCommentHasBeenSet() const
void SetPullRequestComment(const PullRequestComment &value)
bool ConfigFileHasBeenSet() const
UpdateSyncConfigurationRequest & WithResourceName(Aws::String &&value)
UpdateSyncConfigurationRequest & WithResourceName(const Aws::String &value)
UpdateSyncConfigurationRequest & WithPullRequestComment(PullRequestComment &&value)
bool RepositoryLinkIdHasBeenSet() const
UpdateSyncConfigurationRequest & WithResourceName(const char *value)
const SyncConfigurationType & GetSyncType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String