AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSettings.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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:
35 AWS_APPSTREAM_API ApplicationSettings();
36 AWS_APPSTREAM_API ApplicationSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetEnabled() const{ return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline ApplicationSettings& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
59 inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; }
60 inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; }
61 inline void SetSettingsGroup(const Aws::String& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = value; }
62 inline void SetSettingsGroup(Aws::String&& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = std::move(value); }
63 inline void SetSettingsGroup(const char* value) { m_settingsGroupHasBeenSet = true; m_settingsGroup.assign(value); }
64 inline ApplicationSettings& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;}
65 inline ApplicationSettings& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;}
66 inline ApplicationSettings& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;}
68 private:
69
70 bool m_enabled;
71 bool m_enabledHasBeenSet = false;
72
73 Aws::String m_settingsGroup;
74 bool m_settingsGroupHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppStream
79} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue