AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeleteVpcConnectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9#include <aws/kafka/model/VpcConnectionState.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Kafka {
23namespace Model {
25 public:
26 AWS_KAFKA_API DeleteVpcConnectionResult() = default;
29
31
37 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
38 template <typename VpcConnectionArnT = Aws::String>
39 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
40 m_vpcConnectionArnHasBeenSet = true;
41 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
42 }
43 template <typename VpcConnectionArnT = Aws::String>
44 DeleteVpcConnectionResult& WithVpcConnectionArn(VpcConnectionArnT&& value) {
45 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
46 return *this;
47 }
49
51
56 inline VpcConnectionState GetState() const { return m_state; }
57 inline void SetState(VpcConnectionState value) {
58 m_stateHasBeenSet = true;
59 m_state = value;
60 }
62 SetState(value);
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_vpcConnectionArn;
83
85
86 Aws::String m_requestId;
87 bool m_vpcConnectionArnHasBeenSet = false;
88 bool m_stateHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Kafka
94} // 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