AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/StreamingExperiencePreferredProtocolEnum.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces/model/UserSetting.h>
11#include <aws/workspaces/model/StorageConnector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WorkSpaces
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WORKSPACES_API StreamingProperties();
38 AWS_WORKSPACES_API StreamingProperties(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const StreamingExperiencePreferredProtocolEnum& GetStreamingExperiencePreferredProtocol() const{ return m_streamingExperiencePreferredProtocol; }
48 inline bool StreamingExperiencePreferredProtocolHasBeenSet() const { return m_streamingExperiencePreferredProtocolHasBeenSet; }
49 inline void SetStreamingExperiencePreferredProtocol(const StreamingExperiencePreferredProtocolEnum& value) { m_streamingExperiencePreferredProtocolHasBeenSet = true; m_streamingExperiencePreferredProtocol = value; }
50 inline void SetStreamingExperiencePreferredProtocol(StreamingExperiencePreferredProtocolEnum&& value) { m_streamingExperiencePreferredProtocolHasBeenSet = true; m_streamingExperiencePreferredProtocol = std::move(value); }
54
56
59 inline const Aws::Vector<UserSetting>& GetUserSettings() const{ return m_userSettings; }
60 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
61 inline void SetUserSettings(const Aws::Vector<UserSetting>& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
62 inline void SetUserSettings(Aws::Vector<UserSetting>&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
64 inline StreamingProperties& WithUserSettings(Aws::Vector<UserSetting>&& value) { SetUserSettings(std::move(value)); return *this;}
65 inline StreamingProperties& AddUserSettings(const UserSetting& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(value); return *this; }
66 inline StreamingProperties& AddUserSettings(UserSetting&& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(std::move(value)); return *this; }
68
70
73 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const{ return m_storageConnectors; }
74 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
75 inline void SetStorageConnectors(const Aws::Vector<StorageConnector>& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = value; }
76 inline void SetStorageConnectors(Aws::Vector<StorageConnector>&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = std::move(value); }
79 inline StreamingProperties& AddStorageConnectors(const StorageConnector& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(value); return *this; }
80 inline StreamingProperties& AddStorageConnectors(StorageConnector&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(std::move(value)); return *this; }
82 private:
83
84 StreamingExperiencePreferredProtocolEnum m_streamingExperiencePreferredProtocol;
85 bool m_streamingExperiencePreferredProtocolHasBeenSet = false;
86
87 Aws::Vector<UserSetting> m_userSettings;
88 bool m_userSettingsHasBeenSet = false;
89
90 Aws::Vector<StorageConnector> m_storageConnectors;
91 bool m_storageConnectorsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WorkSpaces
96} // namespace Aws
StreamingProperties & AddStorageConnectors(StorageConnector &&value)
StreamingProperties & AddUserSettings(const UserSetting &value)
void SetUserSettings(Aws::Vector< UserSetting > &&value)
void SetStorageConnectors(const Aws::Vector< StorageConnector > &value)
void SetStreamingExperiencePreferredProtocol(const StreamingExperiencePreferredProtocolEnum &value)
void SetUserSettings(const Aws::Vector< UserSetting > &value)
AWS_WORKSPACES_API StreamingProperties(Aws::Utils::Json::JsonView jsonValue)
StreamingProperties & AddStorageConnectors(const StorageConnector &value)
const Aws::Vector< UserSetting > & GetUserSettings() const
StreamingProperties & WithStorageConnectors(const Aws::Vector< StorageConnector > &value)
const StreamingExperiencePreferredProtocolEnum & GetStreamingExperiencePreferredProtocol() const
StreamingProperties & AddUserSettings(UserSetting &&value)
StreamingProperties & WithStorageConnectors(Aws::Vector< StorageConnector > &&value)
StreamingProperties & WithUserSettings(const Aws::Vector< UserSetting > &value)
StreamingProperties & WithStreamingExperiencePreferredProtocol(const StreamingExperiencePreferredProtocolEnum &value)
void SetStreamingExperiencePreferredProtocol(StreamingExperiencePreferredProtocolEnum &&value)
StreamingProperties & WithUserSettings(Aws::Vector< UserSetting > &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageConnectors(Aws::Vector< StorageConnector > &&value)
AWS_WORKSPACES_API StreamingProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamingProperties & WithStreamingExperiencePreferredProtocol(StreamingExperiencePreferredProtocolEnum &&value)
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue