AWS SDK for C++  1.9.104
AWS SDK for C++
ConfigurationInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetArn() const{ return m_arn; }
49 
55  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 
62  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 
69  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
70 
76  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
77 
83  inline ConfigurationInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 
90  inline ConfigurationInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 
97  inline ConfigurationInfo& WithArn(const char* value) { SetArn(value); return *this;}
98 
99 
105  inline long long GetRevision() const{ return m_revision; }
106 
112  inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
113 
119  inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
120 
126  inline ConfigurationInfo& WithRevision(long long value) { SetRevision(value); return *this;}
127 
128  private:
129 
130  Aws::String m_arn;
131  bool m_arnHasBeenSet;
132 
133  long long m_revision;
134  bool m_revisionHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace Kafka
139 } // namespace Aws
Aws::Kafka::Model::ConfigurationInfo::WithArn
ConfigurationInfo & WithArn(Aws::String &&value)
Definition: ConfigurationInfo.h:90
Aws::Kafka::Model::ConfigurationInfo::ConfigurationInfo
ConfigurationInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ConfigurationInfo::ConfigurationInfo
ConfigurationInfo()
Aws::Kafka::Model::ConfigurationInfo::SetArn
void SetArn(const char *value)
Definition: ConfigurationInfo.h:76
Aws::Kafka::Model::ConfigurationInfo
Definition: ConfigurationInfo.h:35
Aws::Kafka::Model::ConfigurationInfo::GetRevision
long long GetRevision() const
Definition: ConfigurationInfo.h:105
Aws::Kafka::Model::ConfigurationInfo::GetArn
const Aws::String & GetArn() const
Definition: ConfigurationInfo.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ConfigurationInfo::SetArn
void SetArn(const Aws::String &value)
Definition: ConfigurationInfo.h:62
Aws::Kafka::Model::ConfigurationInfo::WithRevision
ConfigurationInfo & WithRevision(long long value)
Definition: ConfigurationInfo.h:126
Aws::Kafka::Model::ConfigurationInfo::WithArn
ConfigurationInfo & WithArn(const Aws::String &value)
Definition: ConfigurationInfo.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ConfigurationInfo::SetArn
void SetArn(Aws::String &&value)
Definition: ConfigurationInfo.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ConfigurationInfo::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ConfigurationInfo.h:55
Aws::Kafka::Model::ConfigurationInfo::operator=
ConfigurationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ConfigurationInfo::SetRevision
void SetRevision(long long value)
Definition: ConfigurationInfo.h:119
Aws::Kafka::Model::ConfigurationInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::ConfigurationInfo::RevisionHasBeenSet
bool RevisionHasBeenSet() const
Definition: ConfigurationInfo.h:112
Aws::Kafka::Model::ConfigurationInfo::WithArn
ConfigurationInfo & WithArn(const char *value)
Definition: ConfigurationInfo.h:97