AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreatePolicyStoreResult.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 CreatePolicyStoreResult() = 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 CreatePolicyStoreResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 CreatePolicyStoreResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
63 template<typename CreatedDateT = Aws::Utils::DateTime>
64 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
65 template<typename CreatedDateT = Aws::Utils::DateTime>
66 CreatePolicyStoreResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
74 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
75 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
76 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
77 CreatePolicyStoreResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 CreatePolicyStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_policyStoreId;
91 bool m_policyStoreIdHasBeenSet = false;
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::Utils::DateTime m_createdDate{};
97 bool m_createdDateHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastUpdatedDate{};
100 bool m_lastUpdatedDateHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace VerifiedPermissions
108} // 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