AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdatePolicyStoreResult.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 UpdatePolicyStoreResult() = default;
34
35
37
40 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
41 template<typename PolicyStoreIdT = Aws::String>
42 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
43 template<typename PolicyStoreIdT = Aws::String>
44 UpdatePolicyStoreResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
46
48
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 UpdatePolicyStoreResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
65 template<typename CreatedDateT = Aws::Utils::DateTime>
66 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
67 template<typename CreatedDateT = Aws::Utils::DateTime>
68 UpdatePolicyStoreResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
76 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
77 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
78 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
79 UpdatePolicyStoreResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template<typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
87 template<typename RequestIdT = Aws::String>
88 UpdatePolicyStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_policyStoreId;
93 bool m_policyStoreIdHasBeenSet = false;
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 Aws::Utils::DateTime m_createdDate{};
99 bool m_createdDateHasBeenSet = false;
100
101 Aws::Utils::DateTime m_lastUpdatedDate{};
102 bool m_lastUpdatedDateHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace VerifiedPermissions
110} // namespace Aws
UpdatePolicyStoreResult & WithRequestId(RequestIdT &&value)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult()=default
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePolicyStoreResult & WithCreatedDate(CreatedDateT &&value)
UpdatePolicyStoreResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
UpdatePolicyStoreResult & WithPolicyStoreId(PolicyStoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue