AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetClusterPolicyResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_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 Kafka
24{
25namespace Model
26{
28 {
29 public:
30 AWS_KAFKA_API GetClusterPolicyResult();
33
34
36
41 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
42 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; }
43 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); }
44 inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); }
45 inline GetClusterPolicyResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
46 inline GetClusterPolicyResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
47 inline GetClusterPolicyResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
49
51
56 inline const Aws::String& GetPolicy() const{ return m_policy; }
57 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
58 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
59 inline void SetPolicy(const char* value) { m_policy.assign(value); }
60 inline GetClusterPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
61 inline GetClusterPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
62 inline GetClusterPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline GetClusterPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline GetClusterPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline GetClusterPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_currentVersion;
78
79 Aws::String m_policy;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Kafka
86} // namespace Aws
GetClusterPolicyResult & WithPolicy(Aws::String &&value)
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)
GetClusterPolicyResult & WithRequestId(Aws::String &&value)
GetClusterPolicyResult & WithCurrentVersion(const Aws::String &value)
void SetCurrentVersion(const Aws::String &value)
GetClusterPolicyResult & WithCurrentVersion(Aws::String &&value)
GetClusterPolicyResult & WithRequestId(const Aws::String &value)
GetClusterPolicyResult & WithPolicy(const char *value)
GetClusterPolicyResult & WithRequestId(const char *value)
GetClusterPolicyResult & WithCurrentVersion(const char *value)
GetClusterPolicyResult & WithPolicy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue