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/databrew/GlueDataBrew_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.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 GlueDataBrew 24 { 25 namespace Model 26 { 27 class AWS_GLUEDATABREW_API SendProjectSessionActionResult 28 { 29 public: 30 SendProjectSessionActionResult(); 31 SendProjectSessionActionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 SendProjectSessionActionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>A message indicating the result of performing the action.</p> 37 */ GetResult()38 inline const Aws::String& GetResult() const{ return m_result; } 39 40 /** 41 * <p>A message indicating the result of performing the action.</p> 42 */ SetResult(const Aws::String & value)43 inline void SetResult(const Aws::String& value) { m_result = value; } 44 45 /** 46 * <p>A message indicating the result of performing the action.</p> 47 */ SetResult(Aws::String && value)48 inline void SetResult(Aws::String&& value) { m_result = std::move(value); } 49 50 /** 51 * <p>A message indicating the result of performing the action.</p> 52 */ SetResult(const char * value)53 inline void SetResult(const char* value) { m_result.assign(value); } 54 55 /** 56 * <p>A message indicating the result of performing the action.</p> 57 */ WithResult(const Aws::String & value)58 inline SendProjectSessionActionResult& WithResult(const Aws::String& value) { SetResult(value); return *this;} 59 60 /** 61 * <p>A message indicating the result of performing the action.</p> 62 */ WithResult(Aws::String && value)63 inline SendProjectSessionActionResult& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} 64 65 /** 66 * <p>A message indicating the result of performing the action.</p> 67 */ WithResult(const char * value)68 inline SendProjectSessionActionResult& WithResult(const char* value) { SetResult(value); return *this;} 69 70 71 /** 72 * <p>The name of the project that was affected by the action.</p> 73 */ GetName()74 inline const Aws::String& GetName() const{ return m_name; } 75 76 /** 77 * <p>The name of the project that was affected by the action.</p> 78 */ SetName(const Aws::String & value)79 inline void SetName(const Aws::String& value) { m_name = value; } 80 81 /** 82 * <p>The name of the project that was affected by the action.</p> 83 */ SetName(Aws::String && value)84 inline void SetName(Aws::String&& value) { m_name = std::move(value); } 85 86 /** 87 * <p>The name of the project that was affected by the action.</p> 88 */ SetName(const char * value)89 inline void SetName(const char* value) { m_name.assign(value); } 90 91 /** 92 * <p>The name of the project that was affected by the action.</p> 93 */ WithName(const Aws::String & value)94 inline SendProjectSessionActionResult& WithName(const Aws::String& value) { SetName(value); return *this;} 95 96 /** 97 * <p>The name of the project that was affected by the action.</p> 98 */ WithName(Aws::String && value)99 inline SendProjectSessionActionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} 100 101 /** 102 * <p>The name of the project that was affected by the action.</p> 103 */ WithName(const char * value)104 inline SendProjectSessionActionResult& WithName(const char* value) { SetName(value); return *this;} 105 106 107 /** 108 * <p>A unique identifier for the action that was performed.</p> 109 */ GetActionId()110 inline int GetActionId() const{ return m_actionId; } 111 112 /** 113 * <p>A unique identifier for the action that was performed.</p> 114 */ SetActionId(int value)115 inline void SetActionId(int value) { m_actionId = value; } 116 117 /** 118 * <p>A unique identifier for the action that was performed.</p> 119 */ WithActionId(int value)120 inline SendProjectSessionActionResult& WithActionId(int value) { SetActionId(value); return *this;} 121 122 private: 123 124 Aws::String m_result; 125 126 Aws::String m_name; 127 128 int m_actionId; 129 }; 130 131 } // namespace Model 132 } // namespace GlueDataBrew 133 } // namespace Aws 134