AWS SDK for C++

AWS SDK for C++ Version 1.11.753

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
56 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
57 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
58 template <typename WorkspaceIdT = Aws::String>
59 void SetWorkspaceId(WorkspaceIdT&& value) {
60 m_workspaceIdHasBeenSet = true;
61 m_workspaceId = std::forward<WorkspaceIdT>(value);
62 }
63 template <typename WorkspaceIdT = Aws::String>
65 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
66 return *this;
67 }
69
71
80 inline const Aws::String& GetGrafanaVersion() const { return m_grafanaVersion; }
81 inline bool GrafanaVersionHasBeenSet() const { return m_grafanaVersionHasBeenSet; }
82 template <typename GrafanaVersionT = Aws::String>
83 void SetGrafanaVersion(GrafanaVersionT&& value) {
84 m_grafanaVersionHasBeenSet = true;
85 m_grafanaVersion = std::forward<GrafanaVersionT>(value);
86 }
87 template <typename GrafanaVersionT = Aws::String>
89 SetGrafanaVersion(std::forward<GrafanaVersionT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_configuration;
95
96 Aws::String m_workspaceId;
97
98 Aws::String m_grafanaVersion;
99 bool m_configurationHasBeenSet = false;
100 bool m_workspaceIdHasBeenSet = false;
101 bool m_grafanaVersionHasBeenSet = 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