AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsMountPoint.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 AwsMountPoint();
36 AWS_SECURITYHUB_API AwsMountPoint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API AwsMountPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetSourceVolume() const{ return m_sourceVolume; }
47 inline bool SourceVolumeHasBeenSet() const { return m_sourceVolumeHasBeenSet; }
48 inline void SetSourceVolume(const Aws::String& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = value; }
49 inline void SetSourceVolume(Aws::String&& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = std::move(value); }
50 inline void SetSourceVolume(const char* value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume.assign(value); }
51 inline AwsMountPoint& WithSourceVolume(const Aws::String& value) { SetSourceVolume(value); return *this;}
52 inline AwsMountPoint& WithSourceVolume(Aws::String&& value) { SetSourceVolume(std::move(value)); return *this;}
53 inline AwsMountPoint& WithSourceVolume(const char* value) { SetSourceVolume(value); return *this;}
55
57
60 inline const Aws::String& GetContainerPath() const{ return m_containerPath; }
61 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
62 inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; }
63 inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); }
64 inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); }
65 inline AwsMountPoint& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
66 inline AwsMountPoint& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
67 inline AwsMountPoint& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
69 private:
70
71 Aws::String m_sourceVolume;
72 bool m_sourceVolumeHasBeenSet = false;
73
74 Aws::String m_containerPath;
75 bool m_containerPathHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
void SetSourceVolume(const Aws::String &value)
AwsMountPoint & WithContainerPath(Aws::String &&value)
const Aws::String & GetSourceVolume() const
void SetContainerPath(const char *value)
AwsMountPoint & WithSourceVolume(Aws::String &&value)
AwsMountPoint & WithContainerPath(const Aws::String &value)
AwsMountPoint & WithSourceVolume(const char *value)
void SetSourceVolume(const char *value)
void SetContainerPath(Aws::String &&value)
const Aws::String & GetContainerPath() const
AWS_SECURITYHUB_API AwsMountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsMountPoint & WithSourceVolume(const Aws::String &value)
AwsMountPoint & WithContainerPath(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceVolume(Aws::String &&value)
AWS_SECURITYHUB_API AwsMountPoint(Aws::Utils::Json::JsonView jsonValue)
void SetContainerPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue