AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EventTriggerDimension.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/model/ObjectAttribute.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 CustomerProfiles
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API EventTriggerDimension() = default;
36 AWS_CUSTOMERPROFILES_API EventTriggerDimension(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CUSTOMERPROFILES_API EventTriggerDimension& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<ObjectAttribute>& GetObjectAttributes() const { return m_objectAttributes; }
46 inline bool ObjectAttributesHasBeenSet() const { return m_objectAttributesHasBeenSet; }
47 template<typename ObjectAttributesT = Aws::Vector<ObjectAttribute>>
48 void SetObjectAttributes(ObjectAttributesT&& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes = std::forward<ObjectAttributesT>(value); }
49 template<typename ObjectAttributesT = Aws::Vector<ObjectAttribute>>
50 EventTriggerDimension& WithObjectAttributes(ObjectAttributesT&& value) { SetObjectAttributes(std::forward<ObjectAttributesT>(value)); return *this;}
51 template<typename ObjectAttributesT = ObjectAttribute>
52 EventTriggerDimension& AddObjectAttributes(ObjectAttributesT&& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes.emplace_back(std::forward<ObjectAttributesT>(value)); return *this; }
54 private:
55
56 Aws::Vector<ObjectAttribute> m_objectAttributes;
57 bool m_objectAttributesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CustomerProfiles
62} // namespace Aws
EventTriggerDimension & AddObjectAttributes(ObjectAttributesT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerDimension()=default
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventTriggerDimension & WithObjectAttributes(ObjectAttributesT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerDimension(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ObjectAttribute > & GetObjectAttributes() const
AWS_CUSTOMERPROFILES_API EventTriggerDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue