AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageConnector.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/StorageConnectorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
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:
37 AWS_APPSTREAM_API StorageConnector();
38 AWS_APPSTREAM_API StorageConnector(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const StorageConnectorType& GetConnectorType() const{ return m_connectorType; }
48 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
49 inline void SetConnectorType(const StorageConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
50 inline void SetConnectorType(StorageConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
51 inline StorageConnector& WithConnectorType(const StorageConnectorType& value) { SetConnectorType(value); return *this;}
52 inline StorageConnector& WithConnectorType(StorageConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
60 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
61 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
62 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
63 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
64 inline StorageConnector& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
65 inline StorageConnector& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
66 inline StorageConnector& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetDomains() const{ return m_domains; }
74 inline bool DomainsHasBeenSet() const { return m_domainsHasBeenSet; }
75 inline void SetDomains(const Aws::Vector<Aws::String>& value) { m_domainsHasBeenSet = true; m_domains = value; }
76 inline void SetDomains(Aws::Vector<Aws::String>&& value) { m_domainsHasBeenSet = true; m_domains = std::move(value); }
77 inline StorageConnector& WithDomains(const Aws::Vector<Aws::String>& value) { SetDomains(value); return *this;}
78 inline StorageConnector& WithDomains(Aws::Vector<Aws::String>&& value) { SetDomains(std::move(value)); return *this;}
79 inline StorageConnector& AddDomains(const Aws::String& value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
80 inline StorageConnector& AddDomains(Aws::String&& value) { m_domainsHasBeenSet = true; m_domains.push_back(std::move(value)); return *this; }
81 inline StorageConnector& AddDomains(const char* value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
83 private:
84
85 StorageConnectorType m_connectorType;
86 bool m_connectorTypeHasBeenSet = false;
87
88 Aws::String m_resourceIdentifier;
89 bool m_resourceIdentifierHasBeenSet = false;
90
92 bool m_domainsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AppStream
97} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue