AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCodeBuildProjectArtifactsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArtifactIdentifier() const{ return m_artifactIdentifier; }
46 inline bool ArtifactIdentifierHasBeenSet() const { return m_artifactIdentifierHasBeenSet; }
47 inline void SetArtifactIdentifier(const Aws::String& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = value; }
48 inline void SetArtifactIdentifier(Aws::String&& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = std::move(value); }
49 inline void SetArtifactIdentifier(const char* value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier.assign(value); }
52 inline AwsCodeBuildProjectArtifactsDetails& WithArtifactIdentifier(const char* value) { SetArtifactIdentifier(value); return *this;}
54
56
60 inline bool GetEncryptionDisabled() const{ return m_encryptionDisabled; }
61 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
62 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
65
67
71 inline const Aws::String& GetLocation() const{ return m_location; }
72 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
73 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
74 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
75 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
76 inline AwsCodeBuildProjectArtifactsDetails& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
77 inline AwsCodeBuildProjectArtifactsDetails& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
78 inline AwsCodeBuildProjectArtifactsDetails& WithLocation(const char* value) { SetLocation(value); return *this;}
80
82
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline AwsCodeBuildProjectArtifactsDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline AwsCodeBuildProjectArtifactsDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline AwsCodeBuildProjectArtifactsDetails& WithName(const char* value) { SetName(value); return *this;}
96
98
103 inline const Aws::String& GetNamespaceType() const{ return m_namespaceType; }
104 inline bool NamespaceTypeHasBeenSet() const { return m_namespaceTypeHasBeenSet; }
105 inline void SetNamespaceType(const Aws::String& value) { m_namespaceTypeHasBeenSet = true; m_namespaceType = value; }
106 inline void SetNamespaceType(Aws::String&& value) { m_namespaceTypeHasBeenSet = true; m_namespaceType = std::move(value); }
107 inline void SetNamespaceType(const char* value) { m_namespaceTypeHasBeenSet = true; m_namespaceType.assign(value); }
109 inline AwsCodeBuildProjectArtifactsDetails& WithNamespaceType(Aws::String&& value) { SetNamespaceType(std::move(value)); return *this;}
110 inline AwsCodeBuildProjectArtifactsDetails& WithNamespaceType(const char* value) { SetNamespaceType(value); return *this;}
112
114
118 inline bool GetOverrideArtifactName() const{ return m_overrideArtifactName; }
119 inline bool OverrideArtifactNameHasBeenSet() const { return m_overrideArtifactNameHasBeenSet; }
120 inline void SetOverrideArtifactName(bool value) { m_overrideArtifactNameHasBeenSet = true; m_overrideArtifactName = value; }
123
125
129 inline const Aws::String& GetPackaging() const{ return m_packaging; }
130 inline bool PackagingHasBeenSet() const { return m_packagingHasBeenSet; }
131 inline void SetPackaging(const Aws::String& value) { m_packagingHasBeenSet = true; m_packaging = value; }
132 inline void SetPackaging(Aws::String&& value) { m_packagingHasBeenSet = true; m_packaging = std::move(value); }
133 inline void SetPackaging(const char* value) { m_packagingHasBeenSet = true; m_packaging.assign(value); }
134 inline AwsCodeBuildProjectArtifactsDetails& WithPackaging(const Aws::String& value) { SetPackaging(value); return *this;}
135 inline AwsCodeBuildProjectArtifactsDetails& WithPackaging(Aws::String&& value) { SetPackaging(std::move(value)); return *this;}
136 inline AwsCodeBuildProjectArtifactsDetails& WithPackaging(const char* value) { SetPackaging(value); return *this;}
138
140
145 inline const Aws::String& GetPath() const{ return m_path; }
146 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
147 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
148 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
149 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
150 inline AwsCodeBuildProjectArtifactsDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;}
151 inline AwsCodeBuildProjectArtifactsDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
152 inline AwsCodeBuildProjectArtifactsDetails& WithPath(const char* value) { SetPath(value); return *this;}
154
156
159 inline const Aws::String& GetType() const{ return m_type; }
160 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
161 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
162 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
163 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
164 inline AwsCodeBuildProjectArtifactsDetails& WithType(const Aws::String& value) { SetType(value); return *this;}
165 inline AwsCodeBuildProjectArtifactsDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
166 inline AwsCodeBuildProjectArtifactsDetails& WithType(const char* value) { SetType(value); return *this;}
168 private:
169
170 Aws::String m_artifactIdentifier;
171 bool m_artifactIdentifierHasBeenSet = false;
172
173 bool m_encryptionDisabled;
174 bool m_encryptionDisabledHasBeenSet = false;
175
176 Aws::String m_location;
177 bool m_locationHasBeenSet = false;
178
179 Aws::String m_name;
180 bool m_nameHasBeenSet = false;
181
182 Aws::String m_namespaceType;
183 bool m_namespaceTypeHasBeenSet = false;
184
185 bool m_overrideArtifactName;
186 bool m_overrideArtifactNameHasBeenSet = false;
187
188 Aws::String m_packaging;
189 bool m_packagingHasBeenSet = false;
190
191 Aws::String m_path;
192 bool m_pathHasBeenSet = false;
193
194 Aws::String m_type;
195 bool m_typeHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace SecurityHub
200} // namespace Aws
AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectArtifactsDetails & WithPath(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithLocation(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithNamespaceType(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithPackaging(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithPackaging(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithType(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithPath(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithName(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithArtifactIdentifier(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithNamespaceType(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithOverrideArtifactName(bool value)
AwsCodeBuildProjectArtifactsDetails & WithName(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithName(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithArtifactIdentifier(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithType(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithArtifactIdentifier(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithNamespaceType(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithLocation(Aws::String &&value)
AwsCodeBuildProjectArtifactsDetails & WithPath(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCodeBuildProjectArtifactsDetails & WithLocation(const Aws::String &value)
AwsCodeBuildProjectArtifactsDetails & WithPackaging(const char *value)
AwsCodeBuildProjectArtifactsDetails & WithEncryptionDisabled(bool value)
AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectArtifactsDetails & WithType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue