7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeconnections/model/ProviderType.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>
26namespace CodeConnections
54 inline void SetBranch(
const char* value) { m_branchHasBeenSet =
true; m_branch.assign(value); }
70 inline void SetConfigFile(
const char* value) { m_configFileHasBeenSet =
true; m_configFile.assign(value); }
85 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
113 inline void SetRepositoryLinkId(
const char* value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId.assign(value); }
127 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
142 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
157 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
215 bool m_branchHasBeenSet =
false;
218 bool m_configFileHasBeenSet =
false;
221 bool m_ownerIdHasBeenSet =
false;
224 bool m_providerTypeHasBeenSet =
false;
227 bool m_repositoryLinkIdHasBeenSet =
false;
230 bool m_repositoryNameHasBeenSet =
false;
233 bool m_resourceNameHasBeenSet =
false;
236 bool m_roleArnHasBeenSet =
false;
239 bool m_syncTypeHasBeenSet =
false;
242 bool m_publishDeploymentStatusHasBeenSet =
false;
245 bool m_triggerResourceUpdateOnHasBeenSet =
false;
248 bool m_pullRequestCommentHasBeenSet =
false;
bool RoleArnHasBeenSet() const
void SetConfigFile(const Aws::String &value)
SyncConfiguration & WithConfigFile(const char *value)
void SetResourceName(const Aws::String &value)
SyncConfiguration & WithProviderType(ProviderType &&value)
SyncConfiguration & WithProviderType(const ProviderType &value)
AWS_CODECONNECTIONS_API SyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetBranch(Aws::String &&value)
AWS_CODECONNECTIONS_API SyncConfiguration()
SyncConfiguration & WithBranch(const Aws::String &value)
SyncConfiguration & WithBranch(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
SyncConfiguration & WithRepositoryName(const char *value)
SyncConfiguration & WithRepositoryLinkId(Aws::String &&value)
bool RepositoryLinkIdHasBeenSet() const
const Aws::String & GetResourceName() const
void SetBranch(const Aws::String &value)
SyncConfiguration & WithPullRequestComment(const PullRequestComment &value)
void SetConfigFile(Aws::String &&value)
const TriggerResourceUpdateOn & GetTriggerResourceUpdateOn() const
void SetPullRequestComment(const PullRequestComment &value)
void SetTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
void SetResourceName(const char *value)
SyncConfiguration & WithRepositoryLinkId(const char *value)
bool TriggerResourceUpdateOnHasBeenSet() const
SyncConfiguration & WithConfigFile(Aws::String &&value)
const PullRequestComment & GetPullRequestComment() const
void SetOwnerId(const Aws::String &value)
SyncConfiguration & WithRepositoryLinkId(const Aws::String &value)
void SetSyncType(SyncConfigurationType &&value)
bool ProviderTypeHasBeenSet() const
SyncConfiguration & WithOwnerId(const Aws::String &value)
const Aws::String & GetOwnerId() const
SyncConfiguration & WithSyncType(SyncConfigurationType &&value)
void SetPublishDeploymentStatus(const PublishDeploymentStatus &value)
void SetSyncType(const SyncConfigurationType &value)
void SetRoleArn(const char *value)
bool SyncTypeHasBeenSet() const
SyncConfiguration & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
SyncConfiguration & WithRepositoryName(const Aws::String &value)
SyncConfiguration & WithOwnerId(const char *value)
const PublishDeploymentStatus & GetPublishDeploymentStatus() const
bool BranchHasBeenSet() const
SyncConfiguration & WithRoleArn(const Aws::String &value)
bool RepositoryNameHasBeenSet() const
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SyncConfiguration & WithResourceName(Aws::String &&value)
void SetProviderType(ProviderType &&value)
const SyncConfigurationType & GetSyncType() const
const ProviderType & GetProviderType() const
SyncConfiguration & WithRoleArn(const char *value)
const Aws::String & GetRoleArn() const
SyncConfiguration & WithResourceName(const Aws::String &value)
SyncConfiguration & WithPublishDeploymentStatus(PublishDeploymentStatus &&value)
void SetConfigFile(const char *value)
void SetPublishDeploymentStatus(PublishDeploymentStatus &&value)
SyncConfiguration & WithBranch(const char *value)
void SetRepositoryLinkId(Aws::String &&value)
void SetRepositoryLinkId(const char *value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetRepositoryLinkId() const
SyncConfiguration & WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
const Aws::String & GetBranch() const
SyncConfiguration & WithRoleArn(Aws::String &&value)
SyncConfiguration & WithPublishDeploymentStatus(const PublishDeploymentStatus &value)
SyncConfiguration & WithResourceName(const char *value)
bool PublishDeploymentStatusHasBeenSet() const
void SetRepositoryName(const char *value)
AWS_CODECONNECTIONS_API SyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OwnerIdHasBeenSet() const
SyncConfiguration & WithRepositoryName(Aws::String &&value)
void SetRepositoryName(const Aws::String &value)
void SetRepositoryName(Aws::String &&value)
bool ConfigFileHasBeenSet() const
bool ResourceNameHasBeenSet() const
void SetBranch(const char *value)
SyncConfiguration & WithPullRequestComment(PullRequestComment &&value)
SyncConfiguration & WithOwnerId(Aws::String &&value)
SyncConfiguration & WithConfigFile(const Aws::String &value)
SyncConfiguration & WithSyncType(const SyncConfigurationType &value)
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
void SetProviderType(const ProviderType &value)
void SetRepositoryLinkId(const Aws::String &value)
const Aws::String & GetConfigFile() const
const Aws::String & GetRepositoryName() const
void SetResourceName(Aws::String &&value)
void SetOwnerId(const char *value)
bool PullRequestCommentHasBeenSet() const
void SetOwnerId(Aws::String &&value)
void SetPullRequestComment(PullRequestComment &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue