AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetPolicyOutputItem.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/PolicyType.h>
10#include <aws/verifiedpermissions/model/PolicyDefinitionDetail.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace VerifiedPermissions
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem() = default;
39 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
50 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
51 template<typename PolicyStoreIdT = Aws::String>
52 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
53 template<typename PolicyStoreIdT = Aws::String>
54 BatchGetPolicyOutputItem& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetPolicyId() const { return m_policyId; }
62 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
63 template<typename PolicyIdT = Aws::String>
64 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet = true; m_policyId = std::forward<PolicyIdT>(value); }
65 template<typename PolicyIdT = Aws::String>
66 BatchGetPolicyOutputItem& WithPolicyId(PolicyIdT&& value) { SetPolicyId(std::forward<PolicyIdT>(value)); return *this;}
68
70
75 inline PolicyType GetPolicyType() const { return m_policyType; }
76 inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
77 inline void SetPolicyType(PolicyType value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
78 inline BatchGetPolicyOutputItem& WithPolicyType(PolicyType value) { SetPolicyType(value); return *this;}
80
82
85 inline const PolicyDefinitionDetail& GetDefinition() const { return m_definition; }
86 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
87 template<typename DefinitionT = PolicyDefinitionDetail>
88 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
89 template<typename DefinitionT = PolicyDefinitionDetail>
90 BatchGetPolicyOutputItem& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
98 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
99 template<typename CreatedDateT = Aws::Utils::DateTime>
100 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
101 template<typename CreatedDateT = Aws::Utils::DateTime>
102 BatchGetPolicyOutputItem& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
110 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
111 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
112 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
113 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
114 BatchGetPolicyOutputItem& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
116 private:
117
118 Aws::String m_policyStoreId;
119 bool m_policyStoreIdHasBeenSet = false;
120
121 Aws::String m_policyId;
122 bool m_policyIdHasBeenSet = false;
123
124 PolicyType m_policyType{PolicyType::NOT_SET};
125 bool m_policyTypeHasBeenSet = false;
126
127 PolicyDefinitionDetail m_definition;
128 bool m_definitionHasBeenSet = false;
129
130 Aws::Utils::DateTime m_createdDate{};
131 bool m_createdDateHasBeenSet = false;
132
133 Aws::Utils::DateTime m_lastUpdatedDate{};
134 bool m_lastUpdatedDateHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace VerifiedPermissions
139} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetPolicyOutputItem & WithPolicyStoreId(PolicyStoreIdT &&value)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem()=default
BatchGetPolicyOutputItem & WithPolicyId(PolicyIdT &&value)
BatchGetPolicyOutputItem & WithDefinition(DefinitionT &&value)
BatchGetPolicyOutputItem & WithPolicyType(PolicyType value)
BatchGetPolicyOutputItem & WithCreatedDate(CreatedDateT &&value)
BatchGetPolicyOutputItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue