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