7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/BatchRestrictions.h>
10#include <aws/codebuild/model/BatchReportModeType.h>
49 template<
typename ServiceRoleT = Aws::String>
50 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
51 template<
typename ServiceRoleT = Aws::String>
62 inline void SetCombineArtifacts(
bool value) { m_combineArtifactsHasBeenSet =
true; m_combineArtifacts = value; }
73 template<
typename RestrictionsT = BatchRestrictions>
74 void SetRestrictions(RestrictionsT&& value) { m_restrictionsHasBeenSet =
true; m_restrictions = std::forward<RestrictionsT>(value); }
75 template<
typename RestrictionsT = BatchRestrictions>
86 inline void SetTimeoutInMins(
int value) { m_timeoutInMinsHasBeenSet =
true; m_timeoutInMins = value; }
109 bool m_serviceRoleHasBeenSet =
false;
111 bool m_combineArtifacts{
false};
112 bool m_combineArtifactsHasBeenSet =
false;
114 BatchRestrictions m_restrictions;
115 bool m_restrictionsHasBeenSet =
false;
117 int m_timeoutInMins{0};
118 bool m_timeoutInMinsHasBeenSet =
false;
121 bool m_batchReportModeHasBeenSet =
false;
bool BatchReportModeHasBeenSet() const
void SetBatchReportMode(BatchReportModeType value)
int GetTimeoutInMins() const
void SetCombineArtifacts(bool value)
bool RestrictionsHasBeenSet() const
ProjectBuildBatchConfig & WithTimeoutInMins(int value)
bool CombineArtifactsHasBeenSet() const
bool TimeoutInMinsHasBeenSet() const
ProjectBuildBatchConfig & WithRestrictions(RestrictionsT &&value)
const BatchRestrictions & GetRestrictions() const
AWS_CODEBUILD_API ProjectBuildBatchConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceRole() const
ProjectBuildBatchConfig & WithCombineArtifacts(bool value)
AWS_CODEBUILD_API ProjectBuildBatchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRestrictions(RestrictionsT &&value)
bool ServiceRoleHasBeenSet() const
ProjectBuildBatchConfig & WithServiceRole(ServiceRoleT &&value)
void SetServiceRole(ServiceRoleT &&value)
BatchReportModeType GetBatchReportMode() const
void SetTimeoutInMins(int value)
bool GetCombineArtifacts() const
AWS_CODEBUILD_API ProjectBuildBatchConfig()=default
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectBuildBatchConfig & WithBatchReportMode(BatchReportModeType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue