AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream {
20namespace Model {
21
29 public:
30 AWS_APPSTREAM_API ApplicationSettingsResponse() = default;
33 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() 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
ApplicationSettingsResponse & WithS3BucketName(S3BucketNameT &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API ApplicationSettingsResponse()=default
AWS_APPSTREAM_API ApplicationSettingsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsResponse & WithEnabled(bool value)
ApplicationSettingsResponse & WithSettingsGroup(SettingsGroupT &&value)
AWS_APPSTREAM_API ApplicationSettingsResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue