7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/CacheType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/CacheMode.h>
55 inline void SetType(
const CacheType& value) { m_typeHasBeenSet =
true; m_type = value; }
56 inline void SetType(
CacheType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
71 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
117 bool m_typeHasBeenSet =
false;
120 bool m_locationHasBeenSet =
false;
123 bool m_modesHasBeenSet =
false;
ProjectCache & WithLocation(Aws::String &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool LocationHasBeenSet() const
ProjectCache & WithModes(const Aws::Vector< CacheMode > &value)
ProjectCache & WithType(CacheType &&value)
void SetLocation(const char *value)
void SetLocation(Aws::String &&value)
void SetType(const CacheType &value)
const Aws::Vector< CacheMode > & GetModes() const
const Aws::String & GetLocation() const
ProjectCache & WithType(const CacheType &value)
ProjectCache & AddModes(CacheMode &&value)
AWS_CODEBUILD_API ProjectCache()
bool ModesHasBeenSet() const
ProjectCache & WithLocation(const Aws::String &value)
const CacheType & GetType() const
ProjectCache & AddModes(const CacheMode &value)
AWS_CODEBUILD_API ProjectCache & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModes(Aws::Vector< CacheMode > &&value)
void SetType(CacheType &&value)
void SetLocation(const Aws::String &value)
void SetModes(const Aws::Vector< CacheMode > &value)
ProjectCache & WithModes(Aws::Vector< CacheMode > &&value)
bool TypeHasBeenSet() const
ProjectCache & WithLocation(const char *value)
AWS_CODEBUILD_API ProjectCache(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue