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
52 template<
typename BranchT = Aws::String>
53 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
54 template<
typename BranchT = Aws::String>
66 template<
typename ConfigFileT = Aws::String>
67 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet =
true; m_configFile = std::forward<ConfigFileT>(value); }
68 template<
typename ConfigFileT = Aws::String>
79 template<
typename OwnerIdT = Aws::String>
80 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
81 template<
typename OwnerIdT = Aws::String>
103 template<
typename RepositoryLinkIdT = Aws::String>
104 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet =
true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
105 template<
typename RepositoryLinkIdT = Aws::String>
115 template<
typename RepositoryNameT = Aws::String>
116 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
117 template<
typename RepositoryNameT = Aws::String>
128 template<
typename ResourceNameT = Aws::String>
129 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
130 template<
typename ResourceNameT = Aws::String>
141 template<
typename RoleArnT = Aws::String>
142 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
143 template<
typename RoleArnT = Aws::String>
191 bool m_branchHasBeenSet =
false;
194 bool m_configFileHasBeenSet =
false;
197 bool m_ownerIdHasBeenSet =
false;
200 bool m_providerTypeHasBeenSet =
false;
203 bool m_repositoryLinkIdHasBeenSet =
false;
206 bool m_repositoryNameHasBeenSet =
false;
209 bool m_resourceNameHasBeenSet =
false;
212 bool m_roleArnHasBeenSet =
false;
215 bool m_syncTypeHasBeenSet =
false;
218 bool m_publishDeploymentStatusHasBeenSet =
false;
221 bool m_triggerResourceUpdateOnHasBeenSet =
false;
224 bool m_pullRequestCommentHasBeenSet =
false;
void SetResourceName(ResourceNameT &&value)
bool RoleArnHasBeenSet() const
void SetTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
SyncConfiguration & WithRepositoryLinkId(RepositoryLinkIdT &&value)
AWS_CODECONNECTIONS_API SyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPullRequestComment(PullRequestComment value)
PublishDeploymentStatus GetPublishDeploymentStatus() const
bool RepositoryLinkIdHasBeenSet() const
const Aws::String & GetResourceName() const
void SetRepositoryName(RepositoryNameT &&value)
SyncConfiguration & WithBranch(BranchT &&value)
SyncConfiguration & WithRepositoryName(RepositoryNameT &&value)
bool TriggerResourceUpdateOnHasBeenSet() const
bool ProviderTypeHasBeenSet() const
const Aws::String & GetOwnerId() const
bool SyncTypeHasBeenSet() const
void SetRepositoryLinkId(RepositoryLinkIdT &&value)
SyncConfiguration & WithTriggerResourceUpdateOn(TriggerResourceUpdateOn value)
void SetRoleArn(RoleArnT &&value)
void SetPublishDeploymentStatus(PublishDeploymentStatus value)
SyncConfiguration & WithResourceName(ResourceNameT &&value)
bool BranchHasBeenSet() const
bool RepositoryNameHasBeenSet() const
SyncConfiguration & WithRoleArn(RoleArnT &&value)
SyncConfiguration & WithPullRequestComment(PullRequestComment value)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SyncConfiguration & WithPublishDeploymentStatus(PublishDeploymentStatus value)
void SetProviderType(ProviderType value)
TriggerResourceUpdateOn GetTriggerResourceUpdateOn() const
const Aws::String & GetRoleArn() const
SyncConfigurationType GetSyncType() const
const Aws::String & GetRepositoryLinkId() const
const Aws::String & GetBranch() const
bool PublishDeploymentStatusHasBeenSet() const
void SetSyncType(SyncConfigurationType value)
AWS_CODECONNECTIONS_API SyncConfiguration()=default
ProviderType GetProviderType() const
void SetConfigFile(ConfigFileT &&value)
AWS_CODECONNECTIONS_API SyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SyncConfiguration & WithOwnerId(OwnerIdT &&value)
bool OwnerIdHasBeenSet() const
SyncConfiguration & WithProviderType(ProviderType value)
bool ConfigFileHasBeenSet() const
bool ResourceNameHasBeenSet() const
PullRequestComment GetPullRequestComment() const
void SetOwnerId(OwnerIdT &&value)
SyncConfiguration & WithConfigFile(ConfigFileT &&value)
const Aws::String & GetConfigFile() const
SyncConfiguration & WithSyncType(SyncConfigurationType value)
const Aws::String & GetRepositoryName() const
bool PullRequestCommentHasBeenSet() const
void SetBranch(BranchT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue