AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttributes(const Aws::Vector<AttributeItem>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
50 inline void SetAttributes(Aws::Vector<AttributeItem>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
51 inline AttributeDetails& WithAttributes(const Aws::Vector<AttributeItem>& value) { SetAttributes(value); return *this;}
52 inline AttributeDetails& WithAttributes(Aws::Vector<AttributeItem>&& value) { SetAttributes(std::move(value)); return *this;}
53 inline AttributeDetails& AddAttributes(const AttributeItem& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
54 inline AttributeDetails& AddAttributes(AttributeItem&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
56
58
63 inline const Aws::String& GetExpression() const{ return m_expression; }
64 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
65 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
66 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
67 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
68 inline AttributeDetails& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
69 inline AttributeDetails& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
70 inline AttributeDetails& WithExpression(const char* value) { SetExpression(value); return *this;}
72 private:
73
74 Aws::Vector<AttributeItem> m_attributes;
75 bool m_attributesHasBeenSet = false;
76
77 Aws::String m_expression;
78 bool m_expressionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CustomerProfiles
83} // namespace Aws
AttributeDetails & WithAttributes(Aws::Vector< AttributeItem > &&value)
AWS_CUSTOMERPROFILES_API AttributeDetails(Aws::Utils::Json::JsonView jsonValue)
AttributeDetails & WithExpression(Aws::String &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributes(const Aws::Vector< AttributeItem > &value)
const Aws::Vector< AttributeItem > & GetAttributes() const
AttributeDetails & WithExpression(const char *value)
AWS_CUSTOMERPROFILES_API AttributeDetails()
AttributeDetails & AddAttributes(const AttributeItem &value)
AttributeDetails & WithAttributes(const Aws::Vector< AttributeItem > &value)
AWS_CUSTOMERPROFILES_API AttributeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeDetails & AddAttributes(AttributeItem &&value)
void SetExpression(const Aws::String &value)
AttributeDetails & WithExpression(const Aws::String &value)
void SetAttributes(Aws::Vector< AttributeItem > &&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