AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetObjectAttributesResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/clouddirectory/model/AttributeKeyAndValue.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 CloudDirectory
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API BatchGetObjectAttributesResponse() = default;
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AttributeKeyAndValue>& GetAttributes() const { return m_attributes; }
47 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
48 template<typename AttributesT = Aws::Vector<AttributeKeyAndValue>>
49 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
50 template<typename AttributesT = Aws::Vector<AttributeKeyAndValue>>
51 BatchGetObjectAttributesResponse& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
52 template<typename AttributesT = AttributeKeyAndValue>
53 BatchGetObjectAttributesResponse& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
55 private:
56
58 bool m_attributesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace CloudDirectory
63} // namespace Aws
BatchGetObjectAttributesResponse & WithAttributes(AttributesT &&value)
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributesResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AttributeKeyAndValue > & GetAttributes() const
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributesResponse()=default
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributesResponse(Aws::Utils::Json::JsonView jsonValue)
BatchGetObjectAttributesResponse & AddAttributes(AttributesT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue