AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImplicitDeny.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/model/Policy.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
35 {
36 public:
37 AWS_IOT_API ImplicitDeny();
41
42
44
48 inline const Aws::Vector<Policy>& GetPolicies() const{ return m_policies; }
49 inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; }
50 inline void SetPolicies(const Aws::Vector<Policy>& value) { m_policiesHasBeenSet = true; m_policies = value; }
51 inline void SetPolicies(Aws::Vector<Policy>&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); }
52 inline ImplicitDeny& WithPolicies(const Aws::Vector<Policy>& value) { SetPolicies(value); return *this;}
53 inline ImplicitDeny& WithPolicies(Aws::Vector<Policy>&& value) { SetPolicies(std::move(value)); return *this;}
54 inline ImplicitDeny& AddPolicies(const Policy& value) { m_policiesHasBeenSet = true; m_policies.push_back(value); return *this; }
55 inline ImplicitDeny& AddPolicies(Policy&& value) { m_policiesHasBeenSet = true; m_policies.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<Policy> m_policies;
60 bool m_policiesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace IoT
65} // namespace Aws
ImplicitDeny & AddPolicies(Policy &&value)
void SetPolicies(const Aws::Vector< Policy > &value)
ImplicitDeny & WithPolicies(Aws::Vector< Policy > &&value)
const Aws::Vector< Policy > & GetPolicies() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ImplicitDeny & WithPolicies(const Aws::Vector< Policy > &value)
AWS_IOT_API ImplicitDeny & operator=(Aws::Utils::Json::JsonView jsonValue)
ImplicitDeny & AddPolicies(const Policy &value)
void SetPolicies(Aws::Vector< Policy > &&value)
AWS_IOT_API ImplicitDeny(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue