AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SubmissionRequirement.h
1
6#pragma once
7#include <aws/abuse-signal/AbuseSignal_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AbuseSignal {
20namespace Model {
21
32 public:
33 AWS_ABUSESIGNAL_API SubmissionRequirement() = default;
34 AWS_ABUSESIGNAL_API SubmissionRequirement(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ABUSESIGNAL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
70 inline const Aws::String& GetCode() const { return m_code; }
71 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
72 template <typename CodeT = Aws::String>
73 void SetCode(CodeT&& value) {
74 m_codeHasBeenSet = true;
75 m_code = std::forward<CodeT>(value);
76 }
77 template <typename CodeT = Aws::String>
79 SetCode(std::forward<CodeT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::String& GetPath() const { return m_path; }
90 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
91 template <typename PathT = Aws::String>
92 void SetPath(PathT&& value) {
93 m_pathHasBeenSet = true;
94 m_path = std::forward<PathT>(value);
95 }
96 template <typename PathT = Aws::String>
98 SetPath(std::forward<PathT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetMessage() const { return m_message; }
109 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
110 template <typename MessageT = Aws::String>
111 void SetMessage(MessageT&& value) {
112 m_messageHasBeenSet = true;
113 m_message = std::forward<MessageT>(value);
114 }
115 template <typename MessageT = Aws::String>
117 SetMessage(std::forward<MessageT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_code;
123
124 Aws::String m_path;
125
126 Aws::String m_message;
127 bool m_codeHasBeenSet = false;
128 bool m_pathHasBeenSet = false;
129 bool m_messageHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace AbuseSignal
134} // namespace Aws
AWS_ABUSESIGNAL_API SubmissionRequirement(Aws::Utils::Json::JsonView jsonValue)
AWS_ABUSESIGNAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ABUSESIGNAL_API SubmissionRequirement()=default
SubmissionRequirement & WithCode(CodeT &&value)
SubmissionRequirement & WithPath(PathT &&value)
AWS_ABUSESIGNAL_API SubmissionRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
SubmissionRequirement & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue