AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdatePolicyStoreResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace VerifiedPermissions {
24namespace Model {
26 public:
27 AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult() = default;
30
32
35 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
36 template <typename PolicyStoreIdT = Aws::String>
37 void SetPolicyStoreId(PolicyStoreIdT&& value) {
38 m_policyStoreIdHasBeenSet = true;
39 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
40 }
41 template <typename PolicyStoreIdT = Aws::String>
42 UpdatePolicyStoreResult& WithPolicyStoreId(PolicyStoreIdT&& value) {
43 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
44 return *this;
45 }
47
49
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
72 template <typename CreatedDateT = Aws::Utils::DateTime>
73 void SetCreatedDate(CreatedDateT&& value) {
74 m_createdDateHasBeenSet = true;
75 m_createdDate = std::forward<CreatedDateT>(value);
76 }
77 template <typename CreatedDateT = Aws::Utils::DateTime>
79 SetCreatedDate(std::forward<CreatedDateT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
89 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
90 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
91 m_lastUpdatedDateHasBeenSet = true;
92 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
93 }
94 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
95 UpdatePolicyStoreResult& WithLastUpdatedDate(LastUpdatedDateT&& value) {
96 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_policyStoreId;
119
120 Aws::String m_arn;
121
122 Aws::Utils::DateTime m_createdDate{};
123
124 Aws::Utils::DateTime m_lastUpdatedDate{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_policyStoreIdHasBeenSet = false;
129 bool m_arnHasBeenSet = false;
130 bool m_createdDateHasBeenSet = false;
131 bool m_lastUpdatedDateHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace VerifiedPermissions
137} // 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