AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDetachObject.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <aws/core/utils/memory/stl/AWSString.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 BatchDetachObject();
37 AWS_CLOUDDIRECTORY_API BatchDetachObject(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API BatchDetachObject& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ObjectReference& GetParentReference() const{ return m_parentReference; }
48 inline bool ParentReferenceHasBeenSet() const { return m_parentReferenceHasBeenSet; }
49 inline void SetParentReference(const ObjectReference& value) { m_parentReferenceHasBeenSet = true; m_parentReference = value; }
50 inline void SetParentReference(ObjectReference&& value) { m_parentReferenceHasBeenSet = true; m_parentReference = std::move(value); }
51 inline BatchDetachObject& WithParentReference(const ObjectReference& value) { SetParentReference(value); return *this;}
52 inline BatchDetachObject& WithParentReference(ObjectReference&& value) { SetParentReference(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetLinkName() const{ return m_linkName; }
60 inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; }
61 inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; }
62 inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); }
63 inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); }
64 inline BatchDetachObject& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;}
65 inline BatchDetachObject& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;}
66 inline BatchDetachObject& WithLinkName(const char* value) { SetLinkName(value); return *this;}
68
70
75 inline const Aws::String& GetBatchReferenceName() const{ return m_batchReferenceName; }
76 inline bool BatchReferenceNameHasBeenSet() const { return m_batchReferenceNameHasBeenSet; }
77 inline void SetBatchReferenceName(const Aws::String& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = value; }
78 inline void SetBatchReferenceName(Aws::String&& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = std::move(value); }
79 inline void SetBatchReferenceName(const char* value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName.assign(value); }
80 inline BatchDetachObject& WithBatchReferenceName(const Aws::String& value) { SetBatchReferenceName(value); return *this;}
81 inline BatchDetachObject& WithBatchReferenceName(Aws::String&& value) { SetBatchReferenceName(std::move(value)); return *this;}
82 inline BatchDetachObject& WithBatchReferenceName(const char* value) { SetBatchReferenceName(value); return *this;}
84 private:
85
86 ObjectReference m_parentReference;
87 bool m_parentReferenceHasBeenSet = false;
88
89 Aws::String m_linkName;
90 bool m_linkNameHasBeenSet = false;
91
92 Aws::String m_batchReferenceName;
93 bool m_batchReferenceNameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudDirectory
98} // namespace Aws
AWS_CLOUDDIRECTORY_API BatchDetachObject(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBatchReferenceName() const
AWS_CLOUDDIRECTORY_API BatchDetachObject & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentReference(ObjectReference &&value)
const ObjectReference & GetParentReference() const
void SetBatchReferenceName(const Aws::String &value)
BatchDetachObject & WithLinkName(const char *value)
BatchDetachObject & WithParentReference(const ObjectReference &value)
BatchDetachObject & WithLinkName(const Aws::String &value)
BatchDetachObject & WithBatchReferenceName(Aws::String &&value)
BatchDetachObject & WithBatchReferenceName(const Aws::String &value)
BatchDetachObject & WithParentReference(ObjectReference &&value)
BatchDetachObject & WithBatchReferenceName(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDetachObject & WithLinkName(Aws::String &&value)
void SetParentReference(const ObjectReference &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue