AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSinkPolicyResult.h
1
6#pragma once
7#include <aws/oam/OAM_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 OAM
24{
25namespace Model
26{
28 {
29 public:
30 AWS_OAM_API GetSinkPolicyResult();
33
34
36
39 inline const Aws::String& GetPolicy() const{ return m_policy; }
40 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
41 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
42 inline void SetPolicy(const char* value) { m_policy.assign(value); }
43 inline GetSinkPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
44 inline GetSinkPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
45 inline GetSinkPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
47
49
52 inline const Aws::String& GetSinkArn() const{ return m_sinkArn; }
53 inline void SetSinkArn(const Aws::String& value) { m_sinkArn = value; }
54 inline void SetSinkArn(Aws::String&& value) { m_sinkArn = std::move(value); }
55 inline void SetSinkArn(const char* value) { m_sinkArn.assign(value); }
56 inline GetSinkPolicyResult& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;}
57 inline GetSinkPolicyResult& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;}
58 inline GetSinkPolicyResult& WithSinkArn(const char* value) { SetSinkArn(value); return *this;}
60
62
66 inline const Aws::String& GetSinkId() const{ return m_sinkId; }
67 inline void SetSinkId(const Aws::String& value) { m_sinkId = value; }
68 inline void SetSinkId(Aws::String&& value) { m_sinkId = std::move(value); }
69 inline void SetSinkId(const char* value) { m_sinkId.assign(value); }
70 inline GetSinkPolicyResult& WithSinkId(const Aws::String& value) { SetSinkId(value); return *this;}
71 inline GetSinkPolicyResult& WithSinkId(Aws::String&& value) { SetSinkId(std::move(value)); return *this;}
72 inline GetSinkPolicyResult& WithSinkId(const char* value) { SetSinkId(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 GetSinkPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline GetSinkPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline GetSinkPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_policy;
88
89 Aws::String m_sinkArn;
90
91 Aws::String m_sinkId;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace OAM
98} // namespace Aws
GetSinkPolicyResult & WithPolicy(const Aws::String &value)
const Aws::String & GetPolicy() const
void SetSinkId(const Aws::String &value)
void SetSinkArn(const Aws::String &value)
const Aws::String & GetSinkId() const
GetSinkPolicyResult & WithSinkId(const char *value)
GetSinkPolicyResult & WithSinkId(const Aws::String &value)
AWS_OAM_API GetSinkPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSinkPolicyResult & WithRequestId(const char *value)
GetSinkPolicyResult & WithSinkArn(const Aws::String &value)
GetSinkPolicyResult & WithSinkId(Aws::String &&value)
AWS_OAM_API GetSinkPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSinkPolicyResult & WithRequestId(const Aws::String &value)
GetSinkPolicyResult & WithRequestId(Aws::String &&value)
GetSinkPolicyResult & WithSinkArn(Aws::String &&value)
const Aws::String & GetSinkArn() const
void SetRequestId(const Aws::String &value)
GetSinkPolicyResult & WithPolicy(const char *value)
void SetPolicy(const Aws::String &value)
GetSinkPolicyResult & WithPolicy(Aws::String &&value)
const Aws::String & GetRequestId() const
GetSinkPolicyResult & WithSinkArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue