AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeAccessPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace IoTSiteWise
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetAccessPolicyId() const{ return m_accessPolicyId; }
43 
47  inline void SetAccessPolicyId(const Aws::String& value) { m_accessPolicyId = value; }
48 
52  inline void SetAccessPolicyId(Aws::String&& value) { m_accessPolicyId = std::move(value); }
53 
57  inline void SetAccessPolicyId(const char* value) { m_accessPolicyId.assign(value); }
58 
62  inline DescribeAccessPolicyResult& WithAccessPolicyId(const Aws::String& value) { SetAccessPolicyId(value); return *this;}
63 
67  inline DescribeAccessPolicyResult& WithAccessPolicyId(Aws::String&& value) { SetAccessPolicyId(std::move(value)); return *this;}
68 
72  inline DescribeAccessPolicyResult& WithAccessPolicyId(const char* value) { SetAccessPolicyId(value); return *this;}
73 
74 
82  inline const Aws::String& GetAccessPolicyArn() const{ return m_accessPolicyArn; }
83 
91  inline void SetAccessPolicyArn(const Aws::String& value) { m_accessPolicyArn = value; }
92 
100  inline void SetAccessPolicyArn(Aws::String&& value) { m_accessPolicyArn = std::move(value); }
101 
109  inline void SetAccessPolicyArn(const char* value) { m_accessPolicyArn.assign(value); }
110 
118  inline DescribeAccessPolicyResult& WithAccessPolicyArn(const Aws::String& value) { SetAccessPolicyArn(value); return *this;}
119 
127  inline DescribeAccessPolicyResult& WithAccessPolicyArn(Aws::String&& value) { SetAccessPolicyArn(std::move(value)); return *this;}
128 
136  inline DescribeAccessPolicyResult& WithAccessPolicyArn(const char* value) { SetAccessPolicyArn(value); return *this;}
137 
138 
143  inline const Identity& GetAccessPolicyIdentity() const{ return m_accessPolicyIdentity; }
144 
149  inline void SetAccessPolicyIdentity(const Identity& value) { m_accessPolicyIdentity = value; }
150 
155  inline void SetAccessPolicyIdentity(Identity&& value) { m_accessPolicyIdentity = std::move(value); }
156 
161  inline DescribeAccessPolicyResult& WithAccessPolicyIdentity(const Identity& value) { SetAccessPolicyIdentity(value); return *this;}
162 
167  inline DescribeAccessPolicyResult& WithAccessPolicyIdentity(Identity&& value) { SetAccessPolicyIdentity(std::move(value)); return *this;}
168 
169 
174  inline const Resource& GetAccessPolicyResource() const{ return m_accessPolicyResource; }
175 
180  inline void SetAccessPolicyResource(const Resource& value) { m_accessPolicyResource = value; }
181 
186  inline void SetAccessPolicyResource(Resource&& value) { m_accessPolicyResource = std::move(value); }
187 
192  inline DescribeAccessPolicyResult& WithAccessPolicyResource(const Resource& value) { SetAccessPolicyResource(value); return *this;}
193 
198  inline DescribeAccessPolicyResult& WithAccessPolicyResource(Resource&& value) { SetAccessPolicyResource(std::move(value)); return *this;}
199 
200 
205  inline const Permission& GetAccessPolicyPermission() const{ return m_accessPolicyPermission; }
206 
211  inline void SetAccessPolicyPermission(const Permission& value) { m_accessPolicyPermission = value; }
212 
217  inline void SetAccessPolicyPermission(Permission&& value) { m_accessPolicyPermission = std::move(value); }
218 
223  inline DescribeAccessPolicyResult& WithAccessPolicyPermission(const Permission& value) { SetAccessPolicyPermission(value); return *this;}
224 
229  inline DescribeAccessPolicyResult& WithAccessPolicyPermission(Permission&& value) { SetAccessPolicyPermission(std::move(value)); return *this;}
230 
231 
235  inline const Aws::Utils::DateTime& GetAccessPolicyCreationDate() const{ return m_accessPolicyCreationDate; }
236 
240  inline void SetAccessPolicyCreationDate(const Aws::Utils::DateTime& value) { m_accessPolicyCreationDate = value; }
241 
245  inline void SetAccessPolicyCreationDate(Aws::Utils::DateTime&& value) { m_accessPolicyCreationDate = std::move(value); }
246 
250  inline DescribeAccessPolicyResult& WithAccessPolicyCreationDate(const Aws::Utils::DateTime& value) { SetAccessPolicyCreationDate(value); return *this;}
251 
255  inline DescribeAccessPolicyResult& WithAccessPolicyCreationDate(Aws::Utils::DateTime&& value) { SetAccessPolicyCreationDate(std::move(value)); return *this;}
256 
257 
261  inline const Aws::Utils::DateTime& GetAccessPolicyLastUpdateDate() const{ return m_accessPolicyLastUpdateDate; }
262 
266  inline void SetAccessPolicyLastUpdateDate(const Aws::Utils::DateTime& value) { m_accessPolicyLastUpdateDate = value; }
267 
271  inline void SetAccessPolicyLastUpdateDate(Aws::Utils::DateTime&& value) { m_accessPolicyLastUpdateDate = std::move(value); }
272 
276  inline DescribeAccessPolicyResult& WithAccessPolicyLastUpdateDate(const Aws::Utils::DateTime& value) { SetAccessPolicyLastUpdateDate(value); return *this;}
277 
281  inline DescribeAccessPolicyResult& WithAccessPolicyLastUpdateDate(Aws::Utils::DateTime&& value) { SetAccessPolicyLastUpdateDate(std::move(value)); return *this;}
282 
283  private:
284 
285  Aws::String m_accessPolicyId;
286 
287  Aws::String m_accessPolicyArn;
288 
289  Identity m_accessPolicyIdentity;
290 
291  Resource m_accessPolicyResource;
292 
293  Permission m_accessPolicyPermission;
294 
295  Aws::Utils::DateTime m_accessPolicyCreationDate;
296 
297  Aws::Utils::DateTime m_accessPolicyLastUpdateDate;
298  };
299 
300 } // namespace Model
301 } // namespace IoTSiteWise
302 } // namespace Aws
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyArn
DescribeAccessPolicyResult & WithAccessPolicyArn(const char *value)
Definition: DescribeAccessPolicyResult.h:136
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyArn
DescribeAccessPolicyResult & WithAccessPolicyArn(Aws::String &&value)
Definition: DescribeAccessPolicyResult.h:127
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyCreationDate
void SetAccessPolicyCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeAccessPolicyResult.h:240
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyLastUpdateDate
void SetAccessPolicyLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeAccessPolicyResult.h:271
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyId
DescribeAccessPolicyResult & WithAccessPolicyId(Aws::String &&value)
Definition: DescribeAccessPolicyResult.h:67
Permission.h
Resource.h
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyCreationDate
DescribeAccessPolicyResult & WithAccessPolicyCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeAccessPolicyResult.h:255
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(Aws::String &&value)
Definition: DescribeAccessPolicyResult.h:52
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyResource
DescribeAccessPolicyResult & WithAccessPolicyResource(const Resource &value)
Definition: DescribeAccessPolicyResult.h:192
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyPermission
DescribeAccessPolicyResult & WithAccessPolicyPermission(Permission &&value)
Definition: DescribeAccessPolicyResult.h:229
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyPermission
void SetAccessPolicyPermission(const Permission &value)
Definition: DescribeAccessPolicyResult.h:211
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult
Definition: DescribeAccessPolicyResult.h:32
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(Aws::String &&value)
Definition: DescribeAccessPolicyResult.h:100
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyIdentity
void SetAccessPolicyIdentity(Identity &&value)
Definition: DescribeAccessPolicyResult.h:155
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::DescribeAccessPolicyResult
DescribeAccessPolicyResult()
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyPermission
const Permission & GetAccessPolicyPermission() const
Definition: DescribeAccessPolicyResult.h:205
Identity.h
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyId
DescribeAccessPolicyResult & WithAccessPolicyId(const char *value)
Definition: DescribeAccessPolicyResult.h:72
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::operator=
DescribeAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyPermission
void SetAccessPolicyPermission(Permission &&value)
Definition: DescribeAccessPolicyResult.h:217
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(const Aws::String &value)
Definition: DescribeAccessPolicyResult.h:47
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(const char *value)
Definition: DescribeAccessPolicyResult.h:109
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyId
DescribeAccessPolicyResult & WithAccessPolicyId(const Aws::String &value)
Definition: DescribeAccessPolicyResult.h:62
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyResource
const Resource & GetAccessPolicyResource() const
Definition: DescribeAccessPolicyResult.h:174
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyPermission
DescribeAccessPolicyResult & WithAccessPolicyPermission(const Permission &value)
Definition: DescribeAccessPolicyResult.h:223
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyId
const Aws::String & GetAccessPolicyId() const
Definition: DescribeAccessPolicyResult.h:42
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyIdentity
DescribeAccessPolicyResult & WithAccessPolicyIdentity(Identity &&value)
Definition: DescribeAccessPolicyResult.h:167
AWSString.h
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyCreationDate
void SetAccessPolicyCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeAccessPolicyResult.h:245
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyArn
DescribeAccessPolicyResult & WithAccessPolicyArn(const Aws::String &value)
Definition: DescribeAccessPolicyResult.h:118
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyResource
void SetAccessPolicyResource(Resource &&value)
Definition: DescribeAccessPolicyResult.h:186
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyLastUpdateDate
const Aws::Utils::DateTime & GetAccessPolicyLastUpdateDate() const
Definition: DescribeAccessPolicyResult.h:261
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyCreationDate
const Aws::Utils::DateTime & GetAccessPolicyCreationDate() const
Definition: DescribeAccessPolicyResult.h:235
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyLastUpdateDate
DescribeAccessPolicyResult & WithAccessPolicyLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeAccessPolicyResult.h:281
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyIdentity
void SetAccessPolicyIdentity(const Identity &value)
Definition: DescribeAccessPolicyResult.h:149
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyResource
DescribeAccessPolicyResult & WithAccessPolicyResource(Resource &&value)
Definition: DescribeAccessPolicyResult.h:198
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyLastUpdateDate
DescribeAccessPolicyResult & WithAccessPolicyLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeAccessPolicyResult.h:276
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyCreationDate
DescribeAccessPolicyResult & WithAccessPolicyCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeAccessPolicyResult.h:250
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyLastUpdateDate
void SetAccessPolicyLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeAccessPolicyResult.h:266
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(const Aws::String &value)
Definition: DescribeAccessPolicyResult.h:91
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyArn
const Aws::String & GetAccessPolicyArn() const
Definition: DescribeAccessPolicyResult.h:82
Aws::IoTSiteWise::Model::Permission
Permission
Definition: Permission.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::Identity
Definition: Identity.h:40
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::GetAccessPolicyIdentity
const Identity & GetAccessPolicyIdentity() const
Definition: DescribeAccessPolicyResult.h:143
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(const char *value)
Definition: DescribeAccessPolicyResult.h:57
Aws::IoTSiteWise::Model::Resource
Definition: Resource.h:34
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::WithAccessPolicyIdentity
DescribeAccessPolicyResult & WithAccessPolicyIdentity(const Identity &value)
Definition: DescribeAccessPolicyResult.h:161
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::SetAccessPolicyResource
void SetAccessPolicyResource(const Resource &value)
Definition: DescribeAccessPolicyResult.h:180
Aws::IoTSiteWise::Model::DescribeAccessPolicyResult::DescribeAccessPolicyResult
DescribeAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)