AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
UpdateOmniDashboardRequest.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudWatchOmni {
15namespace Model {
16
20 public:
21 AWS_CLOUDWATCHOMNI_API UpdateOmniDashboardRequest() = 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 "UpdateOmniDashboard"; }
28
29 AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override;
30
31 AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
38 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
39 template <typename SpaceIdT = Aws::String>
40 void SetSpaceId(SpaceIdT&& value) {
41 m_spaceIdHasBeenSet = true;
42 m_spaceId = std::forward<SpaceIdT>(value);
43 }
44 template <typename SpaceIdT = Aws::String>
46 SetSpaceId(std::forward<SpaceIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
56 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
57 template <typename DashboardIdT = Aws::String>
58 void SetDashboardId(DashboardIdT&& value) {
59 m_dashboardIdHasBeenSet = true;
60 m_dashboardId = std::forward<DashboardIdT>(value);
61 }
62 template <typename DashboardIdT = Aws::String>
64 SetDashboardId(std::forward<DashboardIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template <typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) {
95 m_descriptionHasBeenSet = true;
96 m_description = std::forward<DescriptionT>(value);
97 }
98 template <typename DescriptionT = Aws::String>
100 SetDescription(std::forward<DescriptionT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetRequestBody() const { return m_requestBody; }
111 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
112 template <typename RequestBodyT = Aws::String>
113 void SetRequestBody(RequestBodyT&& value) {
114 m_requestBodyHasBeenSet = true;
115 m_requestBody = std::forward<RequestBodyT>(value);
116 }
117 template <typename RequestBodyT = Aws::String>
119 SetRequestBody(std::forward<RequestBodyT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_spaceId;
125
126 Aws::String m_dashboardId;
127
128 Aws::String m_name;
129
130 Aws::String m_description;
131
132 Aws::String m_requestBody;
133 bool m_spaceIdHasBeenSet = false;
134 bool m_dashboardIdHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137 bool m_requestBodyHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace CloudWatchOmni
142} // namespace Aws
UpdateOmniDashboardRequest & WithRequestBody(RequestBodyT &&value)
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateOmniDashboardRequest & WithDashboardId(DashboardIdT &&value)
UpdateOmniDashboardRequest & WithSpaceId(SpaceIdT &&value)
UpdateOmniDashboardRequest & WithDescription(DescriptionT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHOMNI_API UpdateOmniDashboardRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String