AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BuildArtifacts.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/BucketOwnerAccess.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
33 {
34 public:
35 AWS_CODEBUILD_API BuildArtifacts() = default;
36 AWS_CODEBUILD_API BuildArtifacts(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLocation() const { return m_location; }
46 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
47 template<typename LocationT = Aws::String>
48 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
49 template<typename LocationT = Aws::String>
50 BuildArtifacts& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
52
54
60 inline const Aws::String& GetSha256sum() const { return m_sha256sum; }
61 inline bool Sha256sumHasBeenSet() const { return m_sha256sumHasBeenSet; }
62 template<typename Sha256sumT = Aws::String>
63 void SetSha256sum(Sha256sumT&& value) { m_sha256sumHasBeenSet = true; m_sha256sum = std::forward<Sha256sumT>(value); }
64 template<typename Sha256sumT = Aws::String>
65 BuildArtifacts& WithSha256sum(Sha256sumT&& value) { SetSha256sum(std::forward<Sha256sumT>(value)); return *this;}
67
69
75 inline const Aws::String& GetMd5sum() const { return m_md5sum; }
76 inline bool Md5sumHasBeenSet() const { return m_md5sumHasBeenSet; }
77 template<typename Md5sumT = Aws::String>
78 void SetMd5sum(Md5sumT&& value) { m_md5sumHasBeenSet = true; m_md5sum = std::forward<Md5sumT>(value); }
79 template<typename Md5sumT = Aws::String>
80 BuildArtifacts& WithMd5sum(Md5sumT&& value) { SetMd5sum(std::forward<Md5sumT>(value)); return *this;}
82
84
90 inline bool GetOverrideArtifactName() const { return m_overrideArtifactName; }
91 inline bool OverrideArtifactNameHasBeenSet() const { return m_overrideArtifactNameHasBeenSet; }
92 inline void SetOverrideArtifactName(bool value) { m_overrideArtifactNameHasBeenSet = true; m_overrideArtifactName = value; }
93 inline BuildArtifacts& WithOverrideArtifactName(bool value) { SetOverrideArtifactName(value); return *this;}
95
97
101 inline bool GetEncryptionDisabled() const { return m_encryptionDisabled; }
102 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
103 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
104 inline BuildArtifacts& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
106
108
111 inline const Aws::String& GetArtifactIdentifier() const { return m_artifactIdentifier; }
112 inline bool ArtifactIdentifierHasBeenSet() const { return m_artifactIdentifierHasBeenSet; }
113 template<typename ArtifactIdentifierT = Aws::String>
114 void SetArtifactIdentifier(ArtifactIdentifierT&& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = std::forward<ArtifactIdentifierT>(value); }
115 template<typename ArtifactIdentifierT = Aws::String>
116 BuildArtifacts& WithArtifactIdentifier(ArtifactIdentifierT&& value) { SetArtifactIdentifier(std::forward<ArtifactIdentifierT>(value)); return *this;}
118
120
121 inline BucketOwnerAccess GetBucketOwnerAccess() const { return m_bucketOwnerAccess; }
122 inline bool BucketOwnerAccessHasBeenSet() const { return m_bucketOwnerAccessHasBeenSet; }
123 inline void SetBucketOwnerAccess(BucketOwnerAccess value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = value; }
126 private:
127
128 Aws::String m_location;
129 bool m_locationHasBeenSet = false;
130
131 Aws::String m_sha256sum;
132 bool m_sha256sumHasBeenSet = false;
133
134 Aws::String m_md5sum;
135 bool m_md5sumHasBeenSet = false;
136
137 bool m_overrideArtifactName{false};
138 bool m_overrideArtifactNameHasBeenSet = false;
139
140 bool m_encryptionDisabled{false};
141 bool m_encryptionDisabledHasBeenSet = false;
142
143 Aws::String m_artifactIdentifier;
144 bool m_artifactIdentifierHasBeenSet = false;
145
147 bool m_bucketOwnerAccessHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CodeBuild
152} // namespace Aws
BuildArtifacts & WithEncryptionDisabled(bool value)
void SetArtifactIdentifier(ArtifactIdentifierT &&value)
BuildArtifacts & WithSha256sum(Sha256sumT &&value)
void SetLocation(LocationT &&value)
AWS_CODEBUILD_API BuildArtifacts()=default
BuildArtifacts & WithMd5sum(Md5sumT &&value)
AWS_CODEBUILD_API BuildArtifacts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSha256sum() const
BuildArtifacts & WithBucketOwnerAccess(BucketOwnerAccess value)
BuildArtifacts & WithArtifactIdentifier(ArtifactIdentifierT &&value)
const Aws::String & GetMd5sum() const
const Aws::String & GetLocation() const
void SetBucketOwnerAccess(BucketOwnerAccess value)
AWS_CODEBUILD_API BuildArtifacts(Aws::Utils::Json::JsonView jsonValue)
BuildArtifacts & WithLocation(LocationT &&value)
BuildArtifacts & WithOverrideArtifactName(bool value)
const Aws::String & GetArtifactIdentifier() const
BucketOwnerAccess GetBucketOwnerAccess() const
void SetSha256sum(Sha256sumT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue