/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { class AWS_PINPOINT_API UpdateEmailChannelResult { public: UpdateEmailChannelResult(); UpdateEmailChannelResult(const Aws::AmazonWebServiceResult& result); UpdateEmailChannelResult& operator=(const Aws::AmazonWebServiceResult& result); inline const EmailChannelResponse& GetEmailChannelResponse() const{ return m_emailChannelResponse; } inline void SetEmailChannelResponse(const EmailChannelResponse& value) { m_emailChannelResponse = value; } inline void SetEmailChannelResponse(EmailChannelResponse&& value) { m_emailChannelResponse = std::move(value); } inline UpdateEmailChannelResult& WithEmailChannelResponse(const EmailChannelResponse& value) { SetEmailChannelResponse(value); return *this;} inline UpdateEmailChannelResult& WithEmailChannelResponse(EmailChannelResponse&& value) { SetEmailChannelResponse(std::move(value)); return *this;} private: EmailChannelResponse m_emailChannelResponse; }; } // namespace Model } // namespace Pinpoint } // namespace Aws