AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationRevision.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KAFKA_API ConfigurationRevision() = default;
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
52 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
53 template<typename CreationTimeT = Aws::Utils::DateTime>
54 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
55 template<typename CreationTimeT = Aws::Utils::DateTime>
56 ConfigurationRevision& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
58
60
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 ConfigurationRevision& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
79 inline long long GetRevision() const { return m_revision; }
80 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
81 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
82 inline ConfigurationRevision& WithRevision(long long value) { SetRevision(value); return *this;}
84 private:
85
86 Aws::Utils::DateTime m_creationTime{};
87 bool m_creationTimeHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 long long m_revision{0};
93 bool m_revisionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // namespace Aws
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRevision & WithRevision(long long value)
ConfigurationRevision & WithCreationTime(CreationTimeT &&value)
AWS_KAFKA_API ConfigurationRevision()=default
const Aws::Utils::DateTime & GetCreationTime() const
ConfigurationRevision & WithDescription(DescriptionT &&value)
AWS_KAFKA_API ConfigurationRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue