7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/ProviderType.h>
9#include <aws/codeconnections/model/PublishDeploymentStatus.h>
10#include <aws/codeconnections/model/PullRequestComment.h>
11#include <aws/codeconnections/model/SyncConfigurationType.h>
12#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace CodeConnections {
46 template <
typename BranchT = Aws::String>
48 m_branchHasBeenSet =
true;
49 m_branch = std::forward<BranchT>(value);
51 template <
typename BranchT = Aws::String>
66 template <
typename ConfigFileT = Aws::String>
68 m_configFileHasBeenSet =
true;
69 m_configFile = std::forward<ConfigFileT>(value);
71 template <
typename ConfigFileT = Aws::String>
85 template <
typename OwnerIdT = Aws::String>
87 m_ownerIdHasBeenSet =
true;
88 m_ownerId = std::forward<OwnerIdT>(value);
90 template <
typename OwnerIdT = Aws::String>
105 m_providerTypeHasBeenSet =
true;
106 m_providerType = value;
121 template <
typename RepositoryLinkIdT = Aws::String>
123 m_repositoryLinkIdHasBeenSet =
true;
124 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
126 template <
typename RepositoryLinkIdT = Aws::String>
139 template <
typename RepositoryNameT = Aws::String>
141 m_repositoryNameHasBeenSet =
true;
142 m_repositoryName = std::forward<RepositoryNameT>(value);
144 template <
typename RepositoryNameT = Aws::String>
158 template <
typename ResourceNameT = Aws::String>
160 m_resourceNameHasBeenSet =
true;
161 m_resourceName = std::forward<ResourceNameT>(value);
163 template <
typename ResourceNameT = Aws::String>
177 template <
typename RoleArnT = Aws::String>
179 m_roleArnHasBeenSet =
true;
180 m_roleArn = std::forward<RoleArnT>(value);
182 template <
typename RoleArnT = Aws::String>
196 m_syncTypeHasBeenSet =
true;
213 m_publishDeploymentStatusHasBeenSet =
true;
214 m_publishDeploymentStatus = value;
229 m_triggerResourceUpdateOnHasBeenSet =
true;
230 m_triggerResourceUpdateOn = value;
246 m_pullRequestCommentHasBeenSet =
true;
247 m_pullRequestComment = value;
278 bool m_branchHasBeenSet =
false;
279 bool m_configFileHasBeenSet =
false;
280 bool m_ownerIdHasBeenSet =
false;
281 bool m_providerTypeHasBeenSet =
false;
282 bool m_repositoryLinkIdHasBeenSet =
false;
283 bool m_repositoryNameHasBeenSet =
false;
284 bool m_resourceNameHasBeenSet =
false;
285 bool m_roleArnHasBeenSet =
false;
286 bool m_syncTypeHasBeenSet =
false;
287 bool m_publishDeploymentStatusHasBeenSet =
false;
288 bool m_triggerResourceUpdateOnHasBeenSet =
false;
289 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