AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccessPolicyResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOTSITEWISE_API CreateAccessPolicyResult();
33
34
36
39 inline const Aws::String& GetAccessPolicyId() const{ return m_accessPolicyId; }
40 inline void SetAccessPolicyId(const Aws::String& value) { m_accessPolicyId = value; }
41 inline void SetAccessPolicyId(Aws::String&& value) { m_accessPolicyId = std::move(value); }
42 inline void SetAccessPolicyId(const char* value) { m_accessPolicyId.assign(value); }
43 inline CreateAccessPolicyResult& WithAccessPolicyId(const Aws::String& value) { SetAccessPolicyId(value); return *this;}
44 inline CreateAccessPolicyResult& WithAccessPolicyId(Aws::String&& value) { SetAccessPolicyId(std::move(value)); return *this;}
45 inline CreateAccessPolicyResult& WithAccessPolicyId(const char* value) { SetAccessPolicyId(value); return *this;}
47
49
56 inline const Aws::String& GetAccessPolicyArn() const{ return m_accessPolicyArn; }
57 inline void SetAccessPolicyArn(const Aws::String& value) { m_accessPolicyArn = value; }
58 inline void SetAccessPolicyArn(Aws::String&& value) { m_accessPolicyArn = std::move(value); }
59 inline void SetAccessPolicyArn(const char* value) { m_accessPolicyArn.assign(value); }
60 inline CreateAccessPolicyResult& WithAccessPolicyArn(const Aws::String& value) { SetAccessPolicyArn(value); return *this;}
61 inline CreateAccessPolicyResult& WithAccessPolicyArn(Aws::String&& value) { SetAccessPolicyArn(std::move(value)); return *this;}
62 inline CreateAccessPolicyResult& WithAccessPolicyArn(const char* value) { SetAccessPolicyArn(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline CreateAccessPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline CreateAccessPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline CreateAccessPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_accessPolicyId;
78
79 Aws::String m_accessPolicyArn;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace IoTSiteWise
86} // namespace Aws
CreateAccessPolicyResult & WithAccessPolicyArn(const char *value)
CreateAccessPolicyResult & WithAccessPolicyId(const Aws::String &value)
CreateAccessPolicyResult & WithAccessPolicyArn(Aws::String &&value)
AWS_IOTSITEWISE_API CreateAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessPolicyResult & WithAccessPolicyId(const char *value)
CreateAccessPolicyResult & WithRequestId(const char *value)
CreateAccessPolicyResult & WithAccessPolicyId(Aws::String &&value)
CreateAccessPolicyResult & WithRequestId(Aws::String &&value)
CreateAccessPolicyResult & WithRequestId(const Aws::String &value)
CreateAccessPolicyResult & WithAccessPolicyArn(const Aws::String &value)
AWS_IOTSITEWISE_API CreateAccessPolicyResult(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