AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OpenZFSClientConfiguration.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
34 {
35 public:
36 AWS_FSX_API OpenZFSClientConfiguration() = default;
40
41
43
49 inline const Aws::String& GetClients() const { return m_clients; }
50 inline bool ClientsHasBeenSet() const { return m_clientsHasBeenSet; }
51 template<typename ClientsT = Aws::String>
52 void SetClients(ClientsT&& value) { m_clientsHasBeenSet = true; m_clients = std::forward<ClientsT>(value); }
53 template<typename ClientsT = Aws::String>
54 OpenZFSClientConfiguration& WithClients(ClientsT&& value) { SetClients(std::forward<ClientsT>(value)); return *this;}
56
58
71 inline const Aws::Vector<Aws::String>& GetOptions() const { return m_options; }
72 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
73 template<typename OptionsT = Aws::Vector<Aws::String>>
74 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
75 template<typename OptionsT = Aws::Vector<Aws::String>>
76 OpenZFSClientConfiguration& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
77 template<typename OptionsT = Aws::String>
78 OpenZFSClientConfiguration& AddOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options.emplace_back(std::forward<OptionsT>(value)); return *this; }
80 private:
81
82 Aws::String m_clients;
83 bool m_clientsHasBeenSet = false;
84
86 bool m_optionsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace FSx
91} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API OpenZFSClientConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API OpenZFSClientConfiguration()=default
OpenZFSClientConfiguration & AddOptions(OptionsT &&value)
const Aws::Vector< Aws::String > & GetOptions() const
AWS_FSX_API OpenZFSClientConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenZFSClientConfiguration & WithClients(ClientsT &&value)
OpenZFSClientConfiguration & WithOptions(OptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue