AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
CidrAuthorizationContext.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GlobalAccelerator {
20namespace Model {
21
33 public:
34 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext() = default;
35 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GLOBALACCELERATOR_API CidrAuthorizationContext& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetMessage() const { return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 template <typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) {
47 m_messageHasBeenSet = true;
48 m_message = std::forward<MessageT>(value);
49 }
50 template <typename MessageT = Aws::String>
52 SetMessage(std::forward<MessageT>(value));
53 return *this;
54 }
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) {
65 m_signatureHasBeenSet = true;
66 m_signature = std::forward<SignatureT>(value);
67 }
68 template <typename SignatureT = Aws::String>
70 SetSignature(std::forward<SignatureT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_message;
76
77 Aws::String m_signature;
78 bool m_messageHasBeenSet = false;
79 bool m_signatureHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace GlobalAccelerator
84} // 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