AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateResourcePolicyResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_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 LexModelsV2
24{
25namespace Model
26{
28 {
29 public:
30 AWS_LEXMODELSV2_API CreateResourcePolicyResult();
33
34
36
40 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
41 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
42 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
43 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
44 inline CreateResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
45 inline CreateResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
46 inline CreateResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
48
50
55 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
56 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
57 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
58 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
59 inline CreateResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
60 inline CreateResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
61 inline CreateResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline CreateResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::String m_resourceArn;
77
78 Aws::String m_revisionId;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace LexModelsV2
85} // namespace Aws
CreateResourcePolicyResult & WithResourceArn(const char *value)
CreateResourcePolicyResult & WithResourceArn(const Aws::String &value)
AWS_LEXMODELSV2_API CreateResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourcePolicyResult & WithRevisionId(const Aws::String &value)
AWS_LEXMODELSV2_API CreateResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourcePolicyResult & WithRequestId(const char *value)
CreateResourcePolicyResult & WithRevisionId(Aws::String &&value)
CreateResourcePolicyResult & WithRequestId(Aws::String &&value)
CreateResourcePolicyResult & WithRequestId(const Aws::String &value)
CreateResourcePolicyResult & WithRevisionId(const char *value)
CreateResourcePolicyResult & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue