AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteInterconnectResult.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/model/InterconnectState.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 DeleteInterconnectResult();
34
35
37
50 inline const InterconnectState& GetInterconnectState() const{ return m_interconnectState; }
51 inline void SetInterconnectState(const InterconnectState& value) { m_interconnectState = value; }
52 inline void SetInterconnectState(InterconnectState&& value) { m_interconnectState = std::move(value); }
54 inline DeleteInterconnectResult& WithInterconnectState(InterconnectState&& value) { SetInterconnectState(std::move(value)); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline DeleteInterconnectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline DeleteInterconnectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline DeleteInterconnectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 InterconnectState m_interconnectState;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace DirectConnect
76} // namespace Aws
DeleteInterconnectResult & WithRequestId(const char *value)
DeleteInterconnectResult & WithRequestId(const Aws::String &value)
DeleteInterconnectResult & WithInterconnectState(InterconnectState &&value)
DeleteInterconnectResult & WithRequestId(Aws::String &&value)
AWS_DIRECTCONNECT_API DeleteInterconnectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInterconnectState(const InterconnectState &value)
AWS_DIRECTCONNECT_API DeleteInterconnectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteInterconnectResult & WithInterconnectState(const InterconnectState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue