AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline ConfigurationInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline ConfigurationInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline ConfigurationInfo& WithArn(const char* value) { SetArn(value); return *this;}
58
60
65 inline long long GetRevision() const{ return m_revision; }
66 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
67 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
68 inline ConfigurationInfo& WithRevision(long long value) { SetRevision(value); return *this;}
70 private:
71
72 Aws::String m_arn;
73 bool m_arnHasBeenSet = false;
74
75 long long m_revision;
76 bool m_revisionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Kafka
81} // namespace Aws
ConfigurationInfo & WithArn(const char *value)
ConfigurationInfo & WithArn(const Aws::String &value)
const Aws::String & GetArn() const
AWS_KAFKA_API ConfigurationInfo(Aws::Utils::Json::JsonView jsonValue)
ConfigurationInfo & WithArn(Aws::String &&value)
AWS_KAFKA_API ConfigurationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationInfo & WithRevision(long long value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue