AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
48 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
49 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
50 inline BuildArtifacts& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
51 inline BuildArtifacts& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
52 inline BuildArtifacts& WithLocation(const char* value) { SetLocation(value); return *this;}
54
56
62 inline const Aws::String& GetSha256sum() const{ return m_sha256sum; }
63 inline bool Sha256sumHasBeenSet() const { return m_sha256sumHasBeenSet; }
64 inline void SetSha256sum(const Aws::String& value) { m_sha256sumHasBeenSet = true; m_sha256sum = value; }
65 inline void SetSha256sum(Aws::String&& value) { m_sha256sumHasBeenSet = true; m_sha256sum = std::move(value); }
66 inline void SetSha256sum(const char* value) { m_sha256sumHasBeenSet = true; m_sha256sum.assign(value); }
67 inline BuildArtifacts& WithSha256sum(const Aws::String& value) { SetSha256sum(value); return *this;}
68 inline BuildArtifacts& WithSha256sum(Aws::String&& value) { SetSha256sum(std::move(value)); return *this;}
69 inline BuildArtifacts& WithSha256sum(const char* value) { SetSha256sum(value); return *this;}
71
73
79 inline const Aws::String& GetMd5sum() const{ return m_md5sum; }
80 inline bool Md5sumHasBeenSet() const { return m_md5sumHasBeenSet; }
81 inline void SetMd5sum(const Aws::String& value) { m_md5sumHasBeenSet = true; m_md5sum = value; }
82 inline void SetMd5sum(Aws::String&& value) { m_md5sumHasBeenSet = true; m_md5sum = std::move(value); }
83 inline void SetMd5sum(const char* value) { m_md5sumHasBeenSet = true; m_md5sum.assign(value); }
84 inline BuildArtifacts& WithMd5sum(const Aws::String& value) { SetMd5sum(value); return *this;}
85 inline BuildArtifacts& WithMd5sum(Aws::String&& value) { SetMd5sum(std::move(value)); return *this;}
86 inline BuildArtifacts& WithMd5sum(const char* value) { SetMd5sum(value); return *this;}
88
90
96 inline bool GetOverrideArtifactName() const{ return m_overrideArtifactName; }
97 inline bool OverrideArtifactNameHasBeenSet() const { return m_overrideArtifactNameHasBeenSet; }
98 inline void SetOverrideArtifactName(bool value) { m_overrideArtifactNameHasBeenSet = true; m_overrideArtifactName = value; }
99 inline BuildArtifacts& WithOverrideArtifactName(bool value) { SetOverrideArtifactName(value); return *this;}
101
103
107 inline bool GetEncryptionDisabled() const{ return m_encryptionDisabled; }
108 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
109 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
110 inline BuildArtifacts& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
112
114
117 inline const Aws::String& GetArtifactIdentifier() const{ return m_artifactIdentifier; }
118 inline bool ArtifactIdentifierHasBeenSet() const { return m_artifactIdentifierHasBeenSet; }
119 inline void SetArtifactIdentifier(const Aws::String& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = value; }
120 inline void SetArtifactIdentifier(Aws::String&& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = std::move(value); }
121 inline void SetArtifactIdentifier(const char* value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier.assign(value); }
122 inline BuildArtifacts& WithArtifactIdentifier(const Aws::String& value) { SetArtifactIdentifier(value); return *this;}
123 inline BuildArtifacts& WithArtifactIdentifier(Aws::String&& value) { SetArtifactIdentifier(std::move(value)); return *this;}
124 inline BuildArtifacts& WithArtifactIdentifier(const char* value) { SetArtifactIdentifier(value); return *this;}
126
128
129 inline const BucketOwnerAccess& GetBucketOwnerAccess() const{ return m_bucketOwnerAccess; }
130 inline bool BucketOwnerAccessHasBeenSet() const { return m_bucketOwnerAccessHasBeenSet; }
131 inline void SetBucketOwnerAccess(const BucketOwnerAccess& value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = value; }
132 inline void SetBucketOwnerAccess(BucketOwnerAccess&& value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = std::move(value); }
133 inline BuildArtifacts& WithBucketOwnerAccess(const BucketOwnerAccess& value) { SetBucketOwnerAccess(value); return *this;}
134 inline BuildArtifacts& WithBucketOwnerAccess(BucketOwnerAccess&& value) { SetBucketOwnerAccess(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_location;
139 bool m_locationHasBeenSet = false;
140
141 Aws::String m_sha256sum;
142 bool m_sha256sumHasBeenSet = false;
143
144 Aws::String m_md5sum;
145 bool m_md5sumHasBeenSet = false;
146
147 bool m_overrideArtifactName;
148 bool m_overrideArtifactNameHasBeenSet = false;
149
150 bool m_encryptionDisabled;
151 bool m_encryptionDisabledHasBeenSet = false;
152
153 Aws::String m_artifactIdentifier;
154 bool m_artifactIdentifierHasBeenSet = false;
155
156 BucketOwnerAccess m_bucketOwnerAccess;
157 bool m_bucketOwnerAccessHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace CodeBuild
162} // namespace Aws
BuildArtifacts & WithEncryptionDisabled(bool value)
void SetMd5sum(Aws::String &&value)
BuildArtifacts & WithLocation(const Aws::String &value)
void SetSha256sum(const Aws::String &value)
BuildArtifacts & WithMd5sum(Aws::String &&value)
BuildArtifacts & WithLocation(const char *value)
BuildArtifacts & WithBucketOwnerAccess(BucketOwnerAccess &&value)
BuildArtifacts & WithArtifactIdentifier(Aws::String &&value)
void SetBucketOwnerAccess(BucketOwnerAccess &&value)
AWS_CODEBUILD_API BuildArtifacts & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArtifactIdentifier(Aws::String &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildArtifacts & WithMd5sum(const Aws::String &value)
BuildArtifacts & WithArtifactIdentifier(const Aws::String &value)
const Aws::String & GetSha256sum() const
const BucketOwnerAccess & GetBucketOwnerAccess() const
BuildArtifacts & WithLocation(Aws::String &&value)
void SetArtifactIdentifier(const Aws::String &value)
void SetLocation(const Aws::String &value)
BuildArtifacts & WithSha256sum(const Aws::String &value)
const Aws::String & GetMd5sum() const
const Aws::String & GetLocation() const
BuildArtifacts & WithArtifactIdentifier(const char *value)
void SetLocation(const char *value)
void SetArtifactIdentifier(const char *value)
AWS_CODEBUILD_API BuildArtifacts(Aws::Utils::Json::JsonView jsonValue)
void SetSha256sum(Aws::String &&value)
void SetMd5sum(const Aws::String &value)
BuildArtifacts & WithBucketOwnerAccess(const BucketOwnerAccess &value)
BuildArtifacts & WithMd5sum(const char *value)
void SetLocation(Aws::String &&value)
BuildArtifacts & WithSha256sum(Aws::String &&value)
BuildArtifacts & WithOverrideArtifactName(bool value)
const Aws::String & GetArtifactIdentifier() const
void SetSha256sum(const char *value)
BuildArtifacts & WithSha256sum(const char *value)
void SetBucketOwnerAccess(const BucketOwnerAccess &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue