AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
49 inline const Aws::String& GetClients() const{ return m_clients; }
50 inline bool ClientsHasBeenSet() const { return m_clientsHasBeenSet; }
51 inline void SetClients(const Aws::String& value) { m_clientsHasBeenSet = true; m_clients = value; }
52 inline void SetClients(Aws::String&& value) { m_clientsHasBeenSet = true; m_clients = std::move(value); }
53 inline void SetClients(const char* value) { m_clientsHasBeenSet = true; m_clients.assign(value); }
54 inline OpenZFSClientConfiguration& WithClients(const Aws::String& value) { SetClients(value); return *this;}
55 inline OpenZFSClientConfiguration& WithClients(Aws::String&& value) { SetClients(std::move(value)); return *this;}
56 inline OpenZFSClientConfiguration& WithClients(const char* value) { SetClients(value); return *this;}
58
60
73 inline const Aws::Vector<Aws::String>& GetOptions() const{ return m_options; }
74 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
75 inline void SetOptions(const Aws::Vector<Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
76 inline void SetOptions(Aws::Vector<Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
77 inline OpenZFSClientConfiguration& WithOptions(const Aws::Vector<Aws::String>& value) { SetOptions(value); return *this;}
78 inline OpenZFSClientConfiguration& WithOptions(Aws::Vector<Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
79 inline OpenZFSClientConfiguration& AddOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; }
80 inline OpenZFSClientConfiguration& AddOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; }
81 inline OpenZFSClientConfiguration& AddOptions(const char* value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; }
83 private:
84
85 Aws::String m_clients;
86 bool m_clientsHasBeenSet = false;
87
89 bool m_optionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace FSx
94} // namespace Aws
OpenZFSClientConfiguration & WithOptions(const Aws::Vector< Aws::String > &value)
void SetOptions(Aws::Vector< Aws::String > &&value)
OpenZFSClientConfiguration & AddOptions(const char *value)
OpenZFSClientConfiguration & WithOptions(Aws::Vector< Aws::String > &&value)
OpenZFSClientConfiguration & AddOptions(const Aws::String &value)
OpenZFSClientConfiguration & WithClients(const char *value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API OpenZFSClientConfiguration(Aws::Utils::Json::JsonView jsonValue)
OpenZFSClientConfiguration & WithClients(Aws::String &&value)
OpenZFSClientConfiguration & WithClients(const Aws::String &value)
OpenZFSClientConfiguration & AddOptions(Aws::String &&value)
const Aws::Vector< Aws::String > & GetOptions() const
AWS_FSX_API OpenZFSClientConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOptions(const Aws::Vector< Aws::String > &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