AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteInterconnectResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectConnect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
48  inline const InterconnectState& GetInterconnectState() const{ return m_interconnectState; }
49 
63  inline void SetInterconnectState(const InterconnectState& value) { m_interconnectState = value; }
64 
78  inline void SetInterconnectState(InterconnectState&& value) { m_interconnectState = std::move(value); }
79 
93  inline DeleteInterconnectResult& WithInterconnectState(const InterconnectState& value) { SetInterconnectState(value); return *this;}
94 
108  inline DeleteInterconnectResult& WithInterconnectState(InterconnectState&& value) { SetInterconnectState(std::move(value)); return *this;}
109 
110  private:
111 
112  InterconnectState m_interconnectState;
113  };
114 
115 } // namespace Model
116 } // namespace DirectConnect
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectConnect::Model::InterconnectState
InterconnectState
Definition: InterconnectState.h:17
Aws::DirectConnect::Model::DeleteInterconnectResult::WithInterconnectState
DeleteInterconnectResult & WithInterconnectState(InterconnectState &&value)
Definition: DeleteInterconnectResult.h:108
Aws::DirectConnect::Model::DeleteInterconnectResult::SetInterconnectState
void SetInterconnectState(InterconnectState &&value)
Definition: DeleteInterconnectResult.h:78
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::DeleteInterconnectResult::SetInterconnectState
void SetInterconnectState(const InterconnectState &value)
Definition: DeleteInterconnectResult.h:63
Aws::DirectConnect::Model::DeleteInterconnectResult::operator=
DeleteInterconnectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectConnect::Model::DeleteInterconnectResult::DeleteInterconnectResult
DeleteInterconnectResult()
Aws::DirectConnect::Model::DeleteInterconnectResult
Definition: DeleteInterconnectResult.h:28
Aws::DirectConnect::Model::DeleteInterconnectResult::WithInterconnectState
DeleteInterconnectResult & WithInterconnectState(const InterconnectState &value)
Definition: DeleteInterconnectResult.h:93
InterconnectState.h
Aws::DirectConnect::Model::DeleteInterconnectResult::DeleteInterconnectResult
DeleteInterconnectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::DeleteInterconnectResult::GetInterconnectState
const InterconnectState & GetInterconnectState() const
Definition: DeleteInterconnectResult.h:48