/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Macie2 { namespace Model { S3ClassificationScope::S3ClassificationScope() : m_excludesHasBeenSet(false) { } S3ClassificationScope::S3ClassificationScope(JsonView jsonValue) : m_excludesHasBeenSet(false) { *this = jsonValue; } S3ClassificationScope& S3ClassificationScope::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("excludes")) { m_excludes = jsonValue.GetObject("excludes"); m_excludesHasBeenSet = true; } return *this; } JsonValue S3ClassificationScope::Jsonize() const { JsonValue payload; if(m_excludesHasBeenSet) { payload.WithObject("excludes", m_excludes.Jsonize()); } return payload; } } // namespace Model } // namespace Macie2 } // namespace Aws