AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ScanFilePath.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
29 public:
30 AWS_GUARDDUTY_API ScanFilePath() = default;
31 AWS_GUARDDUTY_API ScanFilePath(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GUARDDUTY_API ScanFilePath& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFilePath() const { return m_filePath; }
40 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
41 template <typename FilePathT = Aws::String>
42 void SetFilePath(FilePathT&& value) {
43 m_filePathHasBeenSet = true;
44 m_filePath = std::forward<FilePathT>(value);
45 }
46 template <typename FilePathT = Aws::String>
47 ScanFilePath& WithFilePath(FilePathT&& value) {
48 SetFilePath(std::forward<FilePathT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVolumeArn() const { return m_volumeArn; }
58 inline bool VolumeArnHasBeenSet() const { return m_volumeArnHasBeenSet; }
59 template <typename VolumeArnT = Aws::String>
60 void SetVolumeArn(VolumeArnT&& value) {
61 m_volumeArnHasBeenSet = true;
62 m_volumeArn = std::forward<VolumeArnT>(value);
63 }
64 template <typename VolumeArnT = Aws::String>
65 ScanFilePath& WithVolumeArn(VolumeArnT&& value) {
66 SetVolumeArn(std::forward<VolumeArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetHash() const { return m_hash; }
76 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
77 template <typename HashT = Aws::String>
78 void SetHash(HashT&& value) {
79 m_hashHasBeenSet = true;
80 m_hash = std::forward<HashT>(value);
81 }
82 template <typename HashT = Aws::String>
83 ScanFilePath& WithHash(HashT&& value) {
84 SetHash(std::forward<HashT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetFileName() const { return m_fileName; }
94 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
95 template <typename FileNameT = Aws::String>
96 void SetFileName(FileNameT&& value) {
97 m_fileNameHasBeenSet = true;
98 m_fileName = std::forward<FileNameT>(value);
99 }
100 template <typename FileNameT = Aws::String>
101 ScanFilePath& WithFileName(FileNameT&& value) {
102 SetFileName(std::forward<FileNameT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_filePath;
108
109 Aws::String m_volumeArn;
110
111 Aws::String m_hash;
112
113 Aws::String m_fileName;
114 bool m_filePathHasBeenSet = false;
115 bool m_volumeArnHasBeenSet = false;
116 bool m_hashHasBeenSet = false;
117 bool m_fileNameHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace GuardDuty
122} // namespace Aws
void SetFilePath(FilePathT &&value)
void SetFileName(FileNameT &&value)
const Aws::String & GetFileName() const
const Aws::String & GetHash() const
ScanFilePath & WithHash(HashT &&value)
ScanFilePath & WithFilePath(FilePathT &&value)
ScanFilePath & WithVolumeArn(VolumeArnT &&value)
const Aws::String & GetVolumeArn() const
AWS_GUARDDUTY_API ScanFilePath()=default
ScanFilePath & WithFileName(FileNameT &&value)
AWS_GUARDDUTY_API ScanFilePath(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeArn(VolumeArnT &&value)
AWS_GUARDDUTY_API ScanFilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilePath() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue