AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
38 AWS_CLOUDDIRECTORY_API BatchGetLinkAttributes() = default;
39 AWS_CLOUDDIRECTORY_API BatchGetLinkAttributes(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const { return m_typedLinkSpecifier; }
49 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
50 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
51 void SetTypedLinkSpecifier(TypedLinkSpecifierT&& value) { m_typedLinkSpecifierHasBeenSet = true; m_typedLinkSpecifier = std::forward<TypedLinkSpecifierT>(value); }
52 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
53 BatchGetLinkAttributes& WithTypedLinkSpecifier(TypedLinkSpecifierT&& value) { SetTypedLinkSpecifier(std::forward<TypedLinkSpecifierT>(value)); return *this;}
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) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::forward<AttributeNamesT>(value); }
64 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
65 BatchGetLinkAttributes& WithAttributeNames(AttributeNamesT&& value) { SetAttributeNames(std::forward<AttributeNamesT>(value)); return *this;}
66 template<typename AttributeNamesT = Aws::String>
67 BatchGetLinkAttributes& AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value)); return *this; }
69 private:
70
71 TypedLinkSpecifier m_typedLinkSpecifier;
72 bool m_typedLinkSpecifierHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_attributeNames;
75 bool m_attributeNamesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudDirectory
80} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue