AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails() = default;
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 template<typename ArtifactIdentifierT = Aws::String>
48 void SetArtifactIdentifier(ArtifactIdentifierT&& value) { m_artifactIdentifierHasBeenSet = true; m_artifactIdentifier = std::forward<ArtifactIdentifierT>(value); }
49 template<typename ArtifactIdentifierT = Aws::String>
50 AwsCodeBuildProjectArtifactsDetails& WithArtifactIdentifier(ArtifactIdentifierT&& value) { SetArtifactIdentifier(std::forward<ArtifactIdentifierT>(value)); return *this;}
52
54
58 inline bool GetEncryptionDisabled() const { return m_encryptionDisabled; }
59 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
60 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
63
65
69 inline const Aws::String& GetLocation() const { return m_location; }
70 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
71 template<typename LocationT = Aws::String>
72 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
73 template<typename LocationT = Aws::String>
74 AwsCodeBuildProjectArtifactsDetails& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
76
78
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 AwsCodeBuildProjectArtifactsDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
97 inline const Aws::String& GetNamespaceType() const { return m_namespaceType; }
98 inline bool NamespaceTypeHasBeenSet() const { return m_namespaceTypeHasBeenSet; }
99 template<typename NamespaceTypeT = Aws::String>
100 void SetNamespaceType(NamespaceTypeT&& value) { m_namespaceTypeHasBeenSet = true; m_namespaceType = std::forward<NamespaceTypeT>(value); }
101 template<typename NamespaceTypeT = Aws::String>
102 AwsCodeBuildProjectArtifactsDetails& WithNamespaceType(NamespaceTypeT&& value) { SetNamespaceType(std::forward<NamespaceTypeT>(value)); return *this;}
104
106
110 inline bool GetOverrideArtifactName() const { return m_overrideArtifactName; }
111 inline bool OverrideArtifactNameHasBeenSet() const { return m_overrideArtifactNameHasBeenSet; }
112 inline void SetOverrideArtifactName(bool value) { m_overrideArtifactNameHasBeenSet = true; m_overrideArtifactName = value; }
115
117
121 inline const Aws::String& GetPackaging() const { return m_packaging; }
122 inline bool PackagingHasBeenSet() const { return m_packagingHasBeenSet; }
123 template<typename PackagingT = Aws::String>
124 void SetPackaging(PackagingT&& value) { m_packagingHasBeenSet = true; m_packaging = std::forward<PackagingT>(value); }
125 template<typename PackagingT = Aws::String>
126 AwsCodeBuildProjectArtifactsDetails& WithPackaging(PackagingT&& value) { SetPackaging(std::forward<PackagingT>(value)); return *this;}
128
130
135 inline const Aws::String& GetPath() const { return m_path; }
136 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
137 template<typename PathT = Aws::String>
138 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
139 template<typename PathT = Aws::String>
140 AwsCodeBuildProjectArtifactsDetails& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
142
144
147 inline const Aws::String& GetType() const { return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 template<typename TypeT = Aws::String>
150 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
151 template<typename TypeT = Aws::String>
152 AwsCodeBuildProjectArtifactsDetails& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
154 private:
155
156 Aws::String m_artifactIdentifier;
157 bool m_artifactIdentifierHasBeenSet = false;
158
159 bool m_encryptionDisabled{false};
160 bool m_encryptionDisabledHasBeenSet = false;
161
162 Aws::String m_location;
163 bool m_locationHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_namespaceType;
169 bool m_namespaceTypeHasBeenSet = false;
170
171 bool m_overrideArtifactName{false};
172 bool m_overrideArtifactNameHasBeenSet = false;
173
174 Aws::String m_packaging;
175 bool m_packagingHasBeenSet = false;
176
177 Aws::String m_path;
178 bool m_pathHasBeenSet = false;
179
180 Aws::String m_type;
181 bool m_typeHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace SecurityHub
186} // namespace Aws
AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectArtifactsDetails & WithArtifactIdentifier(ArtifactIdentifierT &&value)
AwsCodeBuildProjectArtifactsDetails & WithOverrideArtifactName(bool value)
AwsCodeBuildProjectArtifactsDetails & WithPackaging(PackagingT &&value)
AwsCodeBuildProjectArtifactsDetails & WithNamespaceType(NamespaceTypeT &&value)
AwsCodeBuildProjectArtifactsDetails & WithLocation(LocationT &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCodeBuildProjectArtifactsDetails & WithEncryptionDisabled(bool value)
AWS_SECURITYHUB_API AwsCodeBuildProjectArtifactsDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue