AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsMountPoint.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
29 public:
30 AWS_SECURITYHUB_API AwsMountPoint() = default;
31 AWS_SECURITYHUB_API AwsMountPoint(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API AwsMountPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetSourceVolume() const { return m_sourceVolume; }
41 inline bool SourceVolumeHasBeenSet() const { return m_sourceVolumeHasBeenSet; }
42 template <typename SourceVolumeT = Aws::String>
43 void SetSourceVolume(SourceVolumeT&& value) {
44 m_sourceVolumeHasBeenSet = true;
45 m_sourceVolume = std::forward<SourceVolumeT>(value);
46 }
47 template <typename SourceVolumeT = Aws::String>
48 AwsMountPoint& WithSourceVolume(SourceVolumeT&& value) {
49 SetSourceVolume(std::forward<SourceVolumeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetContainerPath() const { return m_containerPath; }
59 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
60 template <typename ContainerPathT = Aws::String>
61 void SetContainerPath(ContainerPathT&& value) {
62 m_containerPathHasBeenSet = true;
63 m_containerPath = std::forward<ContainerPathT>(value);
64 }
65 template <typename ContainerPathT = Aws::String>
66 AwsMountPoint& WithContainerPath(ContainerPathT&& value) {
67 SetContainerPath(std::forward<ContainerPathT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_sourceVolume;
73
74 Aws::String m_containerPath;
75 bool m_sourceVolumeHasBeenSet = false;
76 bool m_containerPathHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
void SetSourceVolume(SourceVolumeT &&value)
const Aws::String & GetSourceVolume() const
void SetContainerPath(ContainerPathT &&value)
AwsMountPoint & WithContainerPath(ContainerPathT &&value)
AWS_SECURITYHUB_API AwsMountPoint()=default
const Aws::String & GetContainerPath() const
AWS_SECURITYHUB_API AwsMountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsMountPoint & WithSourceVolume(SourceVolumeT &&value)
AWS_SECURITYHUB_API AwsMountPoint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue