AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AllowDenyList.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
32 {
33 public:
34 AWS_FRAUDDETECTOR_API AllowDenyList() = default;
35 AWS_FRAUDDETECTOR_API AllowDenyList(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API AllowDenyList& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 AllowDenyList& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 AllowDenyList& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVariableType() const { return m_variableType; }
69 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
70 template<typename VariableTypeT = Aws::String>
71 void SetVariableType(VariableTypeT&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::forward<VariableTypeT>(value); }
72 template<typename VariableTypeT = Aws::String>
73 AllowDenyList& WithVariableType(VariableTypeT&& value) { SetVariableType(std::forward<VariableTypeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
81 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
82 template<typename CreatedTimeT = Aws::String>
83 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
84 template<typename CreatedTimeT = Aws::String>
85 AllowDenyList& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
93 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
94 template<typename UpdatedTimeT = Aws::String>
95 void SetUpdatedTime(UpdatedTimeT&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::forward<UpdatedTimeT>(value); }
96 template<typename UpdatedTimeT = Aws::String>
97 AllowDenyList& WithUpdatedTime(UpdatedTimeT&& value) { SetUpdatedTime(std::forward<UpdatedTimeT>(value)); return *this;}
99
101
104 inline const Aws::String& GetArn() const { return m_arn; }
105 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
106 template<typename ArnT = Aws::String>
107 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
108 template<typename ArnT = Aws::String>
109 AllowDenyList& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 Aws::String m_variableType;
120 bool m_variableTypeHasBeenSet = false;
121
122 Aws::String m_createdTime;
123 bool m_createdTimeHasBeenSet = false;
124
125 Aws::String m_updatedTime;
126 bool m_updatedTimeHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace FraudDetector
134} // namespace Aws
AWS_FRAUDDETECTOR_API AllowDenyList()=default
AllowDenyList & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AllowDenyList & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetUpdatedTime() const
void SetVariableType(VariableTypeT &&value)
void SetUpdatedTime(UpdatedTimeT &&value)
AllowDenyList & WithName(NameT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCreatedTime() const
AWS_FRAUDDETECTOR_API AllowDenyList & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
AllowDenyList & WithVariableType(VariableTypeT &&value)
const Aws::String & GetVariableType() const
AllowDenyList & WithArn(ArnT &&value)
const Aws::String & GetArn() const
AllowDenyList & WithUpdatedTime(UpdatedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
AWS_FRAUDDETECTOR_API AllowDenyList(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue