AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CidrAuthorizationContext.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
33 public:
34 AWS_EC2_API CidrAuthorizationContext() = default;
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
45 inline const Aws::String& GetMessage() const { return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 template <typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) {
49 m_messageHasBeenSet = true;
50 m_message = std::forward<MessageT>(value);
51 }
52 template <typename MessageT = Aws::String>
54 SetMessage(std::forward<MessageT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetSignature() const { return m_signature; }
64 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
65 template <typename SignatureT = Aws::String>
66 void SetSignature(SignatureT&& value) {
67 m_signatureHasBeenSet = true;
68 m_signature = std::forward<SignatureT>(value);
69 }
70 template <typename SignatureT = Aws::String>
72 SetSignature(std::forward<SignatureT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_message;
78
79 Aws::String m_signature;
80 bool m_messageHasBeenSet = false;
81 bool m_signatureHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace EC2
86} // namespace Aws
AWS_EC2_API CidrAuthorizationContext(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CidrAuthorizationContext & WithSignature(SignatureT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CidrAuthorizationContext & WithMessage(MessageT &&value)
AWS_EC2_API CidrAuthorizationContext()=default
AWS_EC2_API CidrAuthorizationContext & 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