AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreatePolicyStoreResult.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 CreatePolicyStoreResult() = 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 CreatePolicyStoreResult& WithPolicyStoreId(PolicyStoreIdT&& value) {
43 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
70 template <typename CreatedDateT = Aws::Utils::DateTime>
71 void SetCreatedDate(CreatedDateT&& value) {
72 m_createdDateHasBeenSet = true;
73 m_createdDate = std::forward<CreatedDateT>(value);
74 }
75 template <typename CreatedDateT = Aws::Utils::DateTime>
77 SetCreatedDate(std::forward<CreatedDateT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
87 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
88 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
89 m_lastUpdatedDateHasBeenSet = true;
90 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
91 }
92 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
93 CreatePolicyStoreResult& WithLastUpdatedDate(LastUpdatedDateT&& value) {
94 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_policyStoreId;
117
118 Aws::String m_arn;
119
120 Aws::Utils::DateTime m_createdDate{};
121
122 Aws::Utils::DateTime m_lastUpdatedDate{};
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_policyStoreIdHasBeenSet = false;
127 bool m_arnHasBeenSet = false;
128 bool m_createdDateHasBeenSet = false;
129 bool m_lastUpdatedDateHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace VerifiedPermissions
135} // namespace Aws
CreatePolicyStoreResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
CreatePolicyStoreResult & WithPolicyStoreId(PolicyStoreIdT &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyStoreResult & WithCreatedDate(CreatedDateT &&value)
CreatePolicyStoreResult & WithRequestId(RequestIdT &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyStoreResult()=default
AWS_VERIFIEDPERMISSIONS_API CreatePolicyStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue