AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyTemplateItem.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 PolicyTemplateItem();
39 AWS_VERIFIEDPERMISSIONS_API PolicyTemplateItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API PolicyTemplateItem& 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 PolicyTemplateItem& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
54 inline PolicyTemplateItem& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
55 inline PolicyTemplateItem& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
57
59
62 inline const Aws::String& GetPolicyTemplateId() const{ return m_policyTemplateId; }
63 inline bool PolicyTemplateIdHasBeenSet() const { return m_policyTemplateIdHasBeenSet; }
64 inline void SetPolicyTemplateId(const Aws::String& value) { m_policyTemplateIdHasBeenSet = true; m_policyTemplateId = value; }
65 inline void SetPolicyTemplateId(Aws::String&& value) { m_policyTemplateIdHasBeenSet = true; m_policyTemplateId = std::move(value); }
66 inline void SetPolicyTemplateId(const char* value) { m_policyTemplateIdHasBeenSet = true; m_policyTemplateId.assign(value); }
67 inline PolicyTemplateItem& WithPolicyTemplateId(const Aws::String& value) { SetPolicyTemplateId(value); return *this;}
68 inline PolicyTemplateItem& WithPolicyTemplateId(Aws::String&& value) { SetPolicyTemplateId(std::move(value)); return *this;}
69 inline PolicyTemplateItem& WithPolicyTemplateId(const char* value) { SetPolicyTemplateId(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline PolicyTemplateItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline PolicyTemplateItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline PolicyTemplateItem& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
91 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
92 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
93 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
94 inline PolicyTemplateItem& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
95 inline PolicyTemplateItem& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
103 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
104 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
105 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
107 inline PolicyTemplateItem& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_policyStoreId;
112 bool m_policyStoreIdHasBeenSet = false;
113
114 Aws::String m_policyTemplateId;
115 bool m_policyTemplateIdHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::Utils::DateTime m_createdDate;
121 bool m_createdDateHasBeenSet = false;
122
123 Aws::Utils::DateTime m_lastUpdatedDate;
124 bool m_lastUpdatedDateHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace VerifiedPermissions
129} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyTemplateItem & WithPolicyTemplateId(Aws::String &&value)
PolicyTemplateItem & WithPolicyTemplateId(const char *value)
PolicyTemplateItem & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
AWS_VERIFIEDPERMISSIONS_API PolicyTemplateItem()
PolicyTemplateItem & WithPolicyStoreId(const char *value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API PolicyTemplateItem(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
PolicyTemplateItem & WithDescription(const char *value)
PolicyTemplateItem & WithPolicyStoreId(const Aws::String &value)
PolicyTemplateItem & WithPolicyTemplateId(const Aws::String &value)
PolicyTemplateItem & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_VERIFIEDPERMISSIONS_API PolicyTemplateItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(const Aws::Utils::DateTime &value)
PolicyTemplateItem & WithCreatedDate(Aws::Utils::DateTime &&value)
PolicyTemplateItem & WithDescription(Aws::String &&value)
PolicyTemplateItem & WithDescription(const Aws::String &value)
PolicyTemplateItem & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
PolicyTemplateItem & WithPolicyStoreId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue