AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ApplicationSettingsResponse.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppStream
22{
23namespace Model
24{
25
33 {
34 public:
39
40
45 inline bool GetEnabled() const{ return m_enabled; }
46
51 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
52
57 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
58
63 inline ApplicationSettingsResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
64
65
70 inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; }
71
76 inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; }
77
82 inline void SetSettingsGroup(const Aws::String& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = value; }
83
88 inline void SetSettingsGroup(Aws::String&& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = std::move(value); }
89
94 inline void SetSettingsGroup(const char* value) { m_settingsGroupHasBeenSet = true; m_settingsGroup.assign(value); }
95
100 inline ApplicationSettingsResponse& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;}
101
106 inline ApplicationSettingsResponse& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;}
107
112 inline ApplicationSettingsResponse& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;}
113
114
121 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
122
129 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
130
137 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
138
145 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
146
153 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
154
161 inline ApplicationSettingsResponse& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
162
169 inline ApplicationSettingsResponse& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
170
177 inline ApplicationSettingsResponse& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
178
179 private:
180
181 bool m_enabled;
182 bool m_enabledHasBeenSet = false;
183
184 Aws::String m_settingsGroup;
185 bool m_settingsGroupHasBeenSet = false;
186
187 Aws::String m_s3BucketName;
188 bool m_s3BucketNameHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace AppStream
193} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSettingsResponse & WithSettingsGroup(const Aws::String &value)
AWS_APPSTREAM_API ApplicationSettingsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsResponse & WithEnabled(bool value)
ApplicationSettingsResponse & WithSettingsGroup(const char *value)
ApplicationSettingsResponse & WithS3BucketName(const Aws::String &value)
AWS_APPSTREAM_API ApplicationSettingsResponse(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsResponse & WithS3BucketName(const char *value)
ApplicationSettingsResponse & WithSettingsGroup(Aws::String &&value)
ApplicationSettingsResponse & WithS3BucketName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String