AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
StorageConnector.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppStream
24{
25namespace Model
26{
27
35 {
36 public:
41
42
46 inline const StorageConnectorType& GetConnectorType() const{ return m_connectorType; }
47
51 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
52
56 inline void SetConnectorType(const StorageConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
57
61 inline void SetConnectorType(StorageConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
62
66 inline StorageConnector& WithConnectorType(const StorageConnectorType& value) { SetConnectorType(value); return *this;}
67
71 inline StorageConnector& WithConnectorType(StorageConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
72
73
77 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
78
82 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
83
87 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
88
92 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
93
97 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
98
102 inline StorageConnector& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
103
107 inline StorageConnector& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
108
112 inline StorageConnector& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
113
114
118 inline const Aws::Vector<Aws::String>& GetDomains() const{ return m_domains; }
119
123 inline bool DomainsHasBeenSet() const { return m_domainsHasBeenSet; }
124
128 inline void SetDomains(const Aws::Vector<Aws::String>& value) { m_domainsHasBeenSet = true; m_domains = value; }
129
133 inline void SetDomains(Aws::Vector<Aws::String>&& value) { m_domainsHasBeenSet = true; m_domains = std::move(value); }
134
138 inline StorageConnector& WithDomains(const Aws::Vector<Aws::String>& value) { SetDomains(value); return *this;}
139
143 inline StorageConnector& WithDomains(Aws::Vector<Aws::String>&& value) { SetDomains(std::move(value)); return *this;}
144
148 inline StorageConnector& AddDomains(const Aws::String& value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
149
153 inline StorageConnector& AddDomains(Aws::String&& value) { m_domainsHasBeenSet = true; m_domains.push_back(std::move(value)); return *this; }
154
158 inline StorageConnector& AddDomains(const char* value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
159
160 private:
161
162 StorageConnectorType m_connectorType;
163 bool m_connectorTypeHasBeenSet = false;
164
165 Aws::String m_resourceIdentifier;
166 bool m_resourceIdentifierHasBeenSet = false;
167
168 Aws::Vector<Aws::String> m_domains;
169 bool m_domainsHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace AppStream
174} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API StorageConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceIdentifier() const
StorageConnector & AddDomains(const char *value)
const StorageConnectorType & GetConnectorType() const
const Aws::Vector< Aws::String > & GetDomains() const
StorageConnector & WithResourceIdentifier(const char *value)
void SetConnectorType(StorageConnectorType &&value)
AWS_APPSTREAM_API StorageConnector(Aws::Utils::Json::JsonView jsonValue)
StorageConnector & WithConnectorType(const StorageConnectorType &value)
StorageConnector & WithConnectorType(StorageConnectorType &&value)
StorageConnector & AddDomains(Aws::String &&value)
void SetResourceIdentifier(const char *value)
void SetConnectorType(const StorageConnectorType &value)
StorageConnector & WithResourceIdentifier(const Aws::String &value)
void SetResourceIdentifier(const Aws::String &value)
StorageConnector & WithDomains(Aws::Vector< Aws::String > &&value)
StorageConnector & AddDomains(const Aws::String &value)
void SetDomains(const Aws::Vector< Aws::String > &value)
StorageConnector & WithDomains(const Aws::Vector< Aws::String > &value)
void SetResourceIdentifier(Aws::String &&value)
void SetDomains(Aws::Vector< Aws::String > &&value)
StorageConnector & WithResourceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector