/** * 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 CodeGuruProfiler { namespace Model { /** *

The structure representing the createProfilingGroupResponse.

See * Also:

AWS * API Reference

*/ class CreateProfilingGroupResult { public: AWS_CODEGURUPROFILER_API CreateProfilingGroupResult(); AWS_CODEGURUPROFILER_API CreateProfilingGroupResult(const Aws::AmazonWebServiceResult& result); AWS_CODEGURUPROFILER_API CreateProfilingGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The returned * ProfilingGroupDescription object that contains information * about the created profiling group.

*/ inline const ProfilingGroupDescription& GetProfilingGroup() const{ return m_profilingGroup; } /** *

The returned * ProfilingGroupDescription object that contains information * about the created profiling group.

*/ inline void SetProfilingGroup(const ProfilingGroupDescription& value) { m_profilingGroup = value; } /** *

The returned * ProfilingGroupDescription object that contains information * about the created profiling group.

*/ inline void SetProfilingGroup(ProfilingGroupDescription&& value) { m_profilingGroup = std::move(value); } /** *

The returned * ProfilingGroupDescription object that contains information * about the created profiling group.

*/ inline CreateProfilingGroupResult& WithProfilingGroup(const ProfilingGroupDescription& value) { SetProfilingGroup(value); return *this;} /** *

The returned * ProfilingGroupDescription object that contains information * about the created profiling group.

*/ inline CreateProfilingGroupResult& WithProfilingGroup(ProfilingGroupDescription&& value) { SetProfilingGroup(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 CreateProfilingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateProfilingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateProfilingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProfilingGroupDescription m_profilingGroup; Aws::String m_requestId; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws