AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ApplicationSettings.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 ApplicationSettings& WithEnabled(bool value) { SetEnabled(value); return *this;}
64
65
72 inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; }
73
80 inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; }
81
88 inline void SetSettingsGroup(const Aws::String& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = value; }
89
96 inline void SetSettingsGroup(Aws::String&& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = std::move(value); }
97
104 inline void SetSettingsGroup(const char* value) { m_settingsGroupHasBeenSet = true; m_settingsGroup.assign(value); }
105
112 inline ApplicationSettings& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;}
113
120 inline ApplicationSettings& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;}
121
128 inline ApplicationSettings& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;}
129
130 private:
131
132 bool m_enabled;
133 bool m_enabledHasBeenSet = false;
134
135 Aws::String m_settingsGroup;
136 bool m_settingsGroupHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace AppStream
141} // namespace Aws
#define AWS_APPSTREAM_API
const Aws::String & GetSettingsGroup() const
AWS_APPSTREAM_API ApplicationSettings(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettings & WithEnabled(bool value)
void SetSettingsGroup(const Aws::String &value)
ApplicationSettings & WithSettingsGroup(const char *value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API ApplicationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettings & WithSettingsGroup(Aws::String &&value)
ApplicationSettings & WithSettingsGroup(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String