AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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