AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ConfigurationInfo.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
31 public:
32 AWS_KAFKA_API ConfigurationInfo() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
51 ConfigurationInfo& WithArn(ArnT&& value) {
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
63 inline long long GetRevision() const { return m_revision; }
64 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
65 inline void SetRevision(long long value) {
66 m_revisionHasBeenSet = true;
67 m_revision = value;
68 }
69 inline ConfigurationInfo& WithRevision(long long value) {
70 SetRevision(value);
71 return *this;
72 }
74 private:
75 Aws::String m_arn;
76
77 long long m_revision{0};
78 bool m_arnHasBeenSet = false;
79 bool m_revisionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
const Aws::String & GetArn() const
AWS_KAFKA_API ConfigurationInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ConfigurationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationInfo & WithRevision(long long value)
AWS_KAFKA_API ConfigurationInfo()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationInfo & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue