AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
ThreatEvidenceShape.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
28 public:
29 AWS_SECURITYAGENT_API ThreatEvidenceShape() = default;
30 AWS_SECURITYAGENT_API ThreatEvidenceShape(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYAGENT_API ThreatEvidenceShape& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetPackageId() const { return m_packageId; }
39 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
40 template <typename PackageIdT = Aws::String>
41 void SetPackageId(PackageIdT&& value) {
42 m_packageIdHasBeenSet = true;
43 m_packageId = std::forward<PackageIdT>(value);
44 }
45 template <typename PackageIdT = Aws::String>
46 ThreatEvidenceShape& WithPackageId(PackageIdT&& value) {
47 SetPackageId(std::forward<PackageIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPath() const { return m_path; }
57 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
58 template <typename PathT = Aws::String>
59 void SetPath(PathT&& value) {
60 m_pathHasBeenSet = true;
61 m_path = std::forward<PathT>(value);
62 }
63 template <typename PathT = Aws::String>
64 ThreatEvidenceShape& WithPath(PathT&& value) {
65 SetPath(std::forward<PathT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_packageId;
71
72 Aws::String m_path;
73 bool m_packageIdHasBeenSet = false;
74 bool m_pathHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityAgent
79} // namespace Aws
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API ThreatEvidenceShape(Aws::Utils::Json::JsonView jsonValue)
ThreatEvidenceShape & WithPath(PathT &&value)
ThreatEvidenceShape & WithPackageId(PackageIdT &&value)
AWS_SECURITYAGENT_API ThreatEvidenceShape & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API ThreatEvidenceShape()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue