AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfirmPublicVirtualInterfaceResult.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/model/VirtualInterfaceState.h>
9#include <aws/core/utils/memory/stl/AWSString.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 DirectConnect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DIRECTCONNECT_API ConfirmPublicVirtualInterfaceResult();
34
35
37
61 inline const VirtualInterfaceState& GetVirtualInterfaceState() const{ return m_virtualInterfaceState; }
62 inline void SetVirtualInterfaceState(const VirtualInterfaceState& value) { m_virtualInterfaceState = value; }
63 inline void SetVirtualInterfaceState(VirtualInterfaceState&& value) { m_virtualInterfaceState = std::move(value); }
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline ConfirmPublicVirtualInterfaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline ConfirmPublicVirtualInterfaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline ConfirmPublicVirtualInterfaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 VirtualInterfaceState m_virtualInterfaceState;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace DirectConnect
87} // namespace Aws
AWS_DIRECTCONNECT_API ConfirmPublicVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmPublicVirtualInterfaceResult & WithVirtualInterfaceState(const VirtualInterfaceState &value)
ConfirmPublicVirtualInterfaceResult & WithRequestId(Aws::String &&value)
ConfirmPublicVirtualInterfaceResult & WithRequestId(const Aws::String &value)
ConfirmPublicVirtualInterfaceResult & WithVirtualInterfaceState(VirtualInterfaceState &&value)
AWS_DIRECTCONNECT_API ConfirmPublicVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmPublicVirtualInterfaceResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue