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

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

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

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

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

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

*/ inline SendSSHPublicKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

*/ inline SendSSHPublicKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The request ID as logged by EC2 Connect. Please provide this when contacting * AWS Support.

*/ inline SendSSHPublicKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

Indicates request success.

*/ inline bool GetSuccess() const{ return m_success; } /** *

Indicates request success.

*/ inline void SetSuccess(bool value) { m_success = value; } /** *

Indicates request success.

*/ inline SendSSHPublicKeyResult& WithSuccess(bool value) { SetSuccess(value); return *this;} private: Aws::String m_requestId; bool m_success; }; } // namespace Model } // namespace EC2InstanceConnect } // namespace Aws