/** * 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 GetFieldLevelEncryptionConfig2020_05_31Result { public: AWS_CLOUDFRONT_API GetFieldLevelEncryptionConfig2020_05_31Result(); AWS_CLOUDFRONT_API GetFieldLevelEncryptionConfig2020_05_31Result(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFRONT_API GetFieldLevelEncryptionConfig2020_05_31Result& operator=(const Aws::AmazonWebServiceResult& result); /** *

Return the field-level encryption configuration information.

*/ inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; } /** *

Return the field-level encryption configuration information.

*/ inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfig = value; } /** *

Return the field-level encryption configuration information.

*/ inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfig = std::move(value); } /** *

Return the field-level encryption configuration information.

*/ inline GetFieldLevelEncryptionConfig2020_05_31Result& WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { SetFieldLevelEncryptionConfig(value); return *this;} /** *

Return the field-level encryption configuration information.

*/ inline GetFieldLevelEncryptionConfig2020_05_31Result& WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { SetFieldLevelEncryptionConfig(std::move(value)); return *this;} /** *

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

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

The current version of the field level encryption configuration. For example: * E2QWRUHAPOMQZL.

*/ inline GetFieldLevelEncryptionConfig2020_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 GetFieldLevelEncryptionConfig2020_05_31Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetFieldLevelEncryptionConfig2020_05_31Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetFieldLevelEncryptionConfig2020_05_31Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig; Aws::String m_eTag; Aws::String m_requestId; }; } // namespace Model } // namespace CloudFront } // namespace Aws