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>
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));
74 template <
typename S3BucketArnT = Aws::String>
76 m_s3BucketArnHasBeenSet =
true;
77 m_s3BucketArn = std::forward<S3BucketArnT>(value);
79 template <
typename S3BucketArnT = Aws::String>
94 m_screenshotsUploadEnabledHasBeenSet =
true;
95 m_screenshotsUploadEnabled = value;
111 m_screenResolutionHasBeenSet =
true;
112 m_screenResolution = value;
128 m_screenImageFormatHasBeenSet =
true;
129 m_screenImageFormat = value;
148 m_userControlModeHasBeenSet =
true;
149 m_userControlMode = value;
161 bool m_screenshotsUploadEnabled{
false};
168 bool m_settingsHasBeenSet =
false;
169 bool m_s3BucketArnHasBeenSet =
false;
170 bool m_screenshotsUploadEnabledHasBeenSet =
false;
171 bool m_screenResolutionHasBeenSet =
false;
172 bool m_screenImageFormatHasBeenSet =
false;
173 bool m_userControlModeHasBeenSet =
false;
const Aws::String & GetS3BucketArn() const
ImageBuilderAgentAccessConfig & WithUserControlMode(UserControlMode value)
void SetUserControlMode(UserControlMode value)
void SetScreenResolution(ScreenResolution value)
bool ScreenshotsUploadEnabledHasBeenSet() const
void SetS3BucketArn(S3BucketArnT &&value)
bool SettingsHasBeenSet() const
ScreenImageFormat GetScreenImageFormat() const
ImageBuilderAgentAccessConfig & WithScreenshotsUploadEnabled(bool value)
ImageBuilderAgentAccessConfig & WithS3BucketArn(S3BucketArnT &&value)
AWS_APPSTREAM_API ImageBuilderAgentAccessConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_APPSTREAM_API ImageBuilderAgentAccessConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ScreenImageFormatHasBeenSet() const
UserControlMode GetUserControlMode() const
ImageBuilderAgentAccessConfig & WithScreenResolution(ScreenResolution value)
void SetSettings(SettingsT &&value)
bool GetScreenshotsUploadEnabled() const
void SetScreenshotsUploadEnabled(bool value)
ScreenResolution GetScreenResolution() const
ImageBuilderAgentAccessConfig & AddSettings(SettingsT &&value)
bool ScreenResolutionHasBeenSet() const
bool S3BucketArnHasBeenSet() const
void SetScreenImageFormat(ScreenImageFormat value)
AWS_APPSTREAM_API ImageBuilderAgentAccessConfig()=default
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ImageBuilderAgentAccessConfig & WithScreenImageFormat(ScreenImageFormat value)
ImageBuilderAgentAccessConfig & WithSettings(SettingsT &&value)
const Aws::Vector< AgentAccessSetting > & GetSettings() const
bool UserControlModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector