AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IndexAttachment.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/AttributeKeyAndValue.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
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API IndexAttachment();
37 AWS_CLOUDDIRECTORY_API IndexAttachment(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API IndexAttachment& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AttributeKeyAndValue>& GetIndexedAttributes() const{ return m_indexedAttributes; }
47 inline bool IndexedAttributesHasBeenSet() const { return m_indexedAttributesHasBeenSet; }
48 inline void SetIndexedAttributes(const Aws::Vector<AttributeKeyAndValue>& value) { m_indexedAttributesHasBeenSet = true; m_indexedAttributes = value; }
49 inline void SetIndexedAttributes(Aws::Vector<AttributeKeyAndValue>&& value) { m_indexedAttributesHasBeenSet = true; m_indexedAttributes = std::move(value); }
52 inline IndexAttachment& AddIndexedAttributes(const AttributeKeyAndValue& value) { m_indexedAttributesHasBeenSet = true; m_indexedAttributes.push_back(value); return *this; }
53 inline IndexAttachment& AddIndexedAttributes(AttributeKeyAndValue&& value) { m_indexedAttributesHasBeenSet = true; m_indexedAttributes.push_back(std::move(value)); return *this; }
55
57
64 inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; }
65 inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; }
66 inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = value; }
67 inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = std::move(value); }
68 inline void SetObjectIdentifier(const char* value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier.assign(value); }
69 inline IndexAttachment& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;}
70 inline IndexAttachment& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;}
71 inline IndexAttachment& WithObjectIdentifier(const char* value) { SetObjectIdentifier(value); return *this;}
73 private:
74
75 Aws::Vector<AttributeKeyAndValue> m_indexedAttributes;
76 bool m_indexedAttributesHasBeenSet = false;
77
78 Aws::String m_objectIdentifier;
79 bool m_objectIdentifierHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudDirectory
84} // namespace Aws
IndexAttachment & WithIndexedAttributes(const Aws::Vector< AttributeKeyAndValue > &value)
IndexAttachment & WithObjectIdentifier(const Aws::String &value)
const Aws::Vector< AttributeKeyAndValue > & GetIndexedAttributes() const
AWS_CLOUDDIRECTORY_API IndexAttachment()
IndexAttachment & AddIndexedAttributes(const AttributeKeyAndValue &value)
IndexAttachment & WithObjectIdentifier(Aws::String &&value)
IndexAttachment & WithObjectIdentifier(const char *value)
IndexAttachment & AddIndexedAttributes(AttributeKeyAndValue &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
IndexAttachment & WithIndexedAttributes(Aws::Vector< AttributeKeyAndValue > &&value)
void SetObjectIdentifier(Aws::String &&value)
void SetObjectIdentifier(const Aws::String &value)
AWS_CLOUDDIRECTORY_API IndexAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetIndexedAttributes(const Aws::Vector< AttributeKeyAndValue > &value)
void SetIndexedAttributes(Aws::Vector< AttributeKeyAndValue > &&value)
AWS_CLOUDDIRECTORY_API IndexAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetObjectIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue