AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImplicitDeny(const ImplicitDeny& value) { m_implicitDenyHasBeenSet = true; m_implicitDeny = value; }
50 inline void SetImplicitDeny(ImplicitDeny&& value) { m_implicitDenyHasBeenSet = true; m_implicitDeny = std::move(value); }
51 inline Denied& WithImplicitDeny(const ImplicitDeny& value) { SetImplicitDeny(value); return *this;}
52 inline Denied& WithImplicitDeny(ImplicitDeny&& value) { SetImplicitDeny(std::move(value)); return *this;}
54
56
59 inline const ExplicitDeny& GetExplicitDeny() const{ return m_explicitDeny; }
60 inline bool ExplicitDenyHasBeenSet() const { return m_explicitDenyHasBeenSet; }
61 inline void SetExplicitDeny(const ExplicitDeny& value) { m_explicitDenyHasBeenSet = true; m_explicitDeny = value; }
62 inline void SetExplicitDeny(ExplicitDeny&& value) { m_explicitDenyHasBeenSet = true; m_explicitDeny = std::move(value); }
63 inline Denied& WithExplicitDeny(const ExplicitDeny& value) { SetExplicitDeny(value); return *this;}
64 inline Denied& WithExplicitDeny(ExplicitDeny&& value) { SetExplicitDeny(std::move(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
void SetImplicitDeny(const ImplicitDeny &value)
Definition Denied.h:49
AWS_IOT_API Denied & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImplicitDeny(ImplicitDeny &&value)
Definition Denied.h:50
Denied & WithImplicitDeny(ImplicitDeny &&value)
Definition Denied.h:52
Denied & WithExplicitDeny(ExplicitDeny &&value)
Definition Denied.h:64
AWS_IOT_API Denied(Aws::Utils::Json::JsonView jsonValue)
void SetExplicitDeny(const ExplicitDeny &value)
Definition Denied.h:61
const ImplicitDeny & GetImplicitDeny() const
Definition Denied.h:47
bool ImplicitDenyHasBeenSet() const
Definition Denied.h:48
const ExplicitDeny & GetExplicitDeny() const
Definition Denied.h:59
bool ExplicitDenyHasBeenSet() const
Definition Denied.h:60
Denied & WithImplicitDeny(const ImplicitDeny &value)
Definition Denied.h:51
void SetExplicitDeny(ExplicitDeny &&value)
Definition Denied.h:62
Denied & WithExplicitDeny(const ExplicitDeny &value)
Definition Denied.h:63
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue