AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AttributeOperation.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IdentityStore
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IDENTITYSTORE_API AttributeOperation() = default;
37 AWS_IDENTITYSTORE_API AttributeOperation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IDENTITYSTORE_API AttributeOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAttributePath() const { return m_attributePath; }
48 inline bool AttributePathHasBeenSet() const { return m_attributePathHasBeenSet; }
49 template<typename AttributePathT = Aws::String>
50 void SetAttributePath(AttributePathT&& value) { m_attributePathHasBeenSet = true; m_attributePath = std::forward<AttributePathT>(value); }
51 template<typename AttributePathT = Aws::String>
52 AttributeOperation& WithAttributePath(AttributePathT&& value) { SetAttributePath(std::forward<AttributePathT>(value)); return *this;}
54
56
60 inline Aws::Utils::DocumentView GetAttributeValue() const { return m_attributeValue; }
61 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
62 template<typename AttributeValueT = Aws::Utils::Document>
63 void SetAttributeValue(AttributeValueT&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::forward<AttributeValueT>(value); }
64 template<typename AttributeValueT = Aws::Utils::Document>
65 AttributeOperation& WithAttributeValue(AttributeValueT&& value) { SetAttributeValue(std::forward<AttributeValueT>(value)); return *this;}
67 private:
68
69 Aws::String m_attributePath;
70 bool m_attributePathHasBeenSet = false;
71
72 Aws::Utils::Document m_attributeValue;
73 bool m_attributeValueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IdentityStore
78} // namespace Aws
Aws::Utils::DocumentView GetAttributeValue() const
AttributeOperation & WithAttributeValue(AttributeValueT &&value)
AWS_IDENTITYSTORE_API AttributeOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeValue(AttributeValueT &&value)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IDENTITYSTORE_API AttributeOperation(Aws::Utils::Json::JsonView jsonValue)
AWS_IDENTITYSTORE_API AttributeOperation()=default
AttributeOperation & WithAttributePath(AttributePathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue