/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { class GetKeyGroup2020_05_31Result { public: AWS_CLOUDFRONT_API GetKeyGroup2020_05_31Result(); AWS_CLOUDFRONT_API GetKeyGroup2020_05_31Result(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFRONT_API GetKeyGroup2020_05_31Result& operator=(const Aws::AmazonWebServiceResult& result); /** *

The key group.

*/ inline const KeyGroup& GetKeyGroup() const{ return m_keyGroup; } /** *

The key group.

*/ inline void SetKeyGroup(const KeyGroup& value) { m_keyGroup = value; } /** *

The key group.

*/ inline void SetKeyGroup(KeyGroup&& value) { m_keyGroup = std::move(value); } /** *

The key group.

*/ inline GetKeyGroup2020_05_31Result& WithKeyGroup(const KeyGroup& value) { SetKeyGroup(value); return *this;} /** *

The key group.

*/ inline GetKeyGroup2020_05_31Result& WithKeyGroup(KeyGroup&& value) { SetKeyGroup(std::move(value)); return *this;} /** *

The identifier for this version of the key group.

*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *

The identifier for this version of the key group.

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

The identifier for this version of the key group.

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

The identifier for this version of the key group.

*/ inline void SetETag(const char* value) { m_eTag.assign(value); } /** *

The identifier for this version of the key group.

*/ inline GetKeyGroup2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *

The identifier for this version of the key group.

*/ inline GetKeyGroup2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *

The identifier for this version of the key group.

*/ inline GetKeyGroup2020_05_31Result& WithETag(const char* value) { SetETag(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 GetKeyGroup2020_05_31Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetKeyGroup2020_05_31Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetKeyGroup2020_05_31Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: KeyGroup m_keyGroup; Aws::String m_eTag; Aws::String m_requestId; }; } // namespace Model } // namespace CloudFront } // namespace Aws