AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AttributeDetails.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/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/AttributeItem.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 CustomerProfiles
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API AttributeDetails() = default;
38 AWS_CUSTOMERPROFILES_API AttributeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API AttributeDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<AttributeItem>& GetAttributes() const { return m_attributes; }
48 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
49 template<typename AttributesT = Aws::Vector<AttributeItem>>
50 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
51 template<typename AttributesT = Aws::Vector<AttributeItem>>
52 AttributeDetails& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
53 template<typename AttributesT = AttributeItem>
54 AttributeDetails& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
56
58
63 inline const Aws::String& GetExpression() const { return m_expression; }
64 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
65 template<typename ExpressionT = Aws::String>
66 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
67 template<typename ExpressionT = Aws::String>
68 AttributeDetails& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
70 private:
71
72 Aws::Vector<AttributeItem> m_attributes;
73 bool m_attributesHasBeenSet = false;
74
75 Aws::String m_expression;
76 bool m_expressionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CustomerProfiles
81} // namespace Aws
AWS_CUSTOMERPROFILES_API AttributeDetails()=default
AWS_CUSTOMERPROFILES_API AttributeDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AttributeItem > & GetAttributes() const
AttributeDetails & WithExpression(ExpressionT &&value)
AttributeDetails & WithAttributes(AttributesT &&value)
AWS_CUSTOMERPROFILES_API AttributeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeDetails & AddAttributes(AttributesT &&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