7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/PullRequestBuildCommentApproval.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codebuild/model/PullRequestBuildApproverRole.h>
73 template<
typename ApproverRolesT = Aws::Vector<PullRequestBuildApproverRole>>
74 void SetApproverRoles(ApproverRolesT&& value) { m_approverRolesHasBeenSet =
true; m_approverRoles = std::forward<ApproverRolesT>(value); }
75 template<
typename ApproverRolesT = Aws::Vector<PullRequestBuildApproverRole>>
82 bool m_requiresCommentApprovalHasBeenSet =
false;
85 bool m_approverRolesHasBeenSet =
false;
PullRequestBuildPolicy & AddApproverRoles(PullRequestBuildApproverRole value)
PullRequestBuildPolicy & WithApproverRoles(ApproverRolesT &&value)
const Aws::Vector< PullRequestBuildApproverRole > & GetApproverRoles() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API PullRequestBuildPolicy()=default
void SetApproverRoles(ApproverRolesT &&value)
void SetRequiresCommentApproval(PullRequestBuildCommentApproval value)
bool ApproverRolesHasBeenSet() const
PullRequestBuildCommentApproval GetRequiresCommentApproval() const
AWS_CODEBUILD_API PullRequestBuildPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
PullRequestBuildPolicy & WithRequiresCommentApproval(PullRequestBuildCommentApproval value)
AWS_CODEBUILD_API PullRequestBuildPolicy(Aws::Utils::Json::JsonView jsonValue)
bool RequiresCommentApprovalHasBeenSet() const
PullRequestBuildCommentApproval
PullRequestBuildApproverRole
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue