AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddPolicyStatementResult.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 AddPolicyStatementResult();
33
34
36
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline AddPolicyStatementResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline AddPolicyStatementResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline AddPolicyStatementResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetPolicy() const{ return m_policy; }
54 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
55 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
56 inline void SetPolicy(const char* value) { m_policy.assign(value); }
57 inline AddPolicyStatementResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
58 inline AddPolicyStatementResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
59 inline AddPolicyStatementResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
61
63
66 inline const Aws::String& GetToken() const{ return m_token; }
67 inline void SetToken(const Aws::String& value) { m_token = value; }
68 inline void SetToken(Aws::String&& value) { m_token = std::move(value); }
69 inline void SetToken(const char* value) { m_token.assign(value); }
70 inline AddPolicyStatementResult& WithToken(const Aws::String& value) { SetToken(value); return *this;}
71 inline AddPolicyStatementResult& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
72 inline AddPolicyStatementResult& WithToken(const char* value) { SetToken(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline AddPolicyStatementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline AddPolicyStatementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline AddPolicyStatementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_arn;
88
89 Aws::String m_policy;
90
91 Aws::String m_token;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace EntityResolution
98} // namespace Aws
AddPolicyStatementResult & WithPolicy(Aws::String &&value)
AddPolicyStatementResult & WithToken(Aws::String &&value)
AddPolicyStatementResult & WithPolicy(const Aws::String &value)
AddPolicyStatementResult & WithPolicy(const char *value)
AWS_ENTITYRESOLUTION_API AddPolicyStatementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddPolicyStatementResult & WithToken(const Aws::String &value)
AddPolicyStatementResult & WithRequestId(const char *value)
AddPolicyStatementResult & WithArn(const char *value)
AddPolicyStatementResult & WithArn(Aws::String &&value)
AddPolicyStatementResult & WithRequestId(Aws::String &&value)
AddPolicyStatementResult & WithToken(const char *value)
AddPolicyStatementResult & WithRequestId(const Aws::String &value)
AddPolicyStatementResult & WithArn(const Aws::String &value)
AWS_ENTITYRESOLUTION_API AddPolicyStatementResult(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