AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSettingsRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/ApplicationSettingsStatusEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_WORKSPACES_API ApplicationSettingsRequest();
39 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ApplicationSettingsStatusEnum& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const ApplicationSettingsStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(ApplicationSettingsStatusEnum&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline ApplicationSettingsRequest& WithStatus(ApplicationSettingsStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
54
56
62 inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; }
63 inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; }
64 inline void SetSettingsGroup(const Aws::String& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = value; }
65 inline void SetSettingsGroup(Aws::String&& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = std::move(value); }
66 inline void SetSettingsGroup(const char* value) { m_settingsGroupHasBeenSet = true; m_settingsGroup.assign(value); }
67 inline ApplicationSettingsRequest& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;}
68 inline ApplicationSettingsRequest& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;}
69 inline ApplicationSettingsRequest& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;}
71 private:
72
74 bool m_statusHasBeenSet = false;
75
76 Aws::String m_settingsGroup;
77 bool m_settingsGroupHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace WorkSpaces
82} // namespace Aws
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACES_API ApplicationSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsRequest & WithStatus(ApplicationSettingsStatusEnum &&value)
const ApplicationSettingsStatusEnum & GetStatus() const
ApplicationSettingsRequest & WithStatus(const ApplicationSettingsStatusEnum &value)
ApplicationSettingsRequest & WithSettingsGroup(const Aws::String &value)
ApplicationSettingsRequest & WithSettingsGroup(Aws::String &&value)
void SetStatus(ApplicationSettingsStatusEnum &&value)
ApplicationSettingsRequest & WithSettingsGroup(const char *value)
void SetStatus(const ApplicationSettingsStatusEnum &value)
AWS_WORKSPACES_API ApplicationSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue