AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 CreatePolicyStoreResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
45 inline CreatePolicyStoreResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
46 inline CreatePolicyStoreResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline void SetArn(const Aws::String& value) { m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arn.assign(value); }
57 inline CreatePolicyStoreResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline CreatePolicyStoreResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline CreatePolicyStoreResult& WithArn(const char* value) { SetArn(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); }
69 inline CreatePolicyStoreResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
70 inline CreatePolicyStoreResult& 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); }
81 inline CreatePolicyStoreResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
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 CreatePolicyStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline CreatePolicyStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline CreatePolicyStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_policyStoreId;
97
98 Aws::String m_arn;
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
CreatePolicyStoreResult & WithRequestId(const Aws::String &value)
CreatePolicyStoreResult & WithArn(const char *value)
CreatePolicyStoreResult & WithRequestId(Aws::String &&value)
CreatePolicyStoreResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreatePolicyStoreResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
CreatePolicyStoreResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyStoreResult & WithPolicyStoreId(const char *value)
CreatePolicyStoreResult & WithRequestId(const char *value)
CreatePolicyStoreResult & WithPolicyStoreId(const Aws::String &value)
CreatePolicyStoreResult & WithArn(const Aws::String &value)
CreatePolicyStoreResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreatePolicyStoreResult & WithArn(Aws::String &&value)
CreatePolicyStoreResult & WithPolicyStoreId(Aws::String &&value)
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