AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetPolicyInputItem.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VerifiedPermissions
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem() = default;
36 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
47 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
48 template<typename PolicyStoreIdT = Aws::String>
49 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
50 template<typename PolicyStoreIdT = Aws::String>
51 BatchGetPolicyInputItem& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPolicyId() const { return m_policyId; }
59 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
60 template<typename PolicyIdT = Aws::String>
61 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet = true; m_policyId = std::forward<PolicyIdT>(value); }
62 template<typename PolicyIdT = Aws::String>
63 BatchGetPolicyInputItem& WithPolicyId(PolicyIdT&& value) { SetPolicyId(std::forward<PolicyIdT>(value)); return *this;}
65 private:
66
67 Aws::String m_policyStoreId;
68 bool m_policyStoreIdHasBeenSet = false;
69
70 Aws::String m_policyId;
71 bool m_policyIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace VerifiedPermissions
76} // namespace Aws
BatchGetPolicyInputItem & WithPolicyStoreId(PolicyStoreIdT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem(Aws::Utils::Json::JsonView jsonValue)
BatchGetPolicyInputItem & WithPolicyId(PolicyIdT &&value)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue