AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetClusterPolicyResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
24 public:
25 AWS_KAFKA_API GetClusterPolicyResult() = default;
28
30
35 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
36 template <typename CurrentVersionT = Aws::String>
37 void SetCurrentVersion(CurrentVersionT&& value) {
38 m_currentVersionHasBeenSet = true;
39 m_currentVersion = std::forward<CurrentVersionT>(value);
40 }
41 template <typename CurrentVersionT = Aws::String>
42 GetClusterPolicyResult& WithCurrentVersion(CurrentVersionT&& value) {
43 SetCurrentVersion(std::forward<CurrentVersionT>(value));
44 return *this;
45 }
47
49
54 inline const Aws::String& GetPolicy() const { return m_policy; }
55 template <typename PolicyT = Aws::String>
56 void SetPolicy(PolicyT&& value) {
57 m_policyHasBeenSet = true;
58 m_policy = std::forward<PolicyT>(value);
59 }
60 template <typename PolicyT = Aws::String>
62 SetPolicy(std::forward<PolicyT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_currentVersion;
83
84 Aws::String m_policy;
85
86 Aws::String m_requestId;
87 bool m_currentVersionHasBeenSet = false;
88 bool m_policyHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Kafka
94} // namespace Aws
AWS_KAFKA_API GetClusterPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API GetClusterPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCurrentVersion(CurrentVersionT &&value)
GetClusterPolicyResult & WithCurrentVersion(CurrentVersionT &&value)
AWS_KAFKA_API GetClusterPolicyResult()=default
GetClusterPolicyResult & WithPolicy(PolicyT &&value)
GetClusterPolicyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue