AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 UpdatePolicyStoreResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
45 inline UpdatePolicyStoreResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
46 inline UpdatePolicyStoreResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
48
50
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline UpdatePolicyStoreResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline UpdatePolicyStoreResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline UpdatePolicyStoreResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
69 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
70 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
71 inline UpdatePolicyStoreResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
72 inline UpdatePolicyStoreResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
80 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
81 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
83 inline UpdatePolicyStoreResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline UpdatePolicyStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline UpdatePolicyStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline UpdatePolicyStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_policyStoreId;
99
100 Aws::String m_arn;
101
102 Aws::Utils::DateTime m_createdDate;
103
104 Aws::Utils::DateTime m_lastUpdatedDate;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace VerifiedPermissions
111} // namespace Aws
UpdatePolicyStoreResult & WithRequestId(const char *value)
UpdatePolicyStoreResult & WithRequestId(Aws::String &&value)
UpdatePolicyStoreResult & WithArn(const char *value)
UpdatePolicyStoreResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
UpdatePolicyStoreResult & WithArn(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePolicyStoreResult & WithPolicyStoreId(const char *value)
UpdatePolicyStoreResult & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePolicyStoreResult & WithPolicyStoreId(Aws::String &&value)
UpdatePolicyStoreResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
UpdatePolicyStoreResult & WithCreatedDate(Aws::Utils::DateTime &&value)
UpdatePolicyStoreResult & WithArn(Aws::String &&value)
UpdatePolicyStoreResult & WithPolicyStoreId(const Aws::String &value)
UpdatePolicyStoreResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue