7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
42 m_maximumBuildsAllowedHasBeenSet =
true;
43 m_maximumBuildsAllowed = value;
61 template <
typename ComputeTypesAllowedT = Aws::Vector<Aws::String>>
63 m_computeTypesAllowedHasBeenSet =
true;
64 m_computeTypesAllowed = std::forward<ComputeTypesAllowedT>(value);
66 template <
typename ComputeTypesAllowedT = Aws::Vector<Aws::String>>
71 template <
typename ComputeTypesAllowedT = Aws::String>
73 m_computeTypesAllowedHasBeenSet =
true;
74 m_computeTypesAllowed.emplace_back(std::forward<ComputeTypesAllowedT>(value));
89 template <
typename FleetsAllowedT = Aws::Vector<Aws::String>>
91 m_fleetsAllowedHasBeenSet =
true;
92 m_fleetsAllowed = std::forward<FleetsAllowedT>(value);
94 template <
typename FleetsAllowedT = Aws::Vector<Aws::String>>
99 template <
typename FleetsAllowedT = Aws::String>
101 m_fleetsAllowedHasBeenSet =
true;
102 m_fleetsAllowed.emplace_back(std::forward<FleetsAllowedT>(value));
107 int m_maximumBuildsAllowed{0};
112 bool m_maximumBuildsAllowedHasBeenSet =
false;
113 bool m_computeTypesAllowedHasBeenSet =
false;
114 bool m_fleetsAllowedHasBeenSet =
false;
void SetComputeTypesAllowed(ComputeTypesAllowedT &&value)
AWS_CODEBUILD_API BatchRestrictions(Aws::Utils::Json::JsonView jsonValue)
bool FleetsAllowedHasBeenSet() const
const Aws::Vector< Aws::String > & GetComputeTypesAllowed() const
const Aws::Vector< Aws::String > & GetFleetsAllowed() const
AWS_CODEBUILD_API BatchRestrictions()=default
bool ComputeTypesAllowedHasBeenSet() const
BatchRestrictions & WithFleetsAllowed(FleetsAllowedT &&value)
BatchRestrictions & AddComputeTypesAllowed(ComputeTypesAllowedT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BatchRestrictions & AddFleetsAllowed(FleetsAllowedT &&value)
void SetFleetsAllowed(FleetsAllowedT &&value)
bool MaximumBuildsAllowedHasBeenSet() const
BatchRestrictions & WithComputeTypesAllowed(ComputeTypesAllowedT &&value)
BatchRestrictions & WithMaximumBuildsAllowed(int value)
void SetMaximumBuildsAllowed(int value)
AWS_CODEBUILD_API BatchRestrictions & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMaximumBuildsAllowed() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue