7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/CacheMode.h>
9#include <aws/codebuild/model/CacheType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/crt/cbor/Cbor.h>
34 AWS_CODEBUILD_API
ProjectCache(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CODEBUILD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 m_typeHasBeenSet =
true;
67 template <
typename LocationT = Aws::String>
69 m_locationHasBeenSet =
true;
70 m_location = std::forward<LocationT>(value);
72 template <
typename LocationT = Aws::String>
109 template <
typename ModesT = Aws::Vector<CacheMode>>
111 m_modesHasBeenSet =
true;
112 m_modes = std::forward<ModesT>(value);
114 template <
typename ModesT = Aws::Vector<CacheMode>>
116 SetModes(std::forward<ModesT>(value));
120 m_modesHasBeenSet =
true;
121 m_modes.push_back(value);
135 template <
typename CacheNamespaceT = Aws::String>
137 m_cacheNamespaceHasBeenSet =
true;
138 m_cacheNamespace = std::forward<CacheNamespaceT>(value);
140 template <
typename CacheNamespaceT = Aws::String>
154 bool m_typeHasBeenSet =
false;
155 bool m_locationHasBeenSet =
false;
156 bool m_modesHasBeenSet =
false;
157 bool m_cacheNamespaceHasBeenSet =
false;
AWS_CODEBUILD_API ProjectCache()=default
bool LocationHasBeenSet() const
const Aws::String & GetCacheNamespace() const
ProjectCache & WithModes(ModesT &&value)
ProjectCache & WithLocation(LocationT &&value)
const Aws::Vector< CacheMode > & GetModes() const
void SetModes(ModesT &&value)
const Aws::String & GetLocation() const
AWS_CODEBUILD_API ProjectCache(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CacheType GetType() const
bool CacheNamespaceHasBeenSet() const
bool ModesHasBeenSet() const
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ProjectCache & WithType(CacheType value)
AWS_CODEBUILD_API ProjectCache & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCacheNamespace(CacheNamespaceT &&value)
void SetLocation(LocationT &&value)
ProjectCache & AddModes(CacheMode value)
void SetType(CacheType value)
bool TypeHasBeenSet() const
ProjectCache & WithCacheNamespace(CacheNamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector