AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerMountPoint.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/ContainerMountPointAccessLevel.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLift
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_GAMELIFT_API ContainerMountPoint() = default;
47 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetInstancePath() const { return m_instancePath; }
55 inline bool InstancePathHasBeenSet() const { return m_instancePathHasBeenSet; }
56 template<typename InstancePathT = Aws::String>
57 void SetInstancePath(InstancePathT&& value) { m_instancePathHasBeenSet = true; m_instancePath = std::forward<InstancePathT>(value); }
58 template<typename InstancePathT = Aws::String>
59 ContainerMountPoint& WithInstancePath(InstancePathT&& value) { SetInstancePath(std::forward<InstancePathT>(value)); return *this;}
61
63
67 inline const Aws::String& GetContainerPath() const { return m_containerPath; }
68 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
69 template<typename ContainerPathT = Aws::String>
70 void SetContainerPath(ContainerPathT&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::forward<ContainerPathT>(value); }
71 template<typename ContainerPathT = Aws::String>
72 ContainerMountPoint& WithContainerPath(ContainerPathT&& value) { SetContainerPath(std::forward<ContainerPathT>(value)); return *this;}
74
76
79 inline ContainerMountPointAccessLevel GetAccessLevel() const { return m_accessLevel; }
80 inline bool AccessLevelHasBeenSet() const { return m_accessLevelHasBeenSet; }
81 inline void SetAccessLevel(ContainerMountPointAccessLevel value) { m_accessLevelHasBeenSet = true; m_accessLevel = value; }
84 private:
85
86 Aws::String m_instancePath;
87 bool m_instancePathHasBeenSet = false;
88
89 Aws::String m_containerPath;
90 bool m_containerPathHasBeenSet = false;
91
93 bool m_accessLevelHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GameLift
98} // namespace Aws
ContainerMountPoint & WithInstancePath(InstancePathT &&value)
void SetContainerPath(ContainerPathT &&value)
AWS_GAMELIFT_API ContainerMountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API ContainerMountPoint(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API ContainerMountPoint()=default
ContainerMountPointAccessLevel GetAccessLevel() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerMountPoint & WithContainerPath(ContainerPathT &&value)
void SetAccessLevel(ContainerMountPointAccessLevel value)
ContainerMountPoint & WithAccessLevel(ContainerMountPointAccessLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue