AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourcePolicyResult.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_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 SecretsManager
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SECRETSMANAGER_API GetResourcePolicyResult();
33
34
36
39 inline const Aws::String& GetARN() const{ return m_aRN; }
40 inline void SetARN(const Aws::String& value) { m_aRN = value; }
41 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
42 inline void SetARN(const char* value) { m_aRN.assign(value); }
43 inline GetResourcePolicyResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
44 inline GetResourcePolicyResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
45 inline GetResourcePolicyResult& WithARN(const char* value) { SetARN(value); return *this;}
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline void SetName(const Aws::String& value) { m_name = value; }
54 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
55 inline void SetName(const char* value) { m_name.assign(value); }
56 inline GetResourcePolicyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline GetResourcePolicyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline GetResourcePolicyResult& WithName(const char* value) { SetName(value); return *this;}
60
62
68 inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; }
69 inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicy = value; }
70 inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicy = std::move(value); }
71 inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); }
72 inline GetResourcePolicyResult& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;}
73 inline GetResourcePolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;}
74 inline GetResourcePolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_aRN;
90
91 Aws::String m_name;
92
93 Aws::String m_resourcePolicy;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace SecretsManager
100} // namespace Aws
GetResourcePolicyResult & WithName(const char *value)
GetResourcePolicyResult & WithResourcePolicy(const Aws::String &value)
GetResourcePolicyResult & WithResourcePolicy(Aws::String &&value)
GetResourcePolicyResult & WithRequestId(Aws::String &&value)
GetResourcePolicyResult & WithResourcePolicy(const char *value)
GetResourcePolicyResult & WithName(Aws::String &&value)
GetResourcePolicyResult & WithARN(const char *value)
GetResourcePolicyResult & WithARN(const Aws::String &value)
GetResourcePolicyResult & WithName(const Aws::String &value)
GetResourcePolicyResult & WithRequestId(const char *value)
AWS_SECRETSMANAGER_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithARN(Aws::String &&value)
AWS_SECRETSMANAGER_API GetResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue