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-states/source/model/MapStateStartedEventDetails.cpp

62 lines
1.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/states/model/MapStateStartedEventDetails.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace SFN
{
namespace Model
{
MapStateStartedEventDetails::MapStateStartedEventDetails() :
m_length(0),
m_lengthHasBeenSet(false)
{
}
MapStateStartedEventDetails::MapStateStartedEventDetails(JsonView jsonValue) :
m_length(0),
m_lengthHasBeenSet(false)
{
*this = jsonValue;
}
MapStateStartedEventDetails& MapStateStartedEventDetails::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("length"))
{
m_length = jsonValue.GetInteger("length");
m_lengthHasBeenSet = true;
}
return *this;
}
JsonValue MapStateStartedEventDetails::Jsonize() const
{
JsonValue payload;
if(m_lengthHasBeenSet)
{
payload.WithInteger("length", m_length);
}
return payload;
}
} // namespace Model
} // namespace SFN
} // namespace Aws