AWS SDK for C++  1.9.106
AWS SDK for C++
DeleteConfigurationResult.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 DeleteConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
82  inline DeleteConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
83 
90  inline DeleteConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
91 
92 
99  inline const ConfigurationState& GetState() const{ return m_state; }
100 
107  inline void SetState(const ConfigurationState& value) { m_state = value; }
108 
115  inline void SetState(ConfigurationState&& value) { m_state = std::move(value); }
116 
123  inline DeleteConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;}
124 
131  inline DeleteConfigurationResult& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_arn;
136 
137  ConfigurationState m_state;
138  };
139 
140 } // namespace Model
141 } // namespace Kafka
142 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::DeleteConfigurationResult::operator=
DeleteConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DeleteConfigurationResult::DeleteConfigurationResult
DeleteConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DeleteConfigurationResult::GetState
const ConfigurationState & GetState() const
Definition: DeleteConfigurationResult.h:99
Aws::Kafka::Model::DeleteConfigurationResult::WithArn
DeleteConfigurationResult & WithArn(const char *value)
Definition: DeleteConfigurationResult.h:90
Aws::Kafka::Model::DeleteConfigurationResult::GetArn
const Aws::String & GetArn() const
Definition: DeleteConfigurationResult.h:42
Aws::Kafka::Model::DeleteConfigurationResult::WithArn
DeleteConfigurationResult & WithArn(const Aws::String &value)
Definition: DeleteConfigurationResult.h:74
Aws::Kafka::Model::DeleteConfigurationResult::SetArn
void SetArn(const Aws::String &value)
Definition: DeleteConfigurationResult.h:50
Aws::Kafka::Model::DeleteConfigurationResult::WithState
DeleteConfigurationResult & WithState(const ConfigurationState &value)
Definition: DeleteConfigurationResult.h:123
AWSString.h
Aws::Kafka::Model::ConfigurationState
ConfigurationState
Definition: ConfigurationState.h:17
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DeleteConfigurationResult::SetState
void SetState(ConfigurationState &&value)
Definition: DeleteConfigurationResult.h:115
Aws::Kafka::Model::DeleteConfigurationResult::SetArn
void SetArn(Aws::String &&value)
Definition: DeleteConfigurationResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DeleteConfigurationResult
Definition: DeleteConfigurationResult.h:29
Aws::Kafka::Model::DeleteConfigurationResult::WithState
DeleteConfigurationResult & WithState(ConfigurationState &&value)
Definition: DeleteConfigurationResult.h:131
Aws::Kafka::Model::DeleteConfigurationResult::SetArn
void SetArn(const char *value)
Definition: DeleteConfigurationResult.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::DeleteConfigurationResult::SetState
void SetState(const ConfigurationState &value)
Definition: DeleteConfigurationResult.h:107
ConfigurationState.h
Aws::Kafka::Model::DeleteConfigurationResult::DeleteConfigurationResult
DeleteConfigurationResult()
Aws::Kafka::Model::DeleteConfigurationResult::WithArn
DeleteConfigurationResult & WithArn(Aws::String &&value)
Definition: DeleteConfigurationResult.h:82