AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDashboardResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/monitoring/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudWatch
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDWATCH_API GetDashboardResult() = default;
34
35
37
40 inline const Aws::String& GetDashboardArn() const { return m_dashboardArn; }
41 template<typename DashboardArnT = Aws::String>
42 void SetDashboardArn(DashboardArnT&& value) { m_dashboardArnHasBeenSet = true; m_dashboardArn = std::forward<DashboardArnT>(value); }
43 template<typename DashboardArnT = Aws::String>
44 GetDashboardResult& WithDashboardArn(DashboardArnT&& value) { SetDashboardArn(std::forward<DashboardArnT>(value)); return *this;}
46
48
55 inline const Aws::String& GetDashboardBody() const { return m_dashboardBody; }
56 template<typename DashboardBodyT = Aws::String>
57 void SetDashboardBody(DashboardBodyT&& value) { m_dashboardBodyHasBeenSet = true; m_dashboardBody = std::forward<DashboardBodyT>(value); }
58 template<typename DashboardBodyT = Aws::String>
59 GetDashboardResult& WithDashboardBody(DashboardBodyT&& value) { SetDashboardBody(std::forward<DashboardBodyT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDashboardName() const { return m_dashboardName; }
67 template<typename DashboardNameT = Aws::String>
68 void SetDashboardName(DashboardNameT&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::forward<DashboardNameT>(value); }
69 template<typename DashboardNameT = Aws::String>
70 GetDashboardResult& WithDashboardName(DashboardNameT&& value) { SetDashboardName(std::forward<DashboardNameT>(value)); return *this;}
72
74
75 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
76 template<typename ResponseMetadataT = ResponseMetadata>
77 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
78 template<typename ResponseMetadataT = ResponseMetadata>
79 GetDashboardResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
81 private:
82
83 Aws::String m_dashboardArn;
84 bool m_dashboardArnHasBeenSet = false;
85
86 Aws::String m_dashboardBody;
87 bool m_dashboardBodyHasBeenSet = false;
88
89 Aws::String m_dashboardName;
90 bool m_dashboardNameHasBeenSet = false;
91
92 ResponseMetadata m_responseMetadata;
93 bool m_responseMetadataHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudWatch
98} // namespace Aws
AWS_CLOUDWATCH_API GetDashboardResult()=default
GetDashboardResult & WithDashboardArn(DashboardArnT &&value)
AWS_CLOUDWATCH_API GetDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetDashboardResult & WithDashboardName(DashboardNameT &&value)
void SetDashboardName(DashboardNameT &&value)
void SetDashboardBody(DashboardBodyT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
GetDashboardResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDWATCH_API GetDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetDashboardResult & WithDashboardBody(DashboardBodyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument