AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
51 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
52 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
53 inline PolicyStoreItem& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
54 inline PolicyStoreItem& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
55 inline PolicyStoreItem& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline PolicyStoreItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline PolicyStoreItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline PolicyStoreItem& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
77 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
78 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
79 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
80 inline PolicyStoreItem& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
81 inline PolicyStoreItem& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
89 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
90 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
91 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
92 inline PolicyStoreItem& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
93 inline PolicyStoreItem& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
95
97
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline PolicyStoreItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline PolicyStoreItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline PolicyStoreItem& WithDescription(const char* value) { SetDescription(value); return *this;}
110 private:
111
112 Aws::String m_policyStoreId;
113 bool m_policyStoreIdHasBeenSet = false;
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdDate;
119 bool m_createdDateHasBeenSet = false;
120
121 Aws::Utils::DateTime m_lastUpdatedDate;
122 bool m_lastUpdatedDateHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace VerifiedPermissions
130} // namespace Aws
PolicyStoreItem & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
PolicyStoreItem & WithPolicyStoreId(Aws::String &&value)
PolicyStoreItem & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetPolicyStoreId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
PolicyStoreItem & WithArn(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PolicyStoreItem & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
PolicyStoreItem & WithPolicyStoreId(const char *value)
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyStoreItem & WithCreatedDate(Aws::Utils::DateTime &&value)
PolicyStoreItem & WithPolicyStoreId(const Aws::String &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
PolicyStoreItem & WithDescription(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem()
PolicyStoreItem & WithDescription(const Aws::String &value)
PolicyStoreItem & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API PolicyStoreItem(Aws::Utils::Json::JsonView jsonValue)
PolicyStoreItem & WithArn(Aws::String &&value)
PolicyStoreItem & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue