AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Denied.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ImplicitDeny.h>
9#include <aws/iot/model/ExplicitDeny.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
32 class Denied
33 {
34 public:
35 AWS_IOT_API Denied() = default;
36 AWS_IOT_API Denied(Aws::Utils::Json::JsonView jsonValue);
39
40
42
47 inline const ImplicitDeny& GetImplicitDeny() const { return m_implicitDeny; }
48 inline bool ImplicitDenyHasBeenSet() const { return m_implicitDenyHasBeenSet; }
49 template<typename ImplicitDenyT = ImplicitDeny>
50 void SetImplicitDeny(ImplicitDenyT&& value) { m_implicitDenyHasBeenSet = true; m_implicitDeny = std::forward<ImplicitDenyT>(value); }
51 template<typename ImplicitDenyT = ImplicitDeny>
52 Denied& WithImplicitDeny(ImplicitDenyT&& value) { SetImplicitDeny(std::forward<ImplicitDenyT>(value)); return *this;}
54
56
59 inline const ExplicitDeny& GetExplicitDeny() const { return m_explicitDeny; }
60 inline bool ExplicitDenyHasBeenSet() const { return m_explicitDenyHasBeenSet; }
61 template<typename ExplicitDenyT = ExplicitDeny>
62 void SetExplicitDeny(ExplicitDenyT&& value) { m_explicitDenyHasBeenSet = true; m_explicitDeny = std::forward<ExplicitDenyT>(value); }
63 template<typename ExplicitDenyT = ExplicitDeny>
64 Denied& WithExplicitDeny(ExplicitDenyT&& value) { SetExplicitDeny(std::forward<ExplicitDenyT>(value)); return *this;}
66 private:
67
68 ImplicitDeny m_implicitDeny;
69 bool m_implicitDenyHasBeenSet = false;
70
71 ExplicitDeny m_explicitDeny;
72 bool m_explicitDenyHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
AWS_IOT_API Denied & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImplicitDeny(ImplicitDenyT &&value)
Definition Denied.h:50
AWS_IOT_API Denied()=default
AWS_IOT_API Denied(Aws::Utils::Json::JsonView jsonValue)
const ImplicitDeny & GetImplicitDeny() const
Definition Denied.h:47
bool ImplicitDenyHasBeenSet() const
Definition Denied.h:48
Denied & WithImplicitDeny(ImplicitDenyT &&value)
Definition Denied.h:52
const ExplicitDeny & GetExplicitDeny() const
Definition Denied.h:59
Denied & WithExplicitDeny(ExplicitDenyT &&value)
Definition Denied.h:64
void SetExplicitDeny(ExplicitDenyT &&value)
Definition Denied.h:62
bool ExplicitDenyHasBeenSet() const
Definition Denied.h:60
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue