AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetVariableError.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_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 FraudDetector
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FRAUDDETECTOR_API BatchGetVariableError() = default;
36 AWS_FRAUDDETECTOR_API BatchGetVariableError(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 BatchGetVariableError& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline int GetCode() const { return m_code; }
58 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
59 inline void SetCode(int value) { m_codeHasBeenSet = true; m_code = value; }
60 inline BatchGetVariableError& WithCode(int value) { SetCode(value); return *this;}
62
64
67 inline const Aws::String& GetMessage() const { return m_message; }
68 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
69 template<typename MessageT = Aws::String>
70 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
71 template<typename MessageT = Aws::String>
72 BatchGetVariableError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 int m_code{0};
80 bool m_codeHasBeenSet = false;
81
82 Aws::String m_message;
83 bool m_messageHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FraudDetector
88} // namespace Aws
BatchGetVariableError & WithName(NameT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API BatchGetVariableError(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API BatchGetVariableError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API BatchGetVariableError()=default
BatchGetVariableError & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue