AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IpamCidrAuthorizationContext.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
30 AWS_EC2_API IpamCidrAuthorizationContext() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetMessage() const { return m_message; }
42 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
43 template <typename MessageT = Aws::String>
44 void SetMessage(MessageT&& value) {
45 m_messageHasBeenSet = true;
46 m_message = std::forward<MessageT>(value);
47 }
48 template <typename MessageT = Aws::String>
50 SetMessage(std::forward<MessageT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSignature() const { return m_signature; }
60 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
61 template <typename SignatureT = Aws::String>
62 void SetSignature(SignatureT&& value) {
63 m_signatureHasBeenSet = true;
64 m_signature = std::forward<SignatureT>(value);
65 }
66 template <typename SignatureT = Aws::String>
68 SetSignature(std::forward<SignatureT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_message;
74
75 Aws::String m_signature;
76 bool m_messageHasBeenSet = false;
77 bool m_signatureHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
AWS_EC2_API IpamCidrAuthorizationContext & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API IpamCidrAuthorizationContext(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamCidrAuthorizationContext & WithMessage(MessageT &&value)
IpamCidrAuthorizationContext & WithSignature(SignatureT &&value)
AWS_EC2_API IpamCidrAuthorizationContext()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream