AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
49 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
50 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
51 inline FilePaths& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
52 inline FilePaths& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
53 inline FilePaths& WithFilePath(const char* value) { SetFilePath(value); return *this;}
55
57
61 inline const Aws::String& GetFileName() const{ return m_fileName; }
62 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
63 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
64 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
65 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
66 inline FilePaths& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
67 inline FilePaths& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
68 inline FilePaths& WithFileName(const char* value) { SetFileName(value); return *this;}
70
72
77 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
78 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
79 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
81 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
82 inline FilePaths& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
83 inline FilePaths& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
84 inline FilePaths& WithResourceId(const char* value) { SetResourceId(value); return *this;}
86
88
92 inline const Aws::String& GetHash() const{ return m_hash; }
93 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
94 inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; }
95 inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); }
96 inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); }
97 inline FilePaths& WithHash(const Aws::String& value) { SetHash(value); return *this;}
98 inline FilePaths& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;}
99 inline FilePaths& WithHash(const char* value) { SetHash(value); return *this;}
101 private:
102
103 Aws::String m_filePath;
104 bool m_filePathHasBeenSet = false;
105
106 Aws::String m_fileName;
107 bool m_fileNameHasBeenSet = false;
108
109 Aws::String m_resourceId;
110 bool m_resourceIdHasBeenSet = false;
111
112 Aws::String m_hash;
113 bool m_hashHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
void SetFilePath(Aws::String &&value)
Definition FilePaths.h:49
FilePaths & WithFilePath(const Aws::String &value)
Definition FilePaths.h:51
void SetHash(const char *value)
Definition FilePaths.h:96
const Aws::String & GetFileName() const
Definition FilePaths.h:61
void SetFileName(Aws::String &&value)
Definition FilePaths.h:64
FilePaths & WithFileName(Aws::String &&value)
Definition FilePaths.h:67
void SetFileName(const Aws::String &value)
Definition FilePaths.h:63
AWS_SECURITYHUB_API FilePaths & operator=(Aws::Utils::Json::JsonView jsonValue)
FilePaths & WithResourceId(const char *value)
Definition FilePaths.h:84
AWS_SECURITYHUB_API FilePaths(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHash() const
Definition FilePaths.h:92
void SetResourceId(Aws::String &&value)
Definition FilePaths.h:80
const Aws::String & GetResourceId() const
Definition FilePaths.h:77
AWS_SECURITYHUB_API FilePaths()
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FilePaths & WithResourceId(const Aws::String &value)
Definition FilePaths.h:82
FilePaths & WithHash(Aws::String &&value)
Definition FilePaths.h:98
void SetFilePath(const char *value)
Definition FilePaths.h:50
FilePaths & WithHash(const Aws::String &value)
Definition FilePaths.h:97
FilePaths & WithFilePath(const char *value)
Definition FilePaths.h:53
FilePaths & WithHash(const char *value)
Definition FilePaths.h:99
FilePaths & WithFileName(const Aws::String &value)
Definition FilePaths.h:66
FilePaths & WithFileName(const char *value)
Definition FilePaths.h:68
void SetHash(Aws::String &&value)
Definition FilePaths.h:95
void SetHash(const Aws::String &value)
Definition FilePaths.h:94
void SetFilePath(const Aws::String &value)
Definition FilePaths.h:48
FilePaths & WithFilePath(Aws::String &&value)
Definition FilePaths.h:52
FilePaths & WithResourceId(Aws::String &&value)
Definition FilePaths.h:83
void SetResourceId(const Aws::String &value)
Definition FilePaths.h:79
const Aws::String & GetFilePath() const
Definition FilePaths.h:46
void SetFileName(const char *value)
Definition FilePaths.h:65
void SetResourceId(const char *value)
Definition FilePaths.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue