AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAccessPolicyResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/Identity.h>
10#include <aws/iotsitewise/model/Resource.h>
11#include <aws/iotsitewise/model/Permission.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTSiteWise
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTSITEWISE_API DescribeAccessPolicyResult();
37
38
40
43 inline const Aws::String& GetAccessPolicyId() const{ return m_accessPolicyId; }
44 inline void SetAccessPolicyId(const Aws::String& value) { m_accessPolicyId = value; }
45 inline void SetAccessPolicyId(Aws::String&& value) { m_accessPolicyId = std::move(value); }
46 inline void SetAccessPolicyId(const char* value) { m_accessPolicyId.assign(value); }
47 inline DescribeAccessPolicyResult& WithAccessPolicyId(const Aws::String& value) { SetAccessPolicyId(value); return *this;}
48 inline DescribeAccessPolicyResult& WithAccessPolicyId(Aws::String&& value) { SetAccessPolicyId(std::move(value)); return *this;}
49 inline DescribeAccessPolicyResult& WithAccessPolicyId(const char* value) { SetAccessPolicyId(value); return *this;}
51
53
60 inline const Aws::String& GetAccessPolicyArn() const{ return m_accessPolicyArn; }
61 inline void SetAccessPolicyArn(const Aws::String& value) { m_accessPolicyArn = value; }
62 inline void SetAccessPolicyArn(Aws::String&& value) { m_accessPolicyArn = std::move(value); }
63 inline void SetAccessPolicyArn(const char* value) { m_accessPolicyArn.assign(value); }
65 inline DescribeAccessPolicyResult& WithAccessPolicyArn(Aws::String&& value) { SetAccessPolicyArn(std::move(value)); return *this;}
66 inline DescribeAccessPolicyResult& WithAccessPolicyArn(const char* value) { SetAccessPolicyArn(value); return *this;}
68
70
74 inline const Identity& GetAccessPolicyIdentity() const{ return m_accessPolicyIdentity; }
75 inline void SetAccessPolicyIdentity(const Identity& value) { m_accessPolicyIdentity = value; }
76 inline void SetAccessPolicyIdentity(Identity&& value) { m_accessPolicyIdentity = std::move(value); }
78 inline DescribeAccessPolicyResult& WithAccessPolicyIdentity(Identity&& value) { SetAccessPolicyIdentity(std::move(value)); return *this;}
80
82
86 inline const Resource& GetAccessPolicyResource() const{ return m_accessPolicyResource; }
87 inline void SetAccessPolicyResource(const Resource& value) { m_accessPolicyResource = value; }
88 inline void SetAccessPolicyResource(Resource&& value) { m_accessPolicyResource = std::move(value); }
90 inline DescribeAccessPolicyResult& WithAccessPolicyResource(Resource&& value) { SetAccessPolicyResource(std::move(value)); return *this;}
92
94
98 inline const Permission& GetAccessPolicyPermission() const{ return m_accessPolicyPermission; }
99 inline void SetAccessPolicyPermission(const Permission& value) { m_accessPolicyPermission = value; }
100 inline void SetAccessPolicyPermission(Permission&& value) { m_accessPolicyPermission = std::move(value); }
104
106
109 inline const Aws::Utils::DateTime& GetAccessPolicyCreationDate() const{ return m_accessPolicyCreationDate; }
110 inline void SetAccessPolicyCreationDate(const Aws::Utils::DateTime& value) { m_accessPolicyCreationDate = value; }
111 inline void SetAccessPolicyCreationDate(Aws::Utils::DateTime&& value) { m_accessPolicyCreationDate = std::move(value); }
115
117
120 inline const Aws::Utils::DateTime& GetAccessPolicyLastUpdateDate() const{ return m_accessPolicyLastUpdateDate; }
121 inline void SetAccessPolicyLastUpdateDate(const Aws::Utils::DateTime& value) { m_accessPolicyLastUpdateDate = value; }
122 inline void SetAccessPolicyLastUpdateDate(Aws::Utils::DateTime&& value) { m_accessPolicyLastUpdateDate = std::move(value); }
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline DescribeAccessPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline DescribeAccessPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline DescribeAccessPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::String m_accessPolicyId;
140
141 Aws::String m_accessPolicyArn;
142
143 Identity m_accessPolicyIdentity;
144
145 Resource m_accessPolicyResource;
146
147 Permission m_accessPolicyPermission;
148
149 Aws::Utils::DateTime m_accessPolicyCreationDate;
150
151 Aws::Utils::DateTime m_accessPolicyLastUpdateDate;
152
153 Aws::String m_requestId;
154 };
155
156} // namespace Model
157} // namespace IoTSiteWise
158} // namespace Aws
void SetAccessPolicyLastUpdateDate(const Aws::Utils::DateTime &value)
DescribeAccessPolicyResult & WithAccessPolicyIdentity(Identity &&value)
const Aws::Utils::DateTime & GetAccessPolicyLastUpdateDate() const
DescribeAccessPolicyResult & WithRequestId(Aws::String &&value)
DescribeAccessPolicyResult & WithAccessPolicyPermission(const Permission &value)
DescribeAccessPolicyResult & WithAccessPolicyResource(Resource &&value)
DescribeAccessPolicyResult & WithAccessPolicyPermission(Permission &&value)
DescribeAccessPolicyResult & WithAccessPolicyArn(const Aws::String &value)
DescribeAccessPolicyResult & WithAccessPolicyLastUpdateDate(const Aws::Utils::DateTime &value)
DescribeAccessPolicyResult & WithAccessPolicyResource(const Resource &value)
DescribeAccessPolicyResult & WithAccessPolicyId(Aws::String &&value)
DescribeAccessPolicyResult & WithAccessPolicyId(const char *value)
DescribeAccessPolicyResult & WithRequestId(const char *value)
DescribeAccessPolicyResult & WithAccessPolicyId(const Aws::String &value)
void SetAccessPolicyCreationDate(const Aws::Utils::DateTime &value)
DescribeAccessPolicyResult & WithRequestId(const Aws::String &value)
AWS_IOTSITEWISE_API DescribeAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccessPolicyResult & WithAccessPolicyLastUpdateDate(Aws::Utils::DateTime &&value)
DescribeAccessPolicyResult & WithAccessPolicyIdentity(const Identity &value)
DescribeAccessPolicyResult & WithAccessPolicyArn(Aws::String &&value)
DescribeAccessPolicyResult & WithAccessPolicyCreationDate(Aws::Utils::DateTime &&value)
DescribeAccessPolicyResult & WithAccessPolicyArn(const char *value)
AWS_IOTSITEWISE_API DescribeAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccessPolicyResult & WithAccessPolicyCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetAccessPolicyCreationDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue