AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidChangeBatch.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 Route53
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ROUTE53_API InvalidChangeBatch();
37 AWS_ROUTE53_API InvalidChangeBatch(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ROUTE53_API InvalidChangeBatch& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetMessages() const{ return m_messages; }
48 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
49 inline void SetMessages(const Aws::Vector<Aws::String>& value) { m_messagesHasBeenSet = true; m_messages = value; }
50 inline void SetMessages(Aws::Vector<Aws::String>&& value) { m_messagesHasBeenSet = true; m_messages = std::move(value); }
51 inline InvalidChangeBatch& WithMessages(const Aws::Vector<Aws::String>& value) { SetMessages(value); return *this;}
52 inline InvalidChangeBatch& WithMessages(Aws::Vector<Aws::String>&& value) { SetMessages(std::move(value)); return *this;}
53 inline InvalidChangeBatch& AddMessages(const Aws::String& value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; }
54 inline InvalidChangeBatch& AddMessages(Aws::String&& value) { m_messagesHasBeenSet = true; m_messages.push_back(std::move(value)); return *this; }
55 inline InvalidChangeBatch& AddMessages(const char* value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; }
57
59
60 inline const Aws::String& GetMessage() const{ return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
63 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
64 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 inline InvalidChangeBatch& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
66 inline InvalidChangeBatch& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
67 inline InvalidChangeBatch& WithMessage(const char* value) { SetMessage(value); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_messages;
72 bool m_messagesHasBeenSet = false;
73
74 Aws::String m_message;
75 bool m_messageHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Route53
80} // namespace Aws
const Aws::Vector< Aws::String > & GetMessages() const
InvalidChangeBatch & AddMessages(Aws::String &&value)
InvalidChangeBatch & AddMessages(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetMessages(Aws::Vector< Aws::String > &&value)
InvalidChangeBatch & WithMessages(const Aws::Vector< Aws::String > &value)
InvalidChangeBatch & AddMessages(const char *value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InvalidChangeBatch & WithMessage(const char *value)
AWS_ROUTE53_API InvalidChangeBatch(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API InvalidChangeBatch & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidChangeBatch & WithMessage(Aws::String &&value)
InvalidChangeBatch & WithMessages(Aws::Vector< Aws::String > &&value)
void SetMessages(const Aws::Vector< Aws::String > &value)
InvalidChangeBatch & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector