AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
BatchGetPolicyInputItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace VerifiedPermissions {
20namespace Model {
21
29 public:
30 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem() = default;
31 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem(Aws::Utils::Json::JsonView jsonValue);
32 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyInputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
41 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
42 template <typename PolicyStoreIdT = Aws::String>
43 void SetPolicyStoreId(PolicyStoreIdT&& value) {
44 m_policyStoreIdHasBeenSet = true;
45 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
46 }
47 template <typename PolicyStoreIdT = Aws::String>
48 BatchGetPolicyInputItem& WithPolicyStoreId(PolicyStoreIdT&& value) {
49 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
50 return *this;
51 }
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) {
62 m_policyIdHasBeenSet = true;
63 m_policyId = std::forward<PolicyIdT>(value);
64 }
65 template <typename PolicyIdT = Aws::String>
67 SetPolicyId(std::forward<PolicyIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_policyStoreId;
73
74 Aws::String m_policyId;
75 bool m_policyStoreIdHasBeenSet = false;
76 bool m_policyIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace VerifiedPermissions
81} // 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