7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AgentAccessSetting.h>
9#include <aws/appstream/model/ScreenImageFormat.h>
10#include <aws/appstream/model/ScreenResolution.h>
11#include <aws/appstream/model/UserControlMode.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/crt/cbor/Cbor.h>
37 AWS_APPSTREAM_API
AgentAccessConfig(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_APPSTREAM_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 template <
typename SettingsT = Aws::Vector<AgentAccessSetting>>
51 m_settingsHasBeenSet =
true;
52 m_settings = std::forward<SettingsT>(value);
54 template <
typename SettingsT = Aws::Vector<AgentAccessSetting>>
59 template <
typename SettingsT = AgentAccessSetting>
61 m_settingsHasBeenSet =
true;
62 m_settings.emplace_back(std::forward<SettingsT>(value));
75 template <
typename S3BucketArnT = Aws::String>
77 m_s3BucketArnHasBeenSet =
true;
78 m_s3BucketArn = std::forward<S3BucketArnT>(value);
80 template <
typename S3BucketArnT = Aws::String>
95 m_screenshotsUploadEnabledHasBeenSet =
true;
96 m_screenshotsUploadEnabled = value;
113 m_replaySessionEnabledHasBeenSet =
true;
114 m_replaySessionEnabled = value;
131 template <
typename KmsKeyArnT = Aws::String>
133 m_kmsKeyArnHasBeenSet =
true;
134 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
136 template <
typename KmsKeyArnT = Aws::String>
150 m_screenResolutionHasBeenSet =
true;
151 m_screenResolution = value;
166 m_screenImageFormatHasBeenSet =
true;
167 m_screenImageFormat = value;
183 m_userControlModeHasBeenSet =
true;
184 m_userControlMode = value;
196 bool m_screenshotsUploadEnabled{
false};
198 bool m_replaySessionEnabled{
false};
207 bool m_settingsHasBeenSet =
false;
208 bool m_s3BucketArnHasBeenSet =
false;
209 bool m_screenshotsUploadEnabledHasBeenSet =
false;
210 bool m_replaySessionEnabledHasBeenSet =
false;
211 bool m_kmsKeyArnHasBeenSet =
false;
212 bool m_screenResolutionHasBeenSet =
false;
213 bool m_screenImageFormatHasBeenSet =
false;
214 bool m_userControlModeHasBeenSet =
false;
AWS_APPSTREAM_API AgentAccessConfig()=default
AWS_APPSTREAM_API AgentAccessConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ScreenImageFormatHasBeenSet() const
AgentAccessConfig & WithKmsKeyArn(KmsKeyArnT &&value)
void SetUserControlMode(UserControlMode value)
ScreenResolution GetScreenResolution() const
bool GetScreenshotsUploadEnabled() const
bool UserControlModeHasBeenSet() const
AWS_APPSTREAM_API AgentAccessConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ScreenImageFormat GetScreenImageFormat() const
void SetScreenResolution(ScreenResolution value)
void SetSettings(SettingsT &&value)
void SetScreenshotsUploadEnabled(bool value)
const Aws::Vector< AgentAccessSetting > & GetSettings() const
bool ReplaySessionEnabledHasBeenSet() const
bool KmsKeyArnHasBeenSet() const
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetReplaySessionEnabled(bool value)
AgentAccessConfig & WithScreenImageFormat(ScreenImageFormat value)
AgentAccessConfig & WithSettings(SettingsT &&value)
AgentAccessConfig & WithReplaySessionEnabled(bool value)
AgentAccessConfig & WithScreenshotsUploadEnabled(bool value)
AgentAccessConfig & WithScreenResolution(ScreenResolution value)
const Aws::String & GetS3BucketArn() const
bool S3BucketArnHasBeenSet() const
void SetScreenImageFormat(ScreenImageFormat value)
bool ScreenshotsUploadEnabledHasBeenSet() const
AgentAccessConfig & AddSettings(SettingsT &&value)
bool ScreenResolutionHasBeenSet() const
const Aws::String & GetKmsKeyArn() const
bool GetReplaySessionEnabled() const
AgentAccessConfig & WithS3BucketArn(S3BucketArnT &&value)
UserControlMode GetUserControlMode() const
void SetS3BucketArn(S3BucketArnT &&value)
AgentAccessConfig & WithUserControlMode(UserControlMode value)
bool SettingsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector