AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
54 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
55 inline ConfigurationRevision& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
56 inline ConfigurationRevision& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
58
60
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline ConfigurationRevision& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline ConfigurationRevision& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline ConfigurationRevision& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
81 inline long long GetRevision() const{ return m_revision; }
82 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
83 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
84 inline ConfigurationRevision& WithRevision(long long value) { SetRevision(value); return *this;}
86 private:
87
88 Aws::Utils::DateTime m_creationTime;
89 bool m_creationTimeHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
94 long long m_revision;
95 bool m_revisionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Kafka
100} // namespace Aws
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_KAFKA_API ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRevision & WithRevision(long long value)
ConfigurationRevision & WithDescription(const char *value)
ConfigurationRevision & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ConfigurationRevision & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ConfigurationRevision & WithDescription(Aws::String &&value)
ConfigurationRevision & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &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