AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CidrAuthorizationContext.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlobalAccelerator
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext() = default;
40 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMessage() const { return m_message; }
50 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
51 template<typename MessageT = Aws::String>
52 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
53 template<typename MessageT = Aws::String>
54 CidrAuthorizationContext& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
56
58
61 inline const Aws::String& GetSignature() const { return m_signature; }
62 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
63 template<typename SignatureT = Aws::String>
64 void SetSignature(SignatureT&& value) { m_signatureHasBeenSet = true; m_signature = std::forward<SignatureT>(value); }
65 template<typename SignatureT = Aws::String>
66 CidrAuthorizationContext& WithSignature(SignatureT&& value) { SetSignature(std::forward<SignatureT>(value)); return *this;}
68 private:
69
70 Aws::String m_message;
71 bool m_messageHasBeenSet = false;
72
73 Aws::String m_signature;
74 bool m_signatureHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GlobalAccelerator
79} // namespace Aws
CidrAuthorizationContext & WithMessage(MessageT &&value)
AWS_GLOBALACCELERATOR_API CidrAuthorizationContext()=default
CidrAuthorizationContext & WithSignature(SignatureT &&value)
AWS_GLOBALACCELERATOR_API CidrAuthorizationContext(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API CidrAuthorizationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue