AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResolvedArtifact.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ArtifactsType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeBuild
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CODEBUILD_API ResolvedArtifact() = default;
38 AWS_CODEBUILD_API ResolvedArtifact(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline ArtifactsType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(ArtifactsType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline ResolvedArtifact& WithType(ArtifactsType value) { SetType(value); return *this;}
52
54
57 inline const Aws::String& GetLocation() const { return m_location; }
58 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
59 template<typename LocationT = Aws::String>
60 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
61 template<typename LocationT = Aws::String>
62 ResolvedArtifact& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
64
66
69 inline const Aws::String& GetIdentifier() const { return m_identifier; }
70 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
71 template<typename IdentifierT = Aws::String>
72 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
73 template<typename IdentifierT = Aws::String>
74 ResolvedArtifact& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
76 private:
77
79 bool m_typeHasBeenSet = false;
80
81 Aws::String m_location;
82 bool m_locationHasBeenSet = false;
83
84 Aws::String m_identifier;
85 bool m_identifierHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CodeBuild
90} // namespace Aws
AWS_CODEBUILD_API ResolvedArtifact()=default
ResolvedArtifact & WithLocation(LocationT &&value)
void SetIdentifier(IdentifierT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ResolvedArtifact(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocation() const
const Aws::String & GetIdentifier() const
ResolvedArtifact & WithType(ArtifactsType value)
AWS_CODEBUILD_API ResolvedArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolvedArtifact & WithIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue