AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AttributeOperation.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/identitystore/IdentityStore_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IdentityStore {
21namespace Model {
22
30 public:
31 AWS_IDENTITYSTORE_API AttributeOperation() = default;
32 AWS_IDENTITYSTORE_API AttributeOperation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IDENTITYSTORE_API AttributeOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetAttributePath() const { return m_attributePath; }
42 inline bool AttributePathHasBeenSet() const { return m_attributePathHasBeenSet; }
43 template <typename AttributePathT = Aws::String>
44 void SetAttributePath(AttributePathT&& value) {
45 m_attributePathHasBeenSet = true;
46 m_attributePath = std::forward<AttributePathT>(value);
47 }
48 template <typename AttributePathT = Aws::String>
49 AttributeOperation& WithAttributePath(AttributePathT&& value) {
50 SetAttributePath(std::forward<AttributePathT>(value));
51 return *this;
52 }
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) {
64 m_attributeValueHasBeenSet = true;
65 m_attributeValue = std::forward<AttributeValueT>(value);
66 }
67 template <typename AttributeValueT = Aws::Utils::Document>
68 AttributeOperation& WithAttributeValue(AttributeValueT&& value) {
69 SetAttributeValue(std::forward<AttributeValueT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_attributePath;
75
76 Aws::Utils::Document m_attributeValue;
77 bool m_attributePathHasBeenSet = false;
78 bool m_attributeValueHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace IdentityStore
83} // 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