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-pinpoint/include/aws/pinpoint/model/JourneyCustomMessage.h

98 lines
2.7 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pinpoint
{
namespace Model
{
/**
* <p>Specifies the message content for a custom channel message that's sent to
* participants in a journey.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyCustomMessage">AWS
* API Reference</a></p>
*/
class AWS_PINPOINT_API JourneyCustomMessage
{
public:
JourneyCustomMessage();
JourneyCustomMessage(Aws::Utils::Json::JsonView jsonValue);
JourneyCustomMessage& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline const Aws::String& GetData() const{ return m_data; }
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline JourneyCustomMessage& WithData(const Aws::String& value) { SetData(value); return *this;}
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline JourneyCustomMessage& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
/**
* <p>The message content that's passed to an AWS Lambda function or to a web
* hook.</p>
*/
inline JourneyCustomMessage& WithData(const char* value) { SetData(value); return *this;}
private:
Aws::String m_data;
bool m_dataHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws