AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AdsInteractionLog.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediatailor/model/AdsInteractionPublishOptInEventType.h>
10#include <aws/mediatailor/model/AdsInteractionExcludeEventType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaTailor
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_MEDIATAILOR_API AdsInteractionLog() = default;
42 AWS_MEDIATAILOR_API AdsInteractionLog(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Vector<AdsInteractionPublishOptInEventType>& GetPublishOptInEventTypes() const { return m_publishOptInEventTypes; }
53 inline bool PublishOptInEventTypesHasBeenSet() const { return m_publishOptInEventTypesHasBeenSet; }
54 template<typename PublishOptInEventTypesT = Aws::Vector<AdsInteractionPublishOptInEventType>>
55 void SetPublishOptInEventTypes(PublishOptInEventTypesT&& value) { m_publishOptInEventTypesHasBeenSet = true; m_publishOptInEventTypes = std::forward<PublishOptInEventTypesT>(value); }
56 template<typename PublishOptInEventTypesT = Aws::Vector<AdsInteractionPublishOptInEventType>>
57 AdsInteractionLog& WithPublishOptInEventTypes(PublishOptInEventTypesT&& value) { SetPublishOptInEventTypes(std::forward<PublishOptInEventTypesT>(value)); return *this;}
58 inline AdsInteractionLog& AddPublishOptInEventTypes(AdsInteractionPublishOptInEventType value) { m_publishOptInEventTypesHasBeenSet = true; m_publishOptInEventTypes.push_back(value); return *this; }
60
62
66 inline const Aws::Vector<AdsInteractionExcludeEventType>& GetExcludeEventTypes() const { return m_excludeEventTypes; }
67 inline bool ExcludeEventTypesHasBeenSet() const { return m_excludeEventTypesHasBeenSet; }
68 template<typename ExcludeEventTypesT = Aws::Vector<AdsInteractionExcludeEventType>>
69 void SetExcludeEventTypes(ExcludeEventTypesT&& value) { m_excludeEventTypesHasBeenSet = true; m_excludeEventTypes = std::forward<ExcludeEventTypesT>(value); }
70 template<typename ExcludeEventTypesT = Aws::Vector<AdsInteractionExcludeEventType>>
71 AdsInteractionLog& WithExcludeEventTypes(ExcludeEventTypesT&& value) { SetExcludeEventTypes(std::forward<ExcludeEventTypesT>(value)); return *this;}
72 inline AdsInteractionLog& AddExcludeEventTypes(AdsInteractionExcludeEventType value) { m_excludeEventTypesHasBeenSet = true; m_excludeEventTypes.push_back(value); return *this; }
74 private:
75
77 bool m_publishOptInEventTypesHasBeenSet = false;
78
80 bool m_excludeEventTypesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace MediaTailor
85} // namespace Aws
const Aws::Vector< AdsInteractionPublishOptInEventType > & GetPublishOptInEventTypes() const
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPublishOptInEventTypes(PublishOptInEventTypesT &&value)
AdsInteractionLog & AddPublishOptInEventTypes(AdsInteractionPublishOptInEventType value)
void SetExcludeEventTypes(ExcludeEventTypesT &&value)
AWS_MEDIATAILOR_API AdsInteractionLog()=default
AWS_MEDIATAILOR_API AdsInteractionLog & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AdsInteractionExcludeEventType > & GetExcludeEventTypes() const
AdsInteractionLog & WithExcludeEventTypes(ExcludeEventTypesT &&value)
AWS_MEDIATAILOR_API AdsInteractionLog(Aws::Utils::Json::JsonView jsonValue)
AdsInteractionLog & AddExcludeEventTypes(AdsInteractionExcludeEventType value)
AdsInteractionLog & WithPublishOptInEventTypes(PublishOptInEventTypesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue