AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SMBLocalGroups.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 StorageGateway
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_STORAGEGATEWAY_API SMBLocalGroups();
37 AWS_STORAGEGATEWAY_API SMBLocalGroups(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API SMBLocalGroups& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::Vector<Aws::String>& GetGatewayAdmins() const{ return m_gatewayAdmins; }
51 inline bool GatewayAdminsHasBeenSet() const { return m_gatewayAdminsHasBeenSet; }
52 inline void SetGatewayAdmins(const Aws::Vector<Aws::String>& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins = value; }
53 inline void SetGatewayAdmins(Aws::Vector<Aws::String>&& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins = std::move(value); }
54 inline SMBLocalGroups& WithGatewayAdmins(const Aws::Vector<Aws::String>& value) { SetGatewayAdmins(value); return *this;}
55 inline SMBLocalGroups& WithGatewayAdmins(Aws::Vector<Aws::String>&& value) { SetGatewayAdmins(std::move(value)); return *this;}
56 inline SMBLocalGroups& AddGatewayAdmins(const Aws::String& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(value); return *this; }
57 inline SMBLocalGroups& AddGatewayAdmins(Aws::String&& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(std::move(value)); return *this; }
58 inline SMBLocalGroups& AddGatewayAdmins(const char* value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(value); return *this; }
60 private:
61
62 Aws::Vector<Aws::String> m_gatewayAdmins;
63 bool m_gatewayAdminsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace StorageGateway
68} // namespace Aws
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
SMBLocalGroups & WithGatewayAdmins(const Aws::Vector< Aws::String > &value)
void SetGatewayAdmins(const Aws::Vector< Aws::String > &value)
void SetGatewayAdmins(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetGatewayAdmins() const
SMBLocalGroups & AddGatewayAdmins(Aws::String &&value)
SMBLocalGroups & AddGatewayAdmins(const Aws::String &value)
SMBLocalGroups & WithGatewayAdmins(Aws::Vector< Aws::String > &&value)
SMBLocalGroups & AddGatewayAdmins(const char *value)
AWS_STORAGEGATEWAY_API SMBLocalGroups & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API SMBLocalGroups()
AWS_STORAGEGATEWAY_API SMBLocalGroups(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