AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchUpdateLinkAttributes.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/TypedLinkSpecifier.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/clouddirectory/model/LinkAttributeUpdate.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 CloudDirectory
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_CLOUDDIRECTORY_API BatchUpdateLinkAttributes() = default;
41 AWS_CLOUDDIRECTORY_API BatchUpdateLinkAttributes(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const { return m_typedLinkSpecifier; }
51 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
52 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
53 void SetTypedLinkSpecifier(TypedLinkSpecifierT&& value) { m_typedLinkSpecifierHasBeenSet = true; m_typedLinkSpecifier = std::forward<TypedLinkSpecifierT>(value); }
54 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
55 BatchUpdateLinkAttributes& WithTypedLinkSpecifier(TypedLinkSpecifierT&& value) { SetTypedLinkSpecifier(std::forward<TypedLinkSpecifierT>(value)); return *this;}
57
59
62 inline const Aws::Vector<LinkAttributeUpdate>& GetAttributeUpdates() const { return m_attributeUpdates; }
63 inline bool AttributeUpdatesHasBeenSet() const { return m_attributeUpdatesHasBeenSet; }
64 template<typename AttributeUpdatesT = Aws::Vector<LinkAttributeUpdate>>
65 void SetAttributeUpdates(AttributeUpdatesT&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates = std::forward<AttributeUpdatesT>(value); }
66 template<typename AttributeUpdatesT = Aws::Vector<LinkAttributeUpdate>>
67 BatchUpdateLinkAttributes& WithAttributeUpdates(AttributeUpdatesT&& value) { SetAttributeUpdates(std::forward<AttributeUpdatesT>(value)); return *this;}
68 template<typename AttributeUpdatesT = LinkAttributeUpdate>
69 BatchUpdateLinkAttributes& AddAttributeUpdates(AttributeUpdatesT&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace_back(std::forward<AttributeUpdatesT>(value)); return *this; }
71 private:
72
73 TypedLinkSpecifier m_typedLinkSpecifier;
74 bool m_typedLinkSpecifierHasBeenSet = false;
75
76 Aws::Vector<LinkAttributeUpdate> m_attributeUpdates;
77 bool m_attributeUpdatesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudDirectory
82} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue