AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/ConfigurationRevision.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Kafka
25{
26namespace Model
27{
29 {
30 public:
34
35
37
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline UpdateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
58 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
59 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
60 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
62 inline UpdateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(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 UpdateConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline UpdateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline UpdateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_arn;
78
79 ConfigurationRevision m_latestRevision;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Kafka
86} // namespace Aws
UpdateConfigurationResult & WithArn(const Aws::String &value)
void SetLatestRevision(ConfigurationRevision &&value)
const ConfigurationRevision & GetLatestRevision() const
UpdateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
UpdateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
UpdateConfigurationResult & WithRequestId(Aws::String &&value)
UpdateConfigurationResult & WithRequestId(const Aws::String &value)
UpdateConfigurationResult & WithArn(const char *value)
void SetLatestRevision(const ConfigurationRevision &value)
AWS_KAFKA_API UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API UpdateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationResult & WithArn(Aws::String &&value)
UpdateConfigurationResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue