AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
41
42
44
48 inline const Aws::Vector<Policy>& GetPolicies() const { return m_policies; }
49 inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; }
50 template<typename PoliciesT = Aws::Vector<Policy>>
51 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet = true; m_policies = std::forward<PoliciesT>(value); }
52 template<typename PoliciesT = Aws::Vector<Policy>>
53 ImplicitDeny& WithPolicies(PoliciesT&& value) { SetPolicies(std::forward<PoliciesT>(value)); return *this;}
54 template<typename PoliciesT = Policy>
55 ImplicitDeny& AddPolicies(PoliciesT&& value) { m_policiesHasBeenSet = true; m_policies.emplace_back(std::forward<PoliciesT>(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
void SetPolicies(PoliciesT &&value)
ImplicitDeny & AddPolicies(PoliciesT &&value)
const Aws::Vector< Policy > & GetPolicies() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API ImplicitDeny()=default
AWS_IOT_API ImplicitDeny & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ImplicitDeny(Aws::Utils::Json::JsonView jsonValue)
ImplicitDeny & WithPolicies(PoliciesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue