AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExplicitDeny.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
33 {
34 public:
35 AWS_IOT_API ExplicitDeny();
39
40
42
45 inline const Aws::Vector<Policy>& GetPolicies() const{ return m_policies; }
46 inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; }
47 inline void SetPolicies(const Aws::Vector<Policy>& value) { m_policiesHasBeenSet = true; m_policies = value; }
48 inline void SetPolicies(Aws::Vector<Policy>&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); }
49 inline ExplicitDeny& WithPolicies(const Aws::Vector<Policy>& value) { SetPolicies(value); return *this;}
50 inline ExplicitDeny& WithPolicies(Aws::Vector<Policy>&& value) { SetPolicies(std::move(value)); return *this;}
51 inline ExplicitDeny& AddPolicies(const Policy& value) { m_policiesHasBeenSet = true; m_policies.push_back(value); return *this; }
52 inline ExplicitDeny& AddPolicies(Policy&& value) { m_policiesHasBeenSet = true; m_policies.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<Policy> m_policies;
57 bool m_policiesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IoT
62} // namespace Aws
ExplicitDeny & AddPolicies(Policy &&value)
AWS_IOT_API ExplicitDeny & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Policy > & GetPolicies() const
ExplicitDeny & WithPolicies(Aws::Vector< Policy > &&value)
AWS_IOT_API ExplicitDeny(Aws::Utils::Json::JsonView jsonValue)
void SetPolicies(Aws::Vector< Policy > &&value)
ExplicitDeny & AddPolicies(const Policy &value)
ExplicitDeny & WithPolicies(const Aws::Vector< Policy > &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicies(const Aws::Vector< Policy > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue