AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AsnAuthorizationContext.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
37 {
38 public:
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetMessage() const{ return m_message; }
52 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
53 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
54 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
55 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
56 inline AsnAuthorizationContext& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 inline AsnAuthorizationContext& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
58 inline AsnAuthorizationContext& WithMessage(const char* value) { SetMessage(value); return *this;}
60
62
65 inline const Aws::String& GetSignature() const{ return m_signature; }
66 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
67 inline void SetSignature(const Aws::String& value) { m_signatureHasBeenSet = true; m_signature = value; }
68 inline void SetSignature(Aws::String&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
69 inline void SetSignature(const char* value) { m_signatureHasBeenSet = true; m_signature.assign(value); }
70 inline AsnAuthorizationContext& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
71 inline AsnAuthorizationContext& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
72 inline AsnAuthorizationContext& WithSignature(const char* value) { SetSignature(value); return *this;}
74 private:
75
76 Aws::String m_message;
77 bool m_messageHasBeenSet = false;
78
79 Aws::String m_signature;
80 bool m_signatureHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace EC2
85} // namespace Aws
AsnAuthorizationContext & WithMessage(Aws::String &&value)
AsnAuthorizationContext & WithSignature(const Aws::String &value)
AsnAuthorizationContext & WithSignature(Aws::String &&value)
AWS_EC2_API AsnAuthorizationContext & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AsnAuthorizationContext & WithSignature(const char *value)
AWS_EC2_API AsnAuthorizationContext(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AsnAuthorizationContext & WithMessage(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AsnAuthorizationContext & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream