/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Provides information about the stack's conformity to its expected template * configuration.

See Also:

AWS * API Reference

*/ class AwsCloudFormationStackDriftInformationDetails { public: AWS_SECURITYHUB_API AwsCloudFormationStackDriftInformationDetails(); AWS_SECURITYHUB_API AwsCloudFormationStackDriftInformationDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsCloudFormationStackDriftInformationDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline const Aws::String& GetStackDriftStatus() const{ return m_stackDriftStatus; } /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline bool StackDriftStatusHasBeenSet() const { return m_stackDriftStatusHasBeenSet; } /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline void SetStackDriftStatus(const Aws::String& value) { m_stackDriftStatusHasBeenSet = true; m_stackDriftStatus = value; } /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline void SetStackDriftStatus(Aws::String&& value) { m_stackDriftStatusHasBeenSet = true; m_stackDriftStatus = std::move(value); } /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline void SetStackDriftStatus(const char* value) { m_stackDriftStatusHasBeenSet = true; m_stackDriftStatus.assign(value); } /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline AwsCloudFormationStackDriftInformationDetails& WithStackDriftStatus(const Aws::String& value) { SetStackDriftStatus(value); return *this;} /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline AwsCloudFormationStackDriftInformationDetails& WithStackDriftStatus(Aws::String&& value) { SetStackDriftStatus(std::move(value)); return *this;} /** *

Status of the stack's actual configuration compared to its expected template * configuration.

*/ inline AwsCloudFormationStackDriftInformationDetails& WithStackDriftStatus(const char* value) { SetStackDriftStatus(value); return *this;} private: Aws::String m_stackDriftStatus; bool m_stackDriftStatusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws