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 {
43 template <
typename BranchMatchPatternsT = Aws::Vector<Aws::String>>
45 m_branchMatchPatternsHasBeenSet =
true;
46 m_branchMatchPatterns = std::forward<BranchMatchPatternsT>(value);
48 template <
typename BranchMatchPatternsT = Aws::Vector<Aws::String>>
53 template <
typename BranchMatchPatternsT = Aws::String>
55 m_branchMatchPatternsHasBeenSet =
true;
56 m_branchMatchPatterns.emplace_back(std::forward<BranchMatchPatternsT>(value));
67 template <
typename DeploymentTriggerEventsT = Aws::Vector<DeploymentTriggerEvent>>
69 m_deploymentTriggerEventsHasBeenSet =
true;
70 m_deploymentTriggerEvents = std::forward<DeploymentTriggerEventsT>(value);
72 template <
typename DeploymentTriggerEventsT = Aws::Vector<DeploymentTriggerEvent>>
78 m_deploymentTriggerEventsHasBeenSet =
true;
79 m_deploymentTriggerEvents.push_back(value);
87 bool m_branchMatchPatternsHasBeenSet =
false;
88 bool m_deploymentTriggerEventsHasBeenSet =
false;
AWS_AMPLIFYGEN3_API EnvironmentGitSourceRequest()=default
AWS_AMPLIFYGEN3_API EnvironmentGitSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BranchMatchPatternsHasBeenSet() const
void SetDeploymentTriggerEvents(DeploymentTriggerEventsT &&value)
EnvironmentGitSourceRequest & WithBranchMatchPatterns(BranchMatchPatternsT &&value)
AWS_AMPLIFYGEN3_API EnvironmentGitSourceRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DeploymentTriggerEvent > & GetDeploymentTriggerEvents() const
void SetBranchMatchPatterns(BranchMatchPatternsT &&value)
const Aws::Vector< Aws::String > & GetBranchMatchPatterns() const
EnvironmentGitSourceRequest & AddBranchMatchPatterns(BranchMatchPatternsT &&value)
EnvironmentGitSourceRequest & WithDeploymentTriggerEvents(DeploymentTriggerEventsT &&value)
bool DeploymentTriggerEventsHasBeenSet() const
EnvironmentGitSourceRequest & AddDeploymentTriggerEvents(DeploymentTriggerEvent value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue