AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline const AttributeType& GetAttributeType() const{ return m_attributeType; }
59 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
60 inline void SetAttributeType(const AttributeType& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
61 inline void SetAttributeType(AttributeType&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); }
62 inline AttributeDimension& WithAttributeType(const AttributeType& value) { SetAttributeType(value); return *this;}
63 inline AttributeDimension& WithAttributeType(AttributeType&& value) { SetAttributeType(std::move(value)); return *this;}
65
67
72 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
76 inline AttributeDimension& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
77 inline AttributeDimension& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
78 inline AttributeDimension& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline AttributeDimension& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 inline AttributeDimension& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
82 private:
83
84 AttributeType m_attributeType;
85 bool m_attributeTypeHasBeenSet = false;
86
88 bool m_valuesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Pinpoint
93} // namespace Aws
AttributeDimension & WithAttributeType(AttributeType &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_PINPOINT_API AttributeDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeType(AttributeType &&value)
AttributeDimension & WithValues(Aws::Vector< Aws::String > &&value)
void SetAttributeType(const AttributeType &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeDimension & WithAttributeType(const AttributeType &value)
const AttributeType & GetAttributeType() const
void SetValues(Aws::Vector< Aws::String > &&value)
AttributeDimension & AddValues(const Aws::String &value)
AttributeDimension & AddValues(Aws::String &&value)
AWS_PINPOINT_API AttributeDimension(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AttributeDimension & AddValues(const char *value)
AttributeDimension & WithValues(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue