AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScanFilePath.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API ScanFilePath();
36 AWS_GUARDDUTY_API ScanFilePath(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API ScanFilePath& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFilePath() const{ return m_filePath; }
46 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
47 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
48 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
49 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
50 inline ScanFilePath& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
51 inline ScanFilePath& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
52 inline ScanFilePath& WithFilePath(const char* value) { SetFilePath(value); return *this;}
54
56
59 inline const Aws::String& GetVolumeArn() const{ return m_volumeArn; }
60 inline bool VolumeArnHasBeenSet() const { return m_volumeArnHasBeenSet; }
61 inline void SetVolumeArn(const Aws::String& value) { m_volumeArnHasBeenSet = true; m_volumeArn = value; }
62 inline void SetVolumeArn(Aws::String&& value) { m_volumeArnHasBeenSet = true; m_volumeArn = std::move(value); }
63 inline void SetVolumeArn(const char* value) { m_volumeArnHasBeenSet = true; m_volumeArn.assign(value); }
64 inline ScanFilePath& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;}
65 inline ScanFilePath& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;}
66 inline ScanFilePath& WithVolumeArn(const char* value) { SetVolumeArn(value); return *this;}
68
70
73 inline const Aws::String& GetHash() const{ return m_hash; }
74 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
75 inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; }
76 inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); }
77 inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); }
78 inline ScanFilePath& WithHash(const Aws::String& value) { SetHash(value); return *this;}
79 inline ScanFilePath& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;}
80 inline ScanFilePath& WithHash(const char* value) { SetHash(value); return *this;}
82
84
87 inline const Aws::String& GetFileName() const{ return m_fileName; }
88 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
89 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
90 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
91 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
92 inline ScanFilePath& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
93 inline ScanFilePath& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
94 inline ScanFilePath& WithFileName(const char* value) { SetFileName(value); return *this;}
96 private:
97
98 Aws::String m_filePath;
99 bool m_filePathHasBeenSet = false;
100
101 Aws::String m_volumeArn;
102 bool m_volumeArnHasBeenSet = false;
103
104 Aws::String m_hash;
105 bool m_hashHasBeenSet = false;
106
107 Aws::String m_fileName;
108 bool m_fileNameHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace GuardDuty
113} // namespace Aws
void SetFilePath(const Aws::String &value)
void SetHash(Aws::String &&value)
void SetFileName(const char *value)
const Aws::String & GetFileName() const
void SetVolumeArn(const char *value)
ScanFilePath & WithVolumeArn(const char *value)
void SetHash(const Aws::String &value)
const Aws::String & GetHash() const
void SetVolumeArn(const Aws::String &value)
ScanFilePath & WithHash(const Aws::String &value)
void SetFileName(const Aws::String &value)
const Aws::String & GetVolumeArn() const
void SetVolumeArn(Aws::String &&value)
AWS_GUARDDUTY_API ScanFilePath(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ScanFilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
ScanFilePath & WithHash(Aws::String &&value)
const Aws::String & GetFilePath() const
ScanFilePath & WithHash(const char *value)
void SetFilePath(Aws::String &&value)
ScanFilePath & WithVolumeArn(const Aws::String &value)
void SetFileName(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ScanFilePath & WithFilePath(const Aws::String &value)
ScanFilePath & WithVolumeArn(Aws::String &&value)
void SetHash(const char *value)
void SetFilePath(const char *value)
ScanFilePath & WithFileName(const Aws::String &value)
ScanFilePath & WithFilePath(const char *value)
ScanFilePath & WithFilePath(Aws::String &&value)
ScanFilePath & WithFileName(const char *value)
ScanFilePath & WithFileName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue