AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ContainerMountPoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/ContainerMountPointAccessLevel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
38 public:
39 AWS_GAMELIFT_API ContainerMountPoint() = default;
42 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetInstancePath() const { return m_instancePath; }
49 inline bool InstancePathHasBeenSet() const { return m_instancePathHasBeenSet; }
50 template <typename InstancePathT = Aws::String>
51 void SetInstancePath(InstancePathT&& value) {
52 m_instancePathHasBeenSet = true;
53 m_instancePath = std::forward<InstancePathT>(value);
54 }
55 template <typename InstancePathT = Aws::String>
56 ContainerMountPoint& WithInstancePath(InstancePathT&& value) {
57 SetInstancePath(std::forward<InstancePathT>(value));
58 return *this;
59 }
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) {
71 m_containerPathHasBeenSet = true;
72 m_containerPath = std::forward<ContainerPathT>(value);
73 }
74 template <typename ContainerPathT = Aws::String>
75 ContainerMountPoint& WithContainerPath(ContainerPathT&& value) {
76 SetContainerPath(std::forward<ContainerPathT>(value));
77 return *this;
78 }
80
82
85 inline ContainerMountPointAccessLevel GetAccessLevel() const { return m_accessLevel; }
86 inline bool AccessLevelHasBeenSet() const { return m_accessLevelHasBeenSet; }
88 m_accessLevelHasBeenSet = true;
89 m_accessLevel = value;
90 }
92 SetAccessLevel(value);
93 return *this;
94 }
96 private:
97 Aws::String m_instancePath;
98
99 Aws::String m_containerPath;
100
102 bool m_instancePathHasBeenSet = false;
103 bool m_containerPathHasBeenSet = false;
104 bool m_accessLevelHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GameLift
109} // 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