This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-macie2/source/model/AwsService.cpp

60 lines
965 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/macie2/model/AwsService.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Macie2
{
namespace Model
{
AwsService::AwsService() :
m_invokedByHasBeenSet(false)
{
}
AwsService::AwsService(JsonView jsonValue) :
m_invokedByHasBeenSet(false)
{
*this = jsonValue;
}
AwsService& AwsService::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("invokedBy"))
{
m_invokedBy = jsonValue.GetString("invokedBy");
m_invokedByHasBeenSet = true;
}
return *this;
}
JsonValue AwsService::Jsonize() const
{
JsonValue payload;
if(m_invokedByHasBeenSet)
{
payload.WithString("invokedBy", m_invokedBy);
}
return payload;
}
} // namespace Model
} // namespace Macie2
} // namespace Aws