AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
47
48
50
61 inline const Aws::String& GetRootSquash() const{ return m_rootSquash; }
62 inline bool RootSquashHasBeenSet() const { return m_rootSquashHasBeenSet; }
63 inline void SetRootSquash(const Aws::String& value) { m_rootSquashHasBeenSet = true; m_rootSquash = value; }
64 inline void SetRootSquash(Aws::String&& value) { m_rootSquashHasBeenSet = true; m_rootSquash = std::move(value); }
65 inline void SetRootSquash(const char* value) { m_rootSquashHasBeenSet = true; m_rootSquash.assign(value); }
66 inline LustreRootSquashConfiguration& WithRootSquash(const Aws::String& value) { SetRootSquash(value); return *this;}
67 inline LustreRootSquashConfiguration& WithRootSquash(Aws::String&& value) { SetRootSquash(std::move(value)); return *this;}
68 inline LustreRootSquashConfiguration& WithRootSquash(const char* value) { SetRootSquash(value); return *this;}
70
72
82 inline const Aws::Vector<Aws::String>& GetNoSquashNids() const{ return m_noSquashNids; }
83 inline bool NoSquashNidsHasBeenSet() const { return m_noSquashNidsHasBeenSet; }
84 inline void SetNoSquashNids(const Aws::Vector<Aws::String>& value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids = value; }
85 inline void SetNoSquashNids(Aws::Vector<Aws::String>&& value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids = std::move(value); }
88 inline LustreRootSquashConfiguration& AddNoSquashNids(const Aws::String& value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids.push_back(value); return *this; }
89 inline LustreRootSquashConfiguration& AddNoSquashNids(Aws::String&& value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids.push_back(std::move(value)); return *this; }
90 inline LustreRootSquashConfiguration& AddNoSquashNids(const char* value) { m_noSquashNidsHasBeenSet = true; m_noSquashNids.push_back(value); return *this; }
92 private:
93
94 Aws::String m_rootSquash;
95 bool m_rootSquashHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_noSquashNids;
98 bool m_noSquashNidsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace FSx
103} // namespace Aws
void SetNoSquashNids(Aws::Vector< Aws::String > &&value)
LustreRootSquashConfiguration & WithRootSquash(const Aws::String &value)
void SetNoSquashNids(const Aws::Vector< Aws::String > &value)
LustreRootSquashConfiguration & AddNoSquashNids(Aws::String &&value)
LustreRootSquashConfiguration & AddNoSquashNids(const Aws::String &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API LustreRootSquashConfiguration(Aws::Utils::Json::JsonView jsonValue)
LustreRootSquashConfiguration & WithNoSquashNids(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNoSquashNids() const
LustreRootSquashConfiguration & AddNoSquashNids(const char *value)
LustreRootSquashConfiguration & WithNoSquashNids(Aws::Vector< Aws::String > &&value)
LustreRootSquashConfiguration & WithRootSquash(Aws::String &&value)
LustreRootSquashConfiguration & WithRootSquash(const char *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