AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PolicyStoreItem.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 VerifiedPermissions
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem() = default;
39 AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
49 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
50 template<typename PolicyStoreIdT = Aws::String>
51 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
52 template<typename PolicyStoreIdT = Aws::String>
53 PolicyStoreItem& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template<typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
64 template<typename ArnT = Aws::String>
65 PolicyStoreItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
73 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
74 template<typename CreatedDateT = Aws::Utils::DateTime>
75 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
76 template<typename CreatedDateT = Aws::Utils::DateTime>
77 PolicyStoreItem& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
85 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
86 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
87 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
88 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
89 PolicyStoreItem& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
91
93
97 inline const Aws::String& GetDescription() const { return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 template<typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
101 template<typename DescriptionT = Aws::String>
102 PolicyStoreItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
104 private:
105
106 Aws::String m_policyStoreId;
107 bool m_policyStoreIdHasBeenSet = false;
108
109 Aws::String m_arn;
110 bool m_arnHasBeenSet = false;
111
112 Aws::Utils::DateTime m_createdDate{};
113 bool m_createdDateHasBeenSet = false;
114
115 Aws::Utils::DateTime m_lastUpdatedDate{};
116 bool m_lastUpdatedDateHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace VerifiedPermissions
124} // namespace Aws
PolicyStoreItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
PolicyStoreItem & WithDescription(DescriptionT &&value)
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem()=default
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyStoreItem & WithPolicyStoreId(PolicyStoreIdT &&value)
PolicyStoreItem & WithCreatedDate(CreatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDate(LastUpdatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue