AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AttributeDimension.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/AttributeType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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 Pinpoint
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINT_API AttributeDimension() = default;
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline AttributeType GetAttributeType() const { return m_attributeType; }
59 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
60 inline void SetAttributeType(AttributeType value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
63
65
70 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
71 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
72 template<typename ValuesT = Aws::Vector<Aws::String>>
73 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
74 template<typename ValuesT = Aws::Vector<Aws::String>>
75 AttributeDimension& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
76 template<typename ValuesT = Aws::String>
77 AttributeDimension& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
79 private:
80
82 bool m_attributeTypeHasBeenSet = false;
83
85 bool m_valuesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Pinpoint
90} // namespace Aws
AttributeDimension & WithValues(ValuesT &&value)
AWS_PINPOINT_API AttributeDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API AttributeDimension()=default
AttributeDimension & WithAttributeType(AttributeType value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API AttributeDimension(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AttributeDimension & AddValues(ValuesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue