7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/SourceAuthType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
32 AWS_CODEBUILD_API
SourceAuth(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CODEBUILD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_typeHasBeenSet =
true;
59 template <
typename ResourceT = Aws::String>
61 m_resourceHasBeenSet =
true;
62 m_resource = std::forward<ResourceT>(value);
64 template <
typename ResourceT = Aws::String>
74 bool m_typeHasBeenSet =
false;
75 bool m_resourceHasBeenSet =
false;
AWS_CODEBUILD_API SourceAuth()=default
const Aws::String & GetResource() const
bool ResourceHasBeenSet() const
AWS_CODEBUILD_API SourceAuth(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool TypeHasBeenSet() const
SourceAuth & WithResource(ResourceT &&value)
AWS_CODEBUILD_API SourceAuth & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetResource(ResourceT &&value)
SourceAuthType GetType() const
void SetType(SourceAuthType value)
SourceAuth & WithType(SourceAuthType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String