AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashboardInvalidInputError.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/DashboardValidationMessage.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudWatch
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CLOUDWATCH_API DashboardInvalidInputError();
37 AWS_CLOUDWATCH_API DashboardInvalidInputError(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
46 inline const Aws::String& GetMessage() const{ return m_message; }
47 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
50 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
51 inline DashboardInvalidInputError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
52 inline DashboardInvalidInputError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
53 inline DashboardInvalidInputError& WithMessage(const char* value) { SetMessage(value); return *this;}
55
57
58 inline const Aws::Vector<DashboardValidationMessage>& GetDashboardValidationMessages() const{ return m_dashboardValidationMessages; }
59 inline bool DashboardValidationMessagesHasBeenSet() const { return m_dashboardValidationMessagesHasBeenSet; }
60 inline void SetDashboardValidationMessages(const Aws::Vector<DashboardValidationMessage>& value) { m_dashboardValidationMessagesHasBeenSet = true; m_dashboardValidationMessages = value; }
61 inline void SetDashboardValidationMessages(Aws::Vector<DashboardValidationMessage>&& value) { m_dashboardValidationMessagesHasBeenSet = true; m_dashboardValidationMessages = std::move(value); }
64 inline DashboardInvalidInputError& AddDashboardValidationMessages(const DashboardValidationMessage& value) { m_dashboardValidationMessagesHasBeenSet = true; m_dashboardValidationMessages.push_back(value); return *this; }
65 inline DashboardInvalidInputError& AddDashboardValidationMessages(DashboardValidationMessage&& value) { m_dashboardValidationMessagesHasBeenSet = true; m_dashboardValidationMessages.push_back(std::move(value)); return *this; }
67 private:
68
69 Aws::String m_message;
70 bool m_messageHasBeenSet = false;
71
72 Aws::Vector<DashboardValidationMessage> m_dashboardValidationMessages;
73 bool m_dashboardValidationMessagesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CloudWatch
78} // namespace Aws
DashboardInvalidInputError & WithMessage(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DashboardInvalidInputError & AddDashboardValidationMessages(const DashboardValidationMessage &value)
DashboardInvalidInputError & AddDashboardValidationMessages(DashboardValidationMessage &&value)
DashboardInvalidInputError & WithMessage(Aws::String &&value)
void SetDashboardValidationMessages(const Aws::Vector< DashboardValidationMessage > &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< DashboardValidationMessage > & GetDashboardValidationMessages() const
AWS_CLOUDWATCH_API DashboardInvalidInputError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DashboardInvalidInputError & WithMessage(const Aws::String &value)
AWS_CLOUDWATCH_API DashboardInvalidInputError(const Aws::Utils::Xml::XmlNode &xmlNode)
DashboardInvalidInputError & WithDashboardValidationMessages(const Aws::Vector< DashboardValidationMessage > &value)
void SetDashboardValidationMessages(Aws::Vector< DashboardValidationMessage > &&value)
DashboardInvalidInputError & WithDashboardValidationMessages(Aws::Vector< DashboardValidationMessage > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream