AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LustreRootSquashConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSx_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace FSx {
21namespace Model {
22
37 public:
38 AWS_FSX_API LustreRootSquashConfiguration() = default;
42
44
55 inline const Aws::String& GetRootSquash() const { return m_rootSquash; }
56 inline bool RootSquashHasBeenSet() const { return m_rootSquashHasBeenSet; }
57 template <typename RootSquashT = Aws::String>
58 void SetRootSquash(RootSquashT&& value) {
59 m_rootSquashHasBeenSet = true;
60 m_rootSquash = std::forward<RootSquashT>(value);
61 }
62 template <typename RootSquashT = Aws::String>
64 SetRootSquash(std::forward<RootSquashT>(value));
65 return *this;
66 }
68
70
80 inline const Aws::Vector<Aws::String>& GetNoSquashNids() const { return m_noSquashNids; }
81 inline bool NoSquashNidsHasBeenSet() const { return m_noSquashNidsHasBeenSet; }
82 template <typename NoSquashNidsT = Aws::Vector<Aws::String>>
83 void SetNoSquashNids(NoSquashNidsT&& value) {
84 m_noSquashNidsHasBeenSet = true;
85 m_noSquashNids = std::forward<NoSquashNidsT>(value);
86 }
87 template <typename NoSquashNidsT = Aws::Vector<Aws::String>>
89 SetNoSquashNids(std::forward<NoSquashNidsT>(value));
90 return *this;
91 }
92 template <typename NoSquashNidsT = Aws::String>
94 m_noSquashNidsHasBeenSet = true;
95 m_noSquashNids.emplace_back(std::forward<NoSquashNidsT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_rootSquash;
101
102 Aws::Vector<Aws::String> m_noSquashNids;
103 bool m_rootSquashHasBeenSet = false;
104 bool m_noSquashNidsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace FSx
109} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
LustreRootSquashConfiguration & WithRootSquash(RootSquashT &&value)
AWS_FSX_API LustreRootSquashConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetNoSquashNids() const
LustreRootSquashConfiguration & AddNoSquashNids(NoSquashNidsT &&value)
LustreRootSquashConfiguration & WithNoSquashNids(NoSquashNidsT &&value)
AWS_FSX_API LustreRootSquashConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue