AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConfigurationRevisionResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Kafka
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KAFKA_API DescribeConfigurationRevisionResult() = default;
35
36
38
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 DescribeConfigurationRevisionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
57 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
58 template<typename CreationTimeT = Aws::Utils::DateTime>
59 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
60 template<typename CreationTimeT = Aws::Utils::DateTime>
61 DescribeConfigurationRevisionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
63
65
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 DescribeConfigurationRevisionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
83 inline long long GetRevision() const { return m_revision; }
84 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
85 inline DescribeConfigurationRevisionResult& WithRevision(long long value) { SetRevision(value); return *this;}
87
89
99 inline const Aws::Utils::ByteBuffer& GetServerProperties() const { return m_serverProperties; }
100 template<typename ServerPropertiesT = Aws::Utils::ByteBuffer>
101 void SetServerProperties(ServerPropertiesT&& value) { m_serverPropertiesHasBeenSet = true; m_serverProperties = std::forward<ServerPropertiesT>(value); }
102 template<typename ServerPropertiesT = Aws::Utils::ByteBuffer>
103 DescribeConfigurationRevisionResult& WithServerProperties(ServerPropertiesT&& value) { SetServerProperties(std::forward<ServerPropertiesT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 DescribeConfigurationRevisionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::Utils::DateTime m_creationTime{};
120 bool m_creationTimeHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 long long m_revision{0};
126 bool m_revisionHasBeenSet = false;
127
128 Aws::Utils::ByteBuffer m_serverProperties{};
129 bool m_serverPropertiesHasBeenSet = false;
130
131 Aws::String m_requestId;
132 bool m_requestIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Kafka
137} // namespace Aws
DescribeConfigurationRevisionResult & WithArn(ArnT &&value)
AWS_KAFKA_API DescribeConfigurationRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationRevisionResult & WithServerProperties(ServerPropertiesT &&value)
AWS_KAFKA_API DescribeConfigurationRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationRevisionResult & WithDescription(DescriptionT &&value)
DescribeConfigurationRevisionResult & WithRevision(long long value)
DescribeConfigurationRevisionResult & WithCreationTime(CreationTimeT &&value)
DescribeConfigurationRevisionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue