AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDashboardResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/monitoring/model/ResponseMetadata.h>
10#include <aws/monitoring/model/DashboardValidationMessage.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace CloudWatch
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCH_API PutDashboardResult();
35
36
38
46 inline const Aws::Vector<DashboardValidationMessage>& GetDashboardValidationMessages() const{ return m_dashboardValidationMessages; }
47 inline void SetDashboardValidationMessages(const Aws::Vector<DashboardValidationMessage>& value) { m_dashboardValidationMessages = value; }
48 inline void SetDashboardValidationMessages(Aws::Vector<DashboardValidationMessage>&& value) { m_dashboardValidationMessages = std::move(value); }
51 inline PutDashboardResult& AddDashboardValidationMessages(const DashboardValidationMessage& value) { m_dashboardValidationMessages.push_back(value); return *this; }
52 inline PutDashboardResult& AddDashboardValidationMessages(DashboardValidationMessage&& value) { m_dashboardValidationMessages.push_back(std::move(value)); return *this; }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 inline PutDashboardResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
61 inline PutDashboardResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::Vector<DashboardValidationMessage> m_dashboardValidationMessages;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace CloudWatch
72} // namespace Aws
PutDashboardResult & WithDashboardValidationMessages(const Aws::Vector< DashboardValidationMessage > &value)
PutDashboardResult & WithResponseMetadata(const ResponseMetadata &value)
PutDashboardResult & WithDashboardValidationMessages(Aws::Vector< DashboardValidationMessage > &&value)
void SetDashboardValidationMessages(Aws::Vector< DashboardValidationMessage > &&value)
void SetDashboardValidationMessages(const Aws::Vector< DashboardValidationMessage > &value)
void SetResponseMetadata(ResponseMetadata &&value)
AWS_CLOUDWATCH_API PutDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< DashboardValidationMessage > & GetDashboardValidationMessages() const
void SetResponseMetadata(const ResponseMetadata &value)
PutDashboardResult & AddDashboardValidationMessages(const DashboardValidationMessage &value)
const ResponseMetadata & GetResponseMetadata() const
PutDashboardResult & WithResponseMetadata(ResponseMetadata &&value)
PutDashboardResult & AddDashboardValidationMessages(DashboardValidationMessage &&value)
AWS_CLOUDWATCH_API PutDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument