AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutPolicyResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_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 EntityResolution
24{
25namespace Model
26{
28 {
29 public:
30 AWS_ENTITYRESOLUTION_API PutPolicyResult();
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 PutPolicyResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline PutPolicyResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline PutPolicyResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetPolicy() const{ return m_policy; }
53 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
54 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
55 inline void SetPolicy(const char* value) { m_policy.assign(value); }
56 inline PutPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
57 inline PutPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
58 inline PutPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
60
62
65 inline const Aws::String& GetToken() const{ return m_token; }
66 inline void SetToken(const Aws::String& value) { m_token = value; }
67 inline void SetToken(Aws::String&& value) { m_token = std::move(value); }
68 inline void SetToken(const char* value) { m_token.assign(value); }
69 inline PutPolicyResult& WithToken(const Aws::String& value) { SetToken(value); return *this;}
70 inline PutPolicyResult& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
71 inline PutPolicyResult& WithToken(const char* value) { SetToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline PutPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline PutPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline PutPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_arn;
87
88 Aws::String m_policy;
89
90 Aws::String m_token;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace EntityResolution
97} // namespace Aws
PutPolicyResult & WithArn(const char *value)
PutPolicyResult & WithToken(const char *value)
AWS_ENTITYRESOLUTION_API PutPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutPolicyResult & WithToken(const Aws::String &value)
PutPolicyResult & WithPolicy(const Aws::String &value)
PutPolicyResult & WithArn(const Aws::String &value)
PutPolicyResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
PutPolicyResult & WithPolicy(const char *value)
PutPolicyResult & WithRequestId(const Aws::String &value)
PutPolicyResult & WithPolicy(Aws::String &&value)
void SetToken(const Aws::String &value)
AWS_ENTITYRESOLUTION_API PutPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API PutPolicyResult()
PutPolicyResult & WithToken(Aws::String &&value)
PutPolicyResult & WithArn(Aws::String &&value)
PutPolicyResult & WithRequestId(const char *value)
void SetPolicy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue