AWS SDK for C++  1.9.129
AWS SDK for C++
Denied.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Denied();
39 
40 
46  inline const ImplicitDeny& GetImplicitDeny() const{ return m_implicitDeny; }
47 
53  inline bool ImplicitDenyHasBeenSet() const { return m_implicitDenyHasBeenSet; }
54 
60  inline void SetImplicitDeny(const ImplicitDeny& value) { m_implicitDenyHasBeenSet = true; m_implicitDeny = value; }
61 
67  inline void SetImplicitDeny(ImplicitDeny&& value) { m_implicitDenyHasBeenSet = true; m_implicitDeny = std::move(value); }
68 
74  inline Denied& WithImplicitDeny(const ImplicitDeny& value) { SetImplicitDeny(value); return *this;}
75 
81  inline Denied& WithImplicitDeny(ImplicitDeny&& value) { SetImplicitDeny(std::move(value)); return *this;}
82 
83 
87  inline const ExplicitDeny& GetExplicitDeny() const{ return m_explicitDeny; }
88 
92  inline bool ExplicitDenyHasBeenSet() const { return m_explicitDenyHasBeenSet; }
93 
97  inline void SetExplicitDeny(const ExplicitDeny& value) { m_explicitDenyHasBeenSet = true; m_explicitDeny = value; }
98 
102  inline void SetExplicitDeny(ExplicitDeny&& value) { m_explicitDenyHasBeenSet = true; m_explicitDeny = std::move(value); }
103 
107  inline Denied& WithExplicitDeny(const ExplicitDeny& value) { SetExplicitDeny(value); return *this;}
108 
112  inline Denied& WithExplicitDeny(ExplicitDeny&& value) { SetExplicitDeny(std::move(value)); return *this;}
113 
114  private:
115 
116  ImplicitDeny m_implicitDeny;
117  bool m_implicitDenyHasBeenSet;
118 
119  ExplicitDeny m_explicitDeny;
120  bool m_explicitDenyHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace IoT
125 } // namespace Aws
Aws::IoT::Model::Denied::WithExplicitDeny
Denied & WithExplicitDeny(const ExplicitDeny &value)
Definition: Denied.h:107
Aws::IoT::Model::Denied::operator=
Denied & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::Denied::SetExplicitDeny
void SetExplicitDeny(const ExplicitDeny &value)
Definition: Denied.h:97
ImplicitDeny.h
ExplicitDeny.h
Aws::IoT::Model::Denied::Denied
Denied()
Aws::IoT::Model::Denied::ExplicitDenyHasBeenSet
bool ExplicitDenyHasBeenSet() const
Definition: Denied.h:92
Aws::IoT::Model::Denied::GetExplicitDeny
const ExplicitDeny & GetExplicitDeny() const
Definition: Denied.h:87
Aws::IoT::Model::ExplicitDeny
Definition: ExplicitDeny.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::Denied::WithExplicitDeny
Denied & WithExplicitDeny(ExplicitDeny &&value)
Definition: Denied.h:112
Aws::IoT::Model::Denied::SetImplicitDeny
void SetImplicitDeny(const ImplicitDeny &value)
Definition: Denied.h:60
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ImplicitDeny
Definition: ImplicitDeny.h:35
Aws::IoT::Model::Denied::WithImplicitDeny
Denied & WithImplicitDeny(ImplicitDeny &&value)
Definition: Denied.h:81
Aws::IoT::Model::Denied::Denied
Denied(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::Denied::ImplicitDenyHasBeenSet
bool ImplicitDenyHasBeenSet() const
Definition: Denied.h:53
Aws::IoT::Model::Denied::SetImplicitDeny
void SetImplicitDeny(ImplicitDeny &&value)
Definition: Denied.h:67
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::Denied
Definition: Denied.h:33
Aws::IoT::Model::Denied::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::Denied::WithImplicitDeny
Denied & WithImplicitDeny(const ImplicitDeny &value)
Definition: Denied.h:74
Aws::IoT::Model::Denied::GetImplicitDeny
const ImplicitDeny & GetImplicitDeny() const
Definition: Denied.h:46
Aws::IoT::Model::Denied::SetExplicitDeny
void SetExplicitDeny(ExplicitDeny &&value)
Definition: Denied.h:102
IoT_EXPORTS.h