AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ConfigurationRevision.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kafka {
24namespace Model {
26 public:
27 AWS_KAFKA_API UpdateConfigurationResult() = default;
30
32
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
57 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
58 template <typename LatestRevisionT = ConfigurationRevision>
59 void SetLatestRevision(LatestRevisionT&& value) {
60 m_latestRevisionHasBeenSet = true;
61 m_latestRevision = std::forward<LatestRevisionT>(value);
62 }
63 template <typename LatestRevisionT = ConfigurationRevision>
65 SetLatestRevision(std::forward<LatestRevisionT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_arn;
88
89 ConfigurationRevision m_latestRevision;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_arnHasBeenSet = false;
94 bool m_latestRevisionHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Kafka
100} // namespace Aws
UpdateConfigurationResult & WithArn(ArnT &&value)
const ConfigurationRevision & GetLatestRevision() const
AWS_KAFKA_API UpdateConfigurationResult()=default
UpdateConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KAFKA_API UpdateConfigurationResult(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