AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePolicyTemplateResult.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 UpdatePolicyTemplateResult();
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 UpdatePolicyTemplateResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
45 inline UpdatePolicyTemplateResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
46 inline UpdatePolicyTemplateResult& 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 UpdatePolicyTemplateResult& WithPolicyTemplateId(Aws::String&& value) { SetPolicyTemplateId(std::move(value)); return *this;}
59 inline UpdatePolicyTemplateResult& 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 UpdatePolicyTemplateResult& 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 UpdatePolicyTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline UpdatePolicyTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline UpdatePolicyTemplateResult& 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
UpdatePolicyTemplateResult & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePolicyTemplateResult & WithRequestId(const Aws::String &value)
UpdatePolicyTemplateResult & WithRequestId(const char *value)
UpdatePolicyTemplateResult & WithPolicyStoreId(Aws::String &&value)
UpdatePolicyTemplateResult & WithCreatedDate(Aws::Utils::DateTime &&value)
UpdatePolicyTemplateResult & WithPolicyStoreId(const Aws::String &value)
UpdatePolicyTemplateResult & WithPolicyStoreId(const char *value)
UpdatePolicyTemplateResult & WithPolicyTemplateId(const char *value)
UpdatePolicyTemplateResult & WithRequestId(Aws::String &&value)
UpdatePolicyTemplateResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
UpdatePolicyTemplateResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
UpdatePolicyTemplateResult & WithPolicyTemplateId(const Aws::String &value)
UpdatePolicyTemplateResult & WithPolicyTemplateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue