7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/ArtifactLocation.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
64 template<
typename RevisionT = Aws::String>
65 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet =
true; m_revision = std::forward<RevisionT>(value); }
66 template<
typename RevisionT = Aws::String>
76 template<
typename LocationT = ArtifactLocation>
77 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
78 template<
typename LocationT = ArtifactLocation>
84 bool m_nameHasBeenSet =
false;
87 bool m_revisionHasBeenSet =
false;
90 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