7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/DeploymentTriggerEvent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AmplifyGen3 {
42 template <
typename BranchMatchPatternsT = Aws::Vector<Aws::String>>
44 m_branchMatchPatternsHasBeenSet =
true;
45 m_branchMatchPatterns = std::forward<BranchMatchPatternsT>(value);
47 template <
typename BranchMatchPatternsT = Aws::Vector<Aws::String>>
52 template <
typename BranchMatchPatternsT = Aws::String>
54 m_branchMatchPatternsHasBeenSet =
true;
55 m_branchMatchPatterns.emplace_back(std::forward<BranchMatchPatternsT>(value));
66 template <
typename DeploymentTriggerEventsT = Aws::Vector<DeploymentTriggerEvent>>
68 m_deploymentTriggerEventsHasBeenSet =
true;
69 m_deploymentTriggerEvents = std::forward<DeploymentTriggerEventsT>(value);
71 template <
typename DeploymentTriggerEventsT = Aws::Vector<DeploymentTriggerEvent>>
77 m_deploymentTriggerEventsHasBeenSet =
true;
78 m_deploymentTriggerEvents.push_back(value);
86 bool m_branchMatchPatternsHasBeenSet =
false;
87 bool m_deploymentTriggerEventsHasBeenSet =
false;
EnvironmentGitSource & AddBranchMatchPatterns(BranchMatchPatternsT &&value)
AWS_AMPLIFYGEN3_API EnvironmentGitSource()=default
bool BranchMatchPatternsHasBeenSet() const
EnvironmentGitSource & WithDeploymentTriggerEvents(DeploymentTriggerEventsT &&value)
EnvironmentGitSource & WithBranchMatchPatterns(BranchMatchPatternsT &&value)
bool DeploymentTriggerEventsHasBeenSet() const
void SetBranchMatchPatterns(BranchMatchPatternsT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API EnvironmentGitSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DeploymentTriggerEvent > & GetDeploymentTriggerEvents() const
EnvironmentGitSource & AddDeploymentTriggerEvents(DeploymentTriggerEvent value)
void SetDeploymentTriggerEvents(DeploymentTriggerEventsT &&value)
const Aws::Vector< Aws::String > & GetBranchMatchPatterns() const
AWS_AMPLIFYGEN3_API EnvironmentGitSource(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue