AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePolicyTemplateResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace VerifiedPermissions
25{
26namespace Model
27{
29 {
30 public:
31 AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult();
34
35
37
40 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
41 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreId = value; }
42 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreId = std::move(value); }
43 inline void SetPolicyStoreId(const char* value) { m_policyStoreId.assign(value); }
44 inline CreatePolicyTemplateResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
45 inline CreatePolicyTemplateResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
46 inline CreatePolicyTemplateResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
48
50
53 inline const Aws::String& GetPolicyTemplateId() const{ return m_policyTemplateId; }
54 inline void SetPolicyTemplateId(const Aws::String& value) { m_policyTemplateId = value; }
55 inline void SetPolicyTemplateId(Aws::String&& value) { m_policyTemplateId = std::move(value); }
56 inline void SetPolicyTemplateId(const char* value) { m_policyTemplateId.assign(value); }
58 inline CreatePolicyTemplateResult& WithPolicyTemplateId(Aws::String&& value) { SetPolicyTemplateId(std::move(value)); return *this;}
59 inline CreatePolicyTemplateResult& WithPolicyTemplateId(const char* value) { SetPolicyTemplateId(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
67 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
68 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
70 inline CreatePolicyTemplateResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
78 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
79 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline CreatePolicyTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline CreatePolicyTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline CreatePolicyTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_policyStoreId;
97
98 Aws::String m_policyTemplateId;
99
100 Aws::Utils::DateTime m_createdDate;
101
102 Aws::Utils::DateTime m_lastUpdatedDate;
103
104 Aws::String m_requestId;
105 };
106
107} // namespace Model
108} // namespace VerifiedPermissions
109} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyTemplateResult & WithPolicyStoreId(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyTemplateResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreatePolicyTemplateResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreatePolicyTemplateResult & WithRequestId(Aws::String &&value)
CreatePolicyTemplateResult & WithPolicyTemplateId(const Aws::String &value)
CreatePolicyTemplateResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
CreatePolicyTemplateResult & WithRequestId(const char *value)
CreatePolicyTemplateResult & WithPolicyStoreId(const Aws::String &value)
CreatePolicyTemplateResult & WithRequestId(const Aws::String &value)
CreatePolicyTemplateResult & WithPolicyTemplateId(Aws::String &&value)
CreatePolicyTemplateResult & WithPolicyStoreId(const char *value)
CreatePolicyTemplateResult & WithPolicyTemplateId(const char *value)
CreatePolicyTemplateResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue