AWS SDK for C++

AWS SDK for C++ Version 1.11.680

Loading...
Searching...
No Matches
UpdateWorkspaceConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/grafana/ManagedGrafanaRequest.h>
9#include <aws/grafana/ManagedGrafana_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ManagedGrafana {
15namespace Model {
16
20 public:
21 AWS_MANAGEDGRAFANA_API UpdateWorkspaceConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspaceConfiguration"; }
28
29 AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetConfiguration() const { return m_configuration; }
39 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
40 template <typename ConfigurationT = Aws::String>
41 void SetConfiguration(ConfigurationT&& value) {
42 m_configurationHasBeenSet = true;
43 m_configuration = std::forward<ConfigurationT>(value);
44 }
45 template <typename ConfigurationT = Aws::String>
47 SetConfiguration(std::forward<ConfigurationT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::String& GetGrafanaVersion() const { return m_grafanaVersion; }
63 inline bool GrafanaVersionHasBeenSet() const { return m_grafanaVersionHasBeenSet; }
64 template <typename GrafanaVersionT = Aws::String>
65 void SetGrafanaVersion(GrafanaVersionT&& value) {
66 m_grafanaVersionHasBeenSet = true;
67 m_grafanaVersion = std::forward<GrafanaVersionT>(value);
68 }
69 template <typename GrafanaVersionT = Aws::String>
71 SetGrafanaVersion(std::forward<GrafanaVersionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
81 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
82 template <typename WorkspaceIdT = Aws::String>
83 void SetWorkspaceId(WorkspaceIdT&& value) {
84 m_workspaceIdHasBeenSet = true;
85 m_workspaceId = std::forward<WorkspaceIdT>(value);
86 }
87 template <typename WorkspaceIdT = Aws::String>
89 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_configuration;
95 bool m_configurationHasBeenSet = false;
96
97 Aws::String m_grafanaVersion;
98 bool m_grafanaVersionHasBeenSet = false;
99
100 Aws::String m_workspaceId;
101 bool m_workspaceIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ManagedGrafana
106} // namespace Aws
UpdateWorkspaceConfigurationRequest & WithConfiguration(ConfigurationT &&value)
AWS_MANAGEDGRAFANA_API UpdateWorkspaceConfigurationRequest()=default
UpdateWorkspaceConfigurationRequest & WithGrafanaVersion(GrafanaVersionT &&value)
AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override
UpdateWorkspaceConfigurationRequest & WithWorkspaceId(WorkspaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String