AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDashboardRequest.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudWatch
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDWATCH_API PutDashboardRequest();
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 "PutDashboard"; }
31
32 AWS_CLOUDWATCH_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline const Aws::String& GetDashboardName() const{ return m_dashboardName; }
47 inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
48 inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
49 inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
50 inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
51 inline PutDashboardRequest& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
52 inline PutDashboardRequest& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
53 inline PutDashboardRequest& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
55
57
64 inline const Aws::String& GetDashboardBody() const{ return m_dashboardBody; }
65 inline bool DashboardBodyHasBeenSet() const { return m_dashboardBodyHasBeenSet; }
66 inline void SetDashboardBody(const Aws::String& value) { m_dashboardBodyHasBeenSet = true; m_dashboardBody = value; }
67 inline void SetDashboardBody(Aws::String&& value) { m_dashboardBodyHasBeenSet = true; m_dashboardBody = std::move(value); }
68 inline void SetDashboardBody(const char* value) { m_dashboardBodyHasBeenSet = true; m_dashboardBody.assign(value); }
69 inline PutDashboardRequest& WithDashboardBody(const Aws::String& value) { SetDashboardBody(value); return *this;}
70 inline PutDashboardRequest& WithDashboardBody(Aws::String&& value) { SetDashboardBody(std::move(value)); return *this;}
71 inline PutDashboardRequest& WithDashboardBody(const char* value) { SetDashboardBody(value); return *this;}
73 private:
74
75 Aws::String m_dashboardName;
76 bool m_dashboardNameHasBeenSet = false;
77
78 Aws::String m_dashboardBody;
79 bool m_dashboardBodyHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudWatch
84} // namespace Aws
PutDashboardRequest & WithDashboardBody(Aws::String &&value)
PutDashboardRequest & WithDashboardBody(const Aws::String &value)
void SetDashboardBody(const Aws::String &value)
void SetDashboardName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutDashboardRequest & WithDashboardName(const char *value)
PutDashboardRequest & WithDashboardName(Aws::String &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
PutDashboardRequest & WithDashboardName(const Aws::String &value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PutDashboardRequest & WithDashboardBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String