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-sesv2/source/model/TrackingOptions.cpp

60 lines
1.1 KiB
C++

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