AWS SDK for C++  1.9.106
AWS SDK for C++
ConfigurationRevision.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
50  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
51 
58  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
59 
66  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
67 
74  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
75 
82  inline ConfigurationRevision& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
83 
90  inline ConfigurationRevision& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
91 
92 
98  inline const Aws::String& GetDescription() const{ return m_description; }
99 
105  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 
112  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
113 
119  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
120 
126  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
127 
133  inline ConfigurationRevision& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
140  inline ConfigurationRevision& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
141 
147  inline ConfigurationRevision& WithDescription(const char* value) { SetDescription(value); return *this;}
148 
149 
155  inline long long GetRevision() const{ return m_revision; }
156 
162  inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
163 
169  inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
170 
176  inline ConfigurationRevision& WithRevision(long long value) { SetRevision(value); return *this;}
177 
178  private:
179 
180  Aws::Utils::DateTime m_creationTime;
181  bool m_creationTimeHasBeenSet;
182 
183  Aws::String m_description;
184  bool m_descriptionHasBeenSet;
185 
186  long long m_revision;
187  bool m_revisionHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Kafka
192 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Kafka::Model::ConfigurationRevision::WithRevision
ConfigurationRevision & WithRevision(long long value)
Definition: ConfigurationRevision.h:176
Aws::Kafka::Model::ConfigurationRevision::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ConfigurationRevision.h:66
Aws::Kafka::Model::ConfigurationRevision::SetDescription
void SetDescription(const Aws::String &value)
Definition: ConfigurationRevision.h:112
Aws::Kafka::Model::ConfigurationRevision::SetDescription
void SetDescription(Aws::String &&value)
Definition: ConfigurationRevision.h:119
DateTime.h
Aws::Kafka::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(const char *value)
Definition: ConfigurationRevision.h:147
Aws::Kafka::Model::ConfigurationRevision::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ConfigurationRevision.h:74
Aws::Kafka::Model::ConfigurationRevision::GetDescription
const Aws::String & GetDescription() const
Definition: ConfigurationRevision.h:98
Aws::Kafka::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(Aws::String &&value)
Definition: ConfigurationRevision.h:140
Aws::Kafka::Model::ConfigurationRevision::ConfigurationRevision
ConfigurationRevision()
Aws::Kafka::Model::ConfigurationRevision::RevisionHasBeenSet
bool RevisionHasBeenSet() const
Definition: ConfigurationRevision.h:162
Aws::Kafka::Model::ConfigurationRevision::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ConfigurationRevision.h:58
Aws::Kafka::Model::ConfigurationRevision::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ConfigurationRevision.h:105
Aws::Kafka::Model::ConfigurationRevision::SetRevision
void SetRevision(long long value)
Definition: ConfigurationRevision.h:169
Aws::Kafka::Model::ConfigurationRevision::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ConfigurationRevision.h:50
Aws::Kafka::Model::ConfigurationRevision::WithCreationTime
ConfigurationRevision & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ConfigurationRevision.h:82
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kafka::Model::ConfigurationRevision::GetRevision
long long GetRevision() const
Definition: ConfigurationRevision.h:155
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ConfigurationRevision::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:36
Aws::Kafka::Model::ConfigurationRevision::ConfigurationRevision
ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ConfigurationRevision::operator=
ConfigurationRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ConfigurationRevision::SetDescription
void SetDescription(const char *value)
Definition: ConfigurationRevision.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ConfigurationRevision::WithCreationTime
ConfigurationRevision & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ConfigurationRevision.h:90
Aws::Kafka::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(const Aws::String &value)
Definition: ConfigurationRevision.h:133