AWS SDK for C++  1.9.106
AWS SDK for C++
UpdateConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
42  inline const Aws::String& GetArn() const{ return m_arn; }
43 
50  inline void SetArn(const Aws::String& value) { m_arn = value; }
51 
58  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 
66  inline void SetArn(const char* value) { m_arn.assign(value); }
67 
74  inline UpdateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
82  inline UpdateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
83 
90  inline UpdateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
91 
92 
98  inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
99 
105  inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
106 
112  inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
113 
119  inline UpdateConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;}
120 
126  inline UpdateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
127 
128  private:
129 
130  Aws::String m_arn;
131 
132  ConfigurationRevision m_latestRevision;
133  };
134 
135 } // namespace Model
136 } // namespace Kafka
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::UpdateConfigurationResult::SetArn
void SetArn(const char *value)
Definition: UpdateConfigurationResult.h:66
Aws::Kafka::Model::UpdateConfigurationResult::UpdateConfigurationResult
UpdateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::UpdateConfigurationResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateConfigurationResult.h:50
Aws::Kafka::Model::UpdateConfigurationResult::WithArn
UpdateConfigurationResult & WithArn(const Aws::String &value)
Definition: UpdateConfigurationResult.h:74
Aws::Kafka::Model::UpdateConfigurationResult::WithLatestRevision
UpdateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
Definition: UpdateConfigurationResult.h:126
Aws::Kafka::Model::UpdateConfigurationResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateConfigurationResult.h:42
Aws::Kafka::Model::UpdateConfigurationResult::operator=
UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::UpdateConfigurationResult::UpdateConfigurationResult
UpdateConfigurationResult()
Aws::Kafka::Model::UpdateConfigurationResult::WithLatestRevision
UpdateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
Definition: UpdateConfigurationResult.h:119
Aws::Kafka::Model::UpdateConfigurationResult::SetLatestRevision
void SetLatestRevision(const ConfigurationRevision &value)
Definition: UpdateConfigurationResult.h:105
Aws::Kafka::Model::UpdateConfigurationResult
Definition: UpdateConfigurationResult.h:29
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UpdateConfigurationResult::SetLatestRevision
void SetLatestRevision(ConfigurationRevision &&value)
Definition: UpdateConfigurationResult.h:112
Aws::Kafka::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:36
Aws::Kafka::Model::UpdateConfigurationResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateConfigurationResult.h:58
ConfigurationRevision.h
Aws::Kafka::Model::UpdateConfigurationResult::WithArn
UpdateConfigurationResult & WithArn(const char *value)
Definition: UpdateConfigurationResult.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateConfigurationResult::WithArn
UpdateConfigurationResult & WithArn(Aws::String &&value)
Definition: UpdateConfigurationResult.h:82
Aws::Kafka::Model::UpdateConfigurationResult::GetLatestRevision
const ConfigurationRevision & GetLatestRevision() const
Definition: UpdateConfigurationResult.h:98