/** * 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 GlueDataBrew { namespace Model { class SendProjectSessionActionResult { public: AWS_GLUEDATABREW_API SendProjectSessionActionResult(); AWS_GLUEDATABREW_API SendProjectSessionActionResult(const Aws::AmazonWebServiceResult& result); AWS_GLUEDATABREW_API SendProjectSessionActionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A message indicating the result of performing the action.

*/ inline const Aws::String& GetResult() const{ return m_result; } /** *

A message indicating the result of performing the action.

*/ inline void SetResult(const Aws::String& value) { m_result = value; } /** *

A message indicating the result of performing the action.

*/ inline void SetResult(Aws::String&& value) { m_result = std::move(value); } /** *

A message indicating the result of performing the action.

*/ inline void SetResult(const char* value) { m_result.assign(value); } /** *

A message indicating the result of performing the action.

*/ inline SendProjectSessionActionResult& WithResult(const Aws::String& value) { SetResult(value); return *this;} /** *

A message indicating the result of performing the action.

*/ inline SendProjectSessionActionResult& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} /** *

A message indicating the result of performing the action.

*/ inline SendProjectSessionActionResult& WithResult(const char* value) { SetResult(value); return *this;} /** *

The name of the project that was affected by the action.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the project that was affected by the action.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the project that was affected by the action.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the project that was affected by the action.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the project that was affected by the action.

*/ inline SendProjectSessionActionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the project that was affected by the action.

*/ inline SendProjectSessionActionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the project that was affected by the action.

*/ inline SendProjectSessionActionResult& WithName(const char* value) { SetName(value); return *this;} /** *

A unique identifier for the action that was performed.

*/ inline int GetActionId() const{ return m_actionId; } /** *

A unique identifier for the action that was performed.

*/ inline void SetActionId(int value) { m_actionId = value; } /** *

A unique identifier for the action that was performed.

*/ inline SendProjectSessionActionResult& WithActionId(int value) { SetActionId(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 SendProjectSessionActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline SendProjectSessionActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline SendProjectSessionActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_result; Aws::String m_name; int m_actionId; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws