AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
31 AWS_KAFKA_API DeleteVpcConnectionResult() = default;
34
35
37
43 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
44 template<typename VpcConnectionArnT = Aws::String>
45 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
46 template<typename VpcConnectionArnT = Aws::String>
47 DeleteVpcConnectionResult& WithVpcConnectionArn(VpcConnectionArnT&& value) { SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value)); return *this;}
49
51
56 inline VpcConnectionState GetState() const { return m_state; }
57 inline void SetState(VpcConnectionState value) { m_stateHasBeenSet = true; m_state = value; }
58 inline DeleteVpcConnectionResult& WithState(VpcConnectionState value) { SetState(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 DeleteVpcConnectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_vpcConnectionArn;
72 bool m_vpcConnectionArnHasBeenSet = false;
73
75 bool m_stateHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
AWS_KAFKA_API DeleteVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API DeleteVpcConnectionResult()=default
DeleteVpcConnectionResult & WithVpcConnectionArn(VpcConnectionArnT &&value)
AWS_KAFKA_API DeleteVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteVpcConnectionResult & WithState(VpcConnectionState value)
DeleteVpcConnectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue