AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EventTriggerDimension.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/ObjectAttribute.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CustomerProfiles {
21namespace Model {
22
29 public:
30 AWS_CUSTOMERPROFILES_API EventTriggerDimension() = default;
31 AWS_CUSTOMERPROFILES_API EventTriggerDimension(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CUSTOMERPROFILES_API EventTriggerDimension& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<ObjectAttribute>& GetObjectAttributes() const { return m_objectAttributes; }
40 inline bool ObjectAttributesHasBeenSet() const { return m_objectAttributesHasBeenSet; }
41 template <typename ObjectAttributesT = Aws::Vector<ObjectAttribute>>
42 void SetObjectAttributes(ObjectAttributesT&& value) {
43 m_objectAttributesHasBeenSet = true;
44 m_objectAttributes = std::forward<ObjectAttributesT>(value);
45 }
46 template <typename ObjectAttributesT = Aws::Vector<ObjectAttribute>>
47 EventTriggerDimension& WithObjectAttributes(ObjectAttributesT&& value) {
48 SetObjectAttributes(std::forward<ObjectAttributesT>(value));
49 return *this;
50 }
51 template <typename ObjectAttributesT = ObjectAttribute>
52 EventTriggerDimension& AddObjectAttributes(ObjectAttributesT&& value) {
53 m_objectAttributesHasBeenSet = true;
54 m_objectAttributes.emplace_back(std::forward<ObjectAttributesT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<ObjectAttribute> m_objectAttributes;
60 bool m_objectAttributesHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace CustomerProfiles
65} // 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