AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LustreRootSquashConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 FSx
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_FSX_API LustreRootSquashConfiguration() = default;
47
48
50
61 inline const Aws::String& GetRootSquash() const { return m_rootSquash; }
62 inline bool RootSquashHasBeenSet() const { return m_rootSquashHasBeenSet; }
63 template<typename RootSquashT = Aws::String>
64 void SetRootSquash(RootSquashT&& value) { m_rootSquashHasBeenSet = true; m_rootSquash = std::forward<RootSquashT>(value); }
65 template<typename RootSquashT = Aws::String>
66 LustreRootSquashConfiguration& WithRootSquash(RootSquashT&& value) { SetRootSquash(std::forward<RootSquashT>(value)); return *this;}
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) { m_noSquashNidsHasBeenSet = true; m_noSquashNids = std::forward<NoSquashNidsT>(value); }
84 template<typename NoSquashNidsT = Aws::Vector<Aws::String>>
85 LustreRootSquashConfiguration& WithNoSquashNids(NoSquashNidsT&& value) { SetNoSquashNids(std::forward<NoSquashNidsT>(value)); return *this;}
86 template<typename NoSquashNidsT = Aws::String>
87 LustreRootSquashConfiguration& AddNoSquashNids(NoSquashNidsT&& value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids.emplace_back(std::forward<NoSquashNidsT>(value)); return *this; }
89 private:
90
91 Aws::String m_rootSquash;
92 bool m_rootSquashHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_noSquashNids;
95 bool m_noSquashNidsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace FSx
100} // 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