AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVpcConnectionResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/VpcConnectionState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Kafka
25{
26namespace Model
27{
29 {
30 public:
34
35
37
43 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
44 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArn = value; }
45 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArn = std::move(value); }
46 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArn.assign(value); }
48 inline DeleteVpcConnectionResult& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
49 inline DeleteVpcConnectionResult& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
51
53
58 inline const VpcConnectionState& GetState() const{ return m_state; }
59 inline void SetState(const VpcConnectionState& value) { m_state = value; }
60 inline void SetState(VpcConnectionState&& value) { m_state = std::move(value); }
61 inline DeleteVpcConnectionResult& WithState(const VpcConnectionState& value) { SetState(value); return *this;}
62 inline DeleteVpcConnectionResult& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline DeleteVpcConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline DeleteVpcConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline DeleteVpcConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_vpcConnectionArn;
78
79 VpcConnectionState m_state;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Kafka
86} // namespace Aws
DeleteVpcConnectionResult & WithRequestId(Aws::String &&value)
DeleteVpcConnectionResult & WithVpcConnectionArn(Aws::String &&value)
DeleteVpcConnectionResult & WithRequestId(const Aws::String &value)
void SetState(const VpcConnectionState &value)
AWS_KAFKA_API DeleteVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API DeleteVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteVpcConnectionResult & WithState(VpcConnectionState &&value)
DeleteVpcConnectionResult & WithVpcConnectionArn(const Aws::String &value)
DeleteVpcConnectionResult & WithVpcConnectionArn(const char *value)
DeleteVpcConnectionResult & WithRequestId(const char *value)
DeleteVpcConnectionResult & WithState(const VpcConnectionState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue