AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddCommunicationToCaseResult.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Support
24{
25namespace Model
26{
34 {
35 public:
39
40
42
46 inline bool GetResult() const{ return m_result; }
47 inline void SetResult(bool value) { m_result = value; }
48 inline AddCommunicationToCaseResult& WithResult(bool value) { SetResult(value); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline AddCommunicationToCaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline AddCommunicationToCaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline AddCommunicationToCaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
63 bool m_result;
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace Support
70} // namespace Aws
AWS_SUPPORT_API AddCommunicationToCaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SUPPORT_API AddCommunicationToCaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddCommunicationToCaseResult & WithRequestId(const char *value)
AddCommunicationToCaseResult & WithRequestId(Aws::String &&value)
AddCommunicationToCaseResult & WithResult(bool value)
AddCommunicationToCaseResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue