AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveFacetFromObjectRequest.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/SchemaFacet.h>
11#include <aws/clouddirectory/model/ObjectReference.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudDirectory
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDDIRECTORY_API RemoveFacetFromObjectRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RemoveFacetFromObject"; }
33
34 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
35
36 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; }
44 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
45 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArnHasBeenSet = true; m_directoryArn = value; }
46 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::move(value); }
47 inline void SetDirectoryArn(const char* value) { m_directoryArnHasBeenSet = true; m_directoryArn.assign(value); }
48 inline RemoveFacetFromObjectRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
49 inline RemoveFacetFromObjectRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
50 inline RemoveFacetFromObjectRequest& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
52
54
57 inline const SchemaFacet& GetSchemaFacet() const{ return m_schemaFacet; }
58 inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; }
59 inline void SetSchemaFacet(const SchemaFacet& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = value; }
60 inline void SetSchemaFacet(SchemaFacet&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::move(value); }
61 inline RemoveFacetFromObjectRequest& WithSchemaFacet(const SchemaFacet& value) { SetSchemaFacet(value); return *this;}
62 inline RemoveFacetFromObjectRequest& WithSchemaFacet(SchemaFacet&& value) { SetSchemaFacet(std::move(value)); return *this;}
64
66
69 inline const ObjectReference& GetObjectReference() const{ return m_objectReference; }
70 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
71 inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; }
72 inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); }
74 inline RemoveFacetFromObjectRequest& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_directoryArn;
79 bool m_directoryArnHasBeenSet = false;
80
81 SchemaFacet m_schemaFacet;
82 bool m_schemaFacetHasBeenSet = false;
83
84 ObjectReference m_objectReference;
85 bool m_objectReferenceHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CloudDirectory
90} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveFacetFromObjectRequest & WithDirectoryArn(const char *value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
RemoveFacetFromObjectRequest & WithDirectoryArn(const Aws::String &value)
RemoveFacetFromObjectRequest & WithSchemaFacet(SchemaFacet &&value)
RemoveFacetFromObjectRequest & WithSchemaFacet(const SchemaFacet &value)
RemoveFacetFromObjectRequest & WithObjectReference(ObjectReference &&value)
RemoveFacetFromObjectRequest & WithDirectoryArn(Aws::String &&value)
RemoveFacetFromObjectRequest & WithObjectReference(const ObjectReference &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String