AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ArtifactsType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const ArtifactsType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(ArtifactsType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline ResolvedArtifact& WithType(const ArtifactsType& value) { SetType(value); return *this;}
52 inline ResolvedArtifact& WithType(ArtifactsType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetLocation() const{ return m_location; }
60 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
61 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
62 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
63 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
64 inline ResolvedArtifact& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
65 inline ResolvedArtifact& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
66 inline ResolvedArtifact& WithLocation(const char* value) { SetLocation(value); return *this;}
68
70
73 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
74 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
75 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
76 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
77 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
78 inline ResolvedArtifact& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
79 inline ResolvedArtifact& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
80 inline ResolvedArtifact& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
82 private:
83
84 ArtifactsType m_type;
85 bool m_typeHasBeenSet = false;
86
87 Aws::String m_location;
88 bool m_locationHasBeenSet = false;
89
90 Aws::String m_identifier;
91 bool m_identifierHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CodeBuild
96} // namespace Aws
ResolvedArtifact & WithLocation(const Aws::String &value)
ResolvedArtifact & WithType(ArtifactsType &&value)
const ArtifactsType & GetType() const
ResolvedArtifact & WithIdentifier(const Aws::String &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ResolvedArtifact & WithIdentifier(Aws::String &&value)
AWS_CODEBUILD_API ResolvedArtifact(Aws::Utils::Json::JsonView jsonValue)
ResolvedArtifact & WithType(const ArtifactsType &value)
const Aws::String & GetLocation() const
ResolvedArtifact & WithIdentifier(const char *value)
const Aws::String & GetIdentifier() const
ResolvedArtifact & WithLocation(Aws::String &&value)
AWS_CODEBUILD_API ResolvedArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(const Aws::String &value)
void SetIdentifier(Aws::String &&value)
void SetLocation(const Aws::String &value)
ResolvedArtifact & WithLocation(const char *value)
void SetType(ArtifactsType &&value)
void SetType(const ArtifactsType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue