AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DeleteVpcConnectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/VpcConnectionState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kafka {
24namespace Model {
26 public:
27 AWS_KAFKA_API DeleteVpcConnectionResult() = default;
30
32
38 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
39 template <typename VpcConnectionArnT = Aws::String>
40 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
41 m_vpcConnectionArnHasBeenSet = true;
42 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
43 }
44 template <typename VpcConnectionArnT = Aws::String>
45 DeleteVpcConnectionResult& WithVpcConnectionArn(VpcConnectionArnT&& value) {
46 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
47 return *this;
48 }
50
52
57 inline VpcConnectionState GetState() const { return m_state; }
58 inline void SetState(VpcConnectionState value) {
59 m_stateHasBeenSet = true;
60 m_state = value;
61 }
63 SetState(value);
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_vpcConnectionArn;
86
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_vpcConnectionArnHasBeenSet = false;
92 bool m_stateHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Kafka
98} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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