AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
ContainerMountPoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ContainerMountPointAccessLevel.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
38 public:
39 AWS_GAMELIFT_API ContainerMountPoint() = default;
40 AWS_GAMELIFT_API ContainerMountPoint(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_GAMELIFT_API ContainerMountPoint& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API ContainerMountPoint()=default
AWS_GAMELIFT_API ContainerMountPoint & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ContainerMountPointAccessLevel GetAccessLevel() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) 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