AWS SDK for C++

AWS SDK for C++ Version 1.11.871

Loading...
Searching...
No Matches
ApplicationSettingsResponse.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace AppStream {
20namespace Model {
21
29 public:
30 AWS_APPSTREAM_API ApplicationSettingsResponse() = default;
31 AWS_APPSTREAM_API ApplicationSettingsResponse(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_APPSTREAM_API ApplicationSettingsResponse& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
47 SetEnabled(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetSettingsGroup() const { return m_settingsGroup; }
58 inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; }
59 template <typename SettingsGroupT = Aws::String>
60 void SetSettingsGroup(SettingsGroupT&& value) {
61 m_settingsGroupHasBeenSet = true;
62 m_settingsGroup = std::forward<SettingsGroupT>(value);
63 }
64 template <typename SettingsGroupT = Aws::String>
66 SetSettingsGroup(std::forward<SettingsGroupT>(value));
67 return *this;
68 }
70
72
78 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
79 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
80 template <typename S3BucketNameT = Aws::String>
81 void SetS3BucketName(S3BucketNameT&& value) {
82 m_s3BucketNameHasBeenSet = true;
83 m_s3BucketName = std::forward<S3BucketNameT>(value);
84 }
85 template <typename S3BucketNameT = Aws::String>
87 SetS3BucketName(std::forward<S3BucketNameT>(value));
88 return *this;
89 }
91 private:
92 bool m_enabled{false};
93
94 Aws::String m_settingsGroup;
95
96 Aws::String m_s3BucketName;
97 bool m_enabledHasBeenSet = false;
98 bool m_settingsGroupHasBeenSet = false;
99 bool m_s3BucketNameHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace AppStream
104} // namespace Aws
AWS_APPSTREAM_API ApplicationSettingsResponse & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ApplicationSettingsResponse & WithS3BucketName(S3BucketNameT &&value)
AWS_APPSTREAM_API ApplicationSettingsResponse()=default
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ApplicationSettingsResponse & WithEnabled(bool value)
ApplicationSettingsResponse & WithSettingsGroup(SettingsGroupT &&value)
AWS_APPSTREAM_API ApplicationSettingsResponse(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String