/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RolesAnywhere { namespace Model { class EnableProfileResult { public: AWS_ROLESANYWHERE_API EnableProfileResult(); AWS_ROLESANYWHERE_API EnableProfileResult(const Aws::AmazonWebServiceResult& result); AWS_ROLESANYWHERE_API EnableProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The state of the profile after a read or write operation.

*/ inline const ProfileDetail& GetProfile() const{ return m_profile; } /** *

The state of the profile after a read or write operation.

*/ inline void SetProfile(const ProfileDetail& value) { m_profile = value; } /** *

The state of the profile after a read or write operation.

*/ inline void SetProfile(ProfileDetail&& value) { m_profile = std::move(value); } /** *

The state of the profile after a read or write operation.

*/ inline EnableProfileResult& WithProfile(const ProfileDetail& value) { SetProfile(value); return *this;} /** *

The state of the profile after a read or write operation.

*/ inline EnableProfileResult& WithProfile(ProfileDetail&& value) { SetProfile(std::move(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 EnableProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline EnableProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline EnableProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProfileDetail m_profile; Aws::String m_requestId; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws