7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/codestar-connections/model/SyncConfigurationType.h>
11#include <aws/codestar-connections/model/PublishDeploymentStatus.h>
12#include <aws/codestar-connections/model/TriggerResourceUpdateOn.h>
25namespace CodeStarconnections
53 inline void SetBranch(
const char* value) { m_branchHasBeenSet =
true; m_branch.assign(value); }
69 inline void SetConfigFile(
const char* value) { m_configFileHasBeenSet =
true; m_configFile.assign(value); }
84 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
112 inline void SetRepositoryLinkId(
const char* value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId.assign(value); }
126 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
141 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
156 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
201 bool m_branchHasBeenSet =
false;
204 bool m_configFileHasBeenSet =
false;
207 bool m_ownerIdHasBeenSet =
false;
210 bool m_providerTypeHasBeenSet =
false;
213 bool m_repositoryLinkIdHasBeenSet =
false;
216 bool m_repositoryNameHasBeenSet =
false;
219 bool m_resourceNameHasBeenSet =
false;
222 bool m_roleArnHasBeenSet =
false;
225 bool m_syncTypeHasBeenSet =
false;
228 bool m_publishDeploymentStatusHasBeenSet =
false;
231 bool m_triggerResourceUpdateOnHasBeenSet =
false;
SyncConfiguration & WithProviderType(ProviderType &&value)
AWS_CODESTARCONNECTIONS_API SyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerId(const char *value)
SyncConfiguration & WithBranch(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
const Aws::String & GetResourceName() const
bool RepositoryLinkIdHasBeenSet() const
SyncConfiguration & WithResourceName(Aws::String &&value)
void SetRepositoryName(const Aws::String &value)
bool ProviderTypeHasBeenSet() const
void SetRepositoryName(const char *value)
void SetProviderType(const ProviderType &value)
AWS_CODESTARCONNECTIONS_API SyncConfiguration()
const Aws::String & GetRepositoryLinkId() const
void SetBranch(const Aws::String &value)
void SetSyncType(SyncConfigurationType &&value)
void SetRoleArn(const Aws::String &value)
const PublishDeploymentStatus & GetPublishDeploymentStatus() const
SyncConfiguration & WithBranch(const Aws::String &value)
SyncConfiguration & WithPublishDeploymentStatus(const PublishDeploymentStatus &value)
void SetRoleArn(Aws::String &&value)
SyncConfiguration & WithRoleArn(const char *value)
SyncConfiguration & WithRepositoryName(const char *value)
const Aws::String & GetConfigFile() const
SyncConfiguration & WithRoleArn(const Aws::String &value)
void SetBranch(const char *value)
SyncConfiguration & WithRepositoryLinkId(const Aws::String &value)
SyncConfiguration & WithOwnerId(const char *value)
bool ConfigFileHasBeenSet() const
SyncConfiguration & WithConfigFile(const Aws::String &value)
SyncConfiguration & WithOwnerId(const Aws::String &value)
void SetRepositoryName(Aws::String &&value)
void SetTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
SyncConfiguration & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
bool RepositoryNameHasBeenSet() const
bool ResourceNameHasBeenSet() const
SyncConfiguration & WithConfigFile(const char *value)
void SetPublishDeploymentStatus(const PublishDeploymentStatus &value)
SyncConfiguration & WithRepositoryLinkId(Aws::String &&value)
void SetRepositoryLinkId(Aws::String &&value)
SyncConfiguration & WithSyncType(const SyncConfigurationType &value)
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn &&value)
void SetConfigFile(Aws::String &&value)
const Aws::String & GetOwnerId() const
SyncConfiguration & WithRepositoryName(Aws::String &&value)
const SyncConfigurationType & GetSyncType() const
const TriggerResourceUpdateOn & GetTriggerResourceUpdateOn() const
void SetBranch(Aws::String &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus &&value)
void SetRoleArn(const char *value)
void SetRepositoryLinkId(const Aws::String &value)
SyncConfiguration & WithSyncType(SyncConfigurationType &&value)
const Aws::String & GetRepositoryName() const
SyncConfiguration & WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn &value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceName(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetConfigFile(const Aws::String &value)
SyncConfiguration & WithConfigFile(Aws::String &&value)
void SetRepositoryLinkId(const char *value)
SyncConfiguration & WithPublishDeploymentStatus(PublishDeploymentStatus &&value)
SyncConfiguration & WithResourceName(const char *value)
SyncConfiguration & WithRoleArn(Aws::String &&value)
bool SyncTypeHasBeenSet() const
void SetSyncType(const SyncConfigurationType &value)
SyncConfiguration & WithProviderType(const ProviderType &value)
SyncConfiguration & WithBranch(const char *value)
bool TriggerResourceUpdateOnHasBeenSet() const
void SetConfigFile(const char *value)
void SetResourceName(const Aws::String &value)
SyncConfiguration & WithResourceName(const Aws::String &value)
SyncConfiguration & WithRepositoryName(const Aws::String &value)
const Aws::String & GetBranch() const
SyncConfiguration & WithRepositoryLinkId(const char *value)
const ProviderType & GetProviderType() const
void SetProviderType(ProviderType &&value)
SyncConfiguration & WithOwnerId(Aws::String &&value)
void SetOwnerId(Aws::String &&value)
void SetResourceName(const char *value)
bool PublishDeploymentStatusHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool RoleArnHasBeenSet() const
bool BranchHasBeenSet() const
AWS_CODESTARCONNECTIONS_API SyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue