7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CodePipeline {
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;
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 Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API Artifact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(LocationT &&value)
AWS_CODEPIPELINE_API Artifact(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetRevision() const
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
Aws::Utils::Json::JsonValue JsonValue