AWS SDK for C++  0.12.9
AWS SDK for C++
AddCommunicationToCaseResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
17 
18 namespace Aws
19 {
20 template<typename RESULT_TYPE>
21 class AmazonWebServiceResult;
22 
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace Support
31 {
32 namespace Model
33 {
38  {
39  public:
43 
48  inline bool GetResult() const{ return m_result; }
49 
54  inline void SetResult(bool value) { m_result = value; }
55 
60  inline AddCommunicationToCaseResult& WithResult(bool value) { SetResult(value); return *this;}
61 
62  private:
63  bool m_result;
64  };
65 
66 } // namespace Model
67 } // namespace Support
68 } // namespace Aws
AddCommunicationToCaseResult & WithResult(bool value)
#define AWS_SUPPORT_API
JSON (JavaScript Object Notation).