/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of the AddCommunicationToCase operation.See
* Also:
AWS
* API Reference
True if AddCommunicationToCase succeeds. Otherwise, returns an * error.
*/ inline bool GetResult() const{ return m_result; } /** *True if AddCommunicationToCase succeeds. Otherwise, returns an * error.
*/ inline void SetResult(bool value) { m_result = value; } /** *True if AddCommunicationToCase succeeds. Otherwise, returns an * error.
*/ inline AddCommunicationToCaseResult& WithResult(bool value) { SetResult(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddCommunicationToCaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddCommunicationToCaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddCommunicationToCaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_result; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws