AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InAppMessagesResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/model/InAppMessageCampaign.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PINPOINT_API InAppMessagesResponse();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<InAppMessageCampaign>& GetInAppMessageCampaigns() const{ return m_inAppMessageCampaigns; }
46 inline bool InAppMessageCampaignsHasBeenSet() const { return m_inAppMessageCampaignsHasBeenSet; }
47 inline void SetInAppMessageCampaigns(const Aws::Vector<InAppMessageCampaign>& value) { m_inAppMessageCampaignsHasBeenSet = true; m_inAppMessageCampaigns = value; }
48 inline void SetInAppMessageCampaigns(Aws::Vector<InAppMessageCampaign>&& value) { m_inAppMessageCampaignsHasBeenSet = true; m_inAppMessageCampaigns = std::move(value); }
51 inline InAppMessagesResponse& AddInAppMessageCampaigns(const InAppMessageCampaign& value) { m_inAppMessageCampaignsHasBeenSet = true; m_inAppMessageCampaigns.push_back(value); return *this; }
52 inline InAppMessagesResponse& AddInAppMessageCampaigns(InAppMessageCampaign&& value) { m_inAppMessageCampaignsHasBeenSet = true; m_inAppMessageCampaigns.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<InAppMessageCampaign> m_inAppMessageCampaigns;
57 bool m_inAppMessageCampaignsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Pinpoint
62} // namespace Aws
void SetInAppMessageCampaigns(const Aws::Vector< InAppMessageCampaign > &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
InAppMessagesResponse & WithInAppMessageCampaigns(const Aws::Vector< InAppMessageCampaign > &value)
InAppMessagesResponse & AddInAppMessageCampaigns(const InAppMessageCampaign &value)
AWS_PINPOINT_API InAppMessagesResponse(Aws::Utils::Json::JsonView jsonValue)
InAppMessagesResponse & WithInAppMessageCampaigns(Aws::Vector< InAppMessageCampaign > &&value)
void SetInAppMessageCampaigns(Aws::Vector< InAppMessageCampaign > &&value)
const Aws::Vector< InAppMessageCampaign > & GetInAppMessageCampaigns() const
InAppMessagesResponse & AddInAppMessageCampaigns(InAppMessageCampaign &&value)
AWS_PINPOINT_API InAppMessagesResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue