1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/chime/Chime_EXPORTS.h> 8 #include <aws/chime/model/ProxySession.h> 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 Chime 24 { 25 namespace Model 26 { 27 class AWS_CHIME_API CreateProxySessionResult 28 { 29 public: 30 CreateProxySessionResult(); 31 CreateProxySessionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 CreateProxySessionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The proxy session details.</p> 37 */ GetProxySession()38 inline const ProxySession& GetProxySession() const{ return m_proxySession; } 39 40 /** 41 * <p>The proxy session details.</p> 42 */ SetProxySession(const ProxySession & value)43 inline void SetProxySession(const ProxySession& value) { m_proxySession = value; } 44 45 /** 46 * <p>The proxy session details.</p> 47 */ SetProxySession(ProxySession && value)48 inline void SetProxySession(ProxySession&& value) { m_proxySession = std::move(value); } 49 50 /** 51 * <p>The proxy session details.</p> 52 */ WithProxySession(const ProxySession & value)53 inline CreateProxySessionResult& WithProxySession(const ProxySession& value) { SetProxySession(value); return *this;} 54 55 /** 56 * <p>The proxy session details.</p> 57 */ WithProxySession(ProxySession && value)58 inline CreateProxySessionResult& WithProxySession(ProxySession&& value) { SetProxySession(std::move(value)); return *this;} 59 60 private: 61 62 ProxySession m_proxySession; 63 }; 64 65 } // namespace Model 66 } // namespace Chime 67 } // namespace Aws 68