AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
BatchGetLinkAttributes.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudDirectory {
22namespace Model {
23
32 public:
33 AWS_CLOUDDIRECTORY_API BatchGetLinkAttributes() = default;
34 AWS_CLOUDDIRECTORY_API BatchGetLinkAttributes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const { return m_typedLinkSpecifier; }
43 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
44 template <typename TypedLinkSpecifierT = TypedLinkSpecifier>
45 void SetTypedLinkSpecifier(TypedLinkSpecifierT&& value) {
46 m_typedLinkSpecifierHasBeenSet = true;
47 m_typedLinkSpecifier = std::forward<TypedLinkSpecifierT>(value);
48 }
49 template <typename TypedLinkSpecifierT = TypedLinkSpecifier>
50 BatchGetLinkAttributes& WithTypedLinkSpecifier(TypedLinkSpecifierT&& value) {
51 SetTypedLinkSpecifier(std::forward<TypedLinkSpecifierT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
61 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
62 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
63 void SetAttributeNames(AttributeNamesT&& value) {
64 m_attributeNamesHasBeenSet = true;
65 m_attributeNames = std::forward<AttributeNamesT>(value);
66 }
67 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
68 BatchGetLinkAttributes& WithAttributeNames(AttributeNamesT&& value) {
69 SetAttributeNames(std::forward<AttributeNamesT>(value));
70 return *this;
71 }
72 template <typename AttributeNamesT = Aws::String>
73 BatchGetLinkAttributes& AddAttributeNames(AttributeNamesT&& value) {
74 m_attributeNamesHasBeenSet = true;
75 m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value));
76 return *this;
77 }
79 private:
80 TypedLinkSpecifier m_typedLinkSpecifier;
81
82 Aws::Vector<Aws::String> m_attributeNames;
83 bool m_typedLinkSpecifierHasBeenSet = false;
84 bool m_attributeNamesHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CloudDirectory
89} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue