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

A structure that contains information about the group that was just * created.

*/ inline const Group& GetGroup() const{ return m_group; } /** *

A structure that contains information about the group that was just * created.

*/ inline void SetGroup(const Group& value) { m_group = value; } /** *

A structure that contains information about the group that was just * created.

*/ inline void SetGroup(Group&& value) { m_group = std::move(value); } /** *

A structure that contains information about the group that was just * created.

*/ inline CreateGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;} /** *

A structure that contains information about the group that was just * created.

*/ inline CreateGroupResult& WithGroup(Group&& value) { SetGroup(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 CreateGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Group m_group; Aws::String m_requestId; }; } // namespace Model } // namespace Synthetics } // namespace Aws