This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/ExplicitDeny.h

90 lines
2.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iot/model/Policy.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* <p>Information that explicitly denies authorization.</p><p><h3>See Also:</h3>
* <a href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ExplicitDeny">AWS
* API Reference</a></p>
*/
class AWS_IOT_API ExplicitDeny
{
public:
ExplicitDeny();
ExplicitDeny(Aws::Utils::Json::JsonView jsonValue);
ExplicitDeny& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The policies that denied the authorization.</p>
*/
inline const Aws::Vector<Policy>& GetPolicies() const{ return m_policies; }
/**
* <p>The policies that denied the authorization.</p>
*/
inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; }
/**
* <p>The policies that denied the authorization.</p>
*/
inline void SetPolicies(const Aws::Vector<Policy>& value) { m_policiesHasBeenSet = true; m_policies = value; }
/**
* <p>The policies that denied the authorization.</p>
*/
inline void SetPolicies(Aws::Vector<Policy>&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); }
/**
* <p>The policies that denied the authorization.</p>
*/
inline ExplicitDeny& WithPolicies(const Aws::Vector<Policy>& value) { SetPolicies(value); return *this;}
/**
* <p>The policies that denied the authorization.</p>
*/
inline ExplicitDeny& WithPolicies(Aws::Vector<Policy>&& value) { SetPolicies(std::move(value)); return *this;}
/**
* <p>The policies that denied the authorization.</p>
*/
inline ExplicitDeny& AddPolicies(const Policy& value) { m_policiesHasBeenSet = true; m_policies.push_back(value); return *this; }
/**
* <p>The policies that denied the authorization.</p>
*/
inline ExplicitDeny& AddPolicies(Policy&& value) { m_policiesHasBeenSet = true; m_policies.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Policy> m_policies;
bool m_policiesHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws