7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetMaximumBuildsAllowed(
int value) { m_maximumBuildsAllowedHasBeenSet =
true; m_maximumBuildsAllowed = value; }
71 int m_maximumBuildsAllowed;
72 bool m_maximumBuildsAllowedHasBeenSet =
false;
75 bool m_computeTypesAllowedHasBeenSet =
false;
void SetComputeTypesAllowed(const Aws::Vector< Aws::String > &value)
BatchRestrictions & WithComputeTypesAllowed(const Aws::Vector< Aws::String > &value)
AWS_CODEBUILD_API BatchRestrictions(Aws::Utils::Json::JsonView jsonValue)
void SetComputeTypesAllowed(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetComputeTypesAllowed() const
BatchRestrictions & AddComputeTypesAllowed(const char *value)
bool ComputeTypesAllowedHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool MaximumBuildsAllowedHasBeenSet() const
BatchRestrictions & WithMaximumBuildsAllowed(int value)
void SetMaximumBuildsAllowed(int value)
BatchRestrictions & AddComputeTypesAllowed(const Aws::String &value)
AWS_CODEBUILD_API BatchRestrictions()
BatchRestrictions & WithComputeTypesAllowed(Aws::Vector< Aws::String > &&value)
BatchRestrictions & AddComputeTypesAllowed(Aws::String &&value)
AWS_CODEBUILD_API BatchRestrictions & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMaximumBuildsAllowed() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue