AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FilePaths.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 FilePaths() = default;
36 AWS_SECURITYHUB_API FilePaths(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API FilePaths& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFilePath() const { return m_filePath; }
47 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
48 template<typename FilePathT = Aws::String>
49 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
50 template<typename FilePathT = Aws::String>
51 FilePaths& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
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) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
63 template<typename FileNameT = Aws::String>
64 FilePaths& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetResourceId() const { return m_resourceId; }
74 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
75 template<typename ResourceIdT = Aws::String>
76 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
77 template<typename ResourceIdT = Aws::String>
78 FilePaths& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
80
82
86 inline const Aws::String& GetHash() const { return m_hash; }
87 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
88 template<typename HashT = Aws::String>
89 void SetHash(HashT&& value) { m_hashHasBeenSet = true; m_hash = std::forward<HashT>(value); }
90 template<typename HashT = Aws::String>
91 FilePaths& WithHash(HashT&& value) { SetHash(std::forward<HashT>(value)); return *this;}
93 private:
94
95 Aws::String m_filePath;
96 bool m_filePathHasBeenSet = false;
97
98 Aws::String m_fileName;
99 bool m_fileNameHasBeenSet = false;
100
101 Aws::String m_resourceId;
102 bool m_resourceIdHasBeenSet = false;
103
104 Aws::String m_hash;
105 bool m_hashHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
const Aws::String & GetFileName() const
Definition FilePaths.h:59
FilePaths & WithResourceId(ResourceIdT &&value)
Definition FilePaths.h:78
FilePaths & WithFilePath(FilePathT &&value)
Definition FilePaths.h:51
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:86
const Aws::String & GetResourceId() const
Definition FilePaths.h:73
void SetFilePath(FilePathT &&value)
Definition FilePaths.h:49
void SetHash(HashT &&value)
Definition FilePaths.h:89
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FilePaths & WithFileName(FileNameT &&value)
Definition FilePaths.h:64
void SetResourceId(ResourceIdT &&value)
Definition FilePaths.h:76
FilePaths & WithHash(HashT &&value)
Definition FilePaths.h:91
AWS_SECURITYHUB_API FilePaths()=default
const Aws::String & GetFilePath() const
Definition FilePaths.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue