AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConfigurationInfo.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KAFKA_API ConfigurationInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 ConfigurationInfo& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_revisionHasBeenSet = true; m_revision = value; }
66 inline ConfigurationInfo& WithRevision(long long value) { SetRevision(value); return *this;}
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
73 long long m_revision{0};
74 bool m_revisionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Kafka
79} // 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