AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
DescribeWorkspaceConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/grafana/ManagedGrafana_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ManagedGrafana {
23namespace Model {
25 public:
26 AWS_MANAGEDGRAFANA_API DescribeWorkspaceConfigurationResult() = default;
30
32
38 inline const Aws::String& GetConfiguration() const { return m_configuration; }
39 template <typename ConfigurationT = Aws::String>
40 void SetConfiguration(ConfigurationT&& value) {
41 m_configurationHasBeenSet = true;
42 m_configuration = std::forward<ConfigurationT>(value);
43 }
44 template <typename ConfigurationT = Aws::String>
46 SetConfiguration(std::forward<ConfigurationT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetGrafanaVersion() const { return m_grafanaVersion; }
56 template <typename GrafanaVersionT = Aws::String>
57 void SetGrafanaVersion(GrafanaVersionT&& value) {
58 m_grafanaVersionHasBeenSet = true;
59 m_grafanaVersion = std::forward<GrafanaVersionT>(value);
60 }
61 template <typename GrafanaVersionT = Aws::String>
63 SetGrafanaVersion(std::forward<GrafanaVersionT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_configuration;
86
87 Aws::String m_grafanaVersion;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_configurationHasBeenSet = false;
92 bool m_grafanaVersionHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ManagedGrafana
98} // namespace Aws
DescribeWorkspaceConfigurationResult & WithConfiguration(ConfigurationT &&value)
AWS_MANAGEDGRAFANA_API DescribeWorkspaceConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDGRAFANA_API DescribeWorkspaceConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDGRAFANA_API DescribeWorkspaceConfigurationResult()=default
DescribeWorkspaceConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeWorkspaceConfigurationResult & WithGrafanaVersion(GrafanaVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue