7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CodePipeline {
35 AWS_CODEPIPELINE_API
Artifact(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CODEPIPELINE_API
Artifact&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CODEPIPELINE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename RevisionT = Aws::String>
66 m_revisionHasBeenSet =
true;
67 m_revision = std::forward<RevisionT>(value);
69 template <
typename RevisionT = Aws::String>
82 template <
typename LocationT = ArtifactLocation>
84 m_locationHasBeenSet =
true;
85 m_location = std::forward<LocationT>(value);
87 template <
typename LocationT = ArtifactLocation>
99 bool m_nameHasBeenSet =
false;
100 bool m_revisionHasBeenSet =
false;
101 bool m_locationHasBeenSet =
false;
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool LocationHasBeenSet() const
void SetName(NameT &&value)
AWS_CODEPIPELINE_API Artifact()=default
const ArtifactLocation & GetLocation() const
void SetRevision(RevisionT &&value)
bool RevisionHasBeenSet() const
AWS_CODEPIPELINE_API Artifact(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetLocation(LocationT &&value)
const Aws::String & GetName() const
const Aws::String & GetRevision() const
AWS_CODEPIPELINE_API Artifact & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Artifact & WithRevision(RevisionT &&value)
Artifact & WithName(NameT &&value)
Artifact & WithLocation(LocationT &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String