AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FilePaths.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28class FilePaths {
29 public:
30 AWS_SECURITYHUB_API FilePaths() = default;
31 AWS_SECURITYHUB_API FilePaths(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API FilePaths& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetFilePath() const { return m_filePath; }
41 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
42 template <typename FilePathT = Aws::String>
43 void SetFilePath(FilePathT&& value) {
44 m_filePathHasBeenSet = true;
45 m_filePath = std::forward<FilePathT>(value);
46 }
47 template <typename FilePathT = Aws::String>
48 FilePaths& WithFilePath(FilePathT&& value) {
49 SetFilePath(std::forward<FilePathT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetFileName() const { return m_fileName; }
60 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
61 template <typename FileNameT = Aws::String>
62 void SetFileName(FileNameT&& value) {
63 m_fileNameHasBeenSet = true;
64 m_fileName = std::forward<FileNameT>(value);
65 }
66 template <typename FileNameT = Aws::String>
67 FilePaths& WithFileName(FileNameT&& value) {
68 SetFileName(std::forward<FileNameT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetResourceId() const { return m_resourceId; }
80 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
81 template <typename ResourceIdT = Aws::String>
82 void SetResourceId(ResourceIdT&& value) {
83 m_resourceIdHasBeenSet = true;
84 m_resourceId = std::forward<ResourceIdT>(value);
85 }
86 template <typename ResourceIdT = Aws::String>
87 FilePaths& WithResourceId(ResourceIdT&& value) {
88 SetResourceId(std::forward<ResourceIdT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetHash() const { return m_hash; }
99 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
100 template <typename HashT = Aws::String>
101 void SetHash(HashT&& value) {
102 m_hashHasBeenSet = true;
103 m_hash = std::forward<HashT>(value);
104 }
105 template <typename HashT = Aws::String>
106 FilePaths& WithHash(HashT&& value) {
107 SetHash(std::forward<HashT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_filePath;
113
114 Aws::String m_fileName;
115
116 Aws::String m_resourceId;
117
118 Aws::String m_hash;
119 bool m_filePathHasBeenSet = false;
120 bool m_fileNameHasBeenSet = false;
121 bool m_resourceIdHasBeenSet = false;
122 bool m_hashHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SecurityHub
127} // namespace Aws
const Aws::String & GetFileName() const
Definition FilePaths.h:59
FilePaths & WithResourceId(ResourceIdT &&value)
Definition FilePaths.h:87
FilePaths & WithFilePath(FilePathT &&value)
Definition FilePaths.h:48
AWS_SECURITYHUB_API FilePaths & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileName(FileNameT &&value)
Definition FilePaths.h:62
AWS_SECURITYHUB_API FilePaths(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHash() const
Definition FilePaths.h:98
const Aws::String & GetResourceId() const
Definition FilePaths.h:79
void SetFilePath(FilePathT &&value)
Definition FilePaths.h:43
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FilePaths & WithFileName(FileNameT &&value)
Definition FilePaths.h:67
void SetResourceId(ResourceIdT &&value)
Definition FilePaths.h:82
FilePaths & WithHash(HashT &&value)
Definition FilePaths.h:106
AWS_SECURITYHUB_API FilePaths()=default
const Aws::String & GetFilePath() const
Definition FilePaths.h:40
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue