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/pinpoint/Pinpoint_EXPORTS.h> 8 #include <aws/pinpoint/model/GCMChannelResponse.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 Pinpoint 24 { 25 namespace Model 26 { 27 class AWS_PINPOINT_API UpdateGcmChannelResult 28 { 29 public: 30 UpdateGcmChannelResult(); 31 UpdateGcmChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 UpdateGcmChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 GetGCMChannelResponse()36 inline const GCMChannelResponse& GetGCMChannelResponse() const{ return m_gCMChannelResponse; } 37 38 SetGCMChannelResponse(const GCMChannelResponse & value)39 inline void SetGCMChannelResponse(const GCMChannelResponse& value) { m_gCMChannelResponse = value; } 40 41 SetGCMChannelResponse(GCMChannelResponse && value)42 inline void SetGCMChannelResponse(GCMChannelResponse&& value) { m_gCMChannelResponse = std::move(value); } 43 44 WithGCMChannelResponse(const GCMChannelResponse & value)45 inline UpdateGcmChannelResult& WithGCMChannelResponse(const GCMChannelResponse& value) { SetGCMChannelResponse(value); return *this;} 46 47 WithGCMChannelResponse(GCMChannelResponse && value)48 inline UpdateGcmChannelResult& WithGCMChannelResponse(GCMChannelResponse&& value) { SetGCMChannelResponse(std::move(value)); return *this;} 49 50 private: 51 52 GCMChannelResponse m_gCMChannelResponse; 53 }; 54 55 } // namespace Model 56 } // namespace Pinpoint 57 } // namespace Aws 58