AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DashboardValidationMessage.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudWatch
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDWATCH_API DashboardValidationMessage() = default;
35 AWS_CLOUDWATCH_API DashboardValidationMessage(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetDataPath() const { return m_dataPath; }
47 inline bool DataPathHasBeenSet() const { return m_dataPathHasBeenSet; }
48 template<typename DataPathT = Aws::String>
49 void SetDataPath(DataPathT&& value) { m_dataPathHasBeenSet = true; m_dataPath = std::forward<DataPathT>(value); }
50 template<typename DataPathT = Aws::String>
51 DashboardValidationMessage& WithDataPath(DataPathT&& value) { SetDataPath(std::forward<DataPathT>(value)); return *this;}
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template<typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
62 template<typename MessageT = Aws::String>
63 DashboardValidationMessage& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
65 private:
66
67 Aws::String m_dataPath;
68 bool m_dataPathHasBeenSet = false;
69
70 Aws::String m_message;
71 bool m_messageHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudWatch
76} // namespace Aws
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DashboardValidationMessage & WithDataPath(DataPathT &&value)
AWS_CLOUDWATCH_API DashboardValidationMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
DashboardValidationMessage & WithMessage(MessageT &&value)
AWS_CLOUDWATCH_API DashboardValidationMessage()=default
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API DashboardValidationMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream