AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetObjectInformationRequest.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/ObjectReference.h>
11#include <aws/clouddirectory/model/ConsistencyLevel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudDirectory
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDDIRECTORY_API GetObjectInformationRequest();
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 "GetObjectInformation"; }
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 GetObjectInformationRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
49 inline GetObjectInformationRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
50 inline GetObjectInformationRequest& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
52
54
57 inline const ObjectReference& GetObjectReference() const{ return m_objectReference; }
58 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
59 inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; }
60 inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); }
62 inline GetObjectInformationRequest& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
64
66
69 inline const ConsistencyLevel& GetConsistencyLevel() const{ return m_consistencyLevel; }
70 inline bool ConsistencyLevelHasBeenSet() const { return m_consistencyLevelHasBeenSet; }
71 inline void SetConsistencyLevel(const ConsistencyLevel& value) { m_consistencyLevelHasBeenSet = true; m_consistencyLevel = value; }
72 inline void SetConsistencyLevel(ConsistencyLevel&& value) { m_consistencyLevelHasBeenSet = true; m_consistencyLevel = std::move(value); }
74 inline GetObjectInformationRequest& WithConsistencyLevel(ConsistencyLevel&& value) { SetConsistencyLevel(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_directoryArn;
79 bool m_directoryArnHasBeenSet = false;
80
81 ObjectReference m_objectReference;
82 bool m_objectReferenceHasBeenSet = false;
83
84 ConsistencyLevel m_consistencyLevel;
85 bool m_consistencyLevelHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CloudDirectory
90} // namespace Aws
GetObjectInformationRequest & WithObjectReference(ObjectReference &&value)
GetObjectInformationRequest & WithDirectoryArn(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetObjectInformationRequest & WithDirectoryArn(const Aws::String &value)
GetObjectInformationRequest & WithObjectReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
GetObjectInformationRequest & WithConsistencyLevel(const ConsistencyLevel &value)
GetObjectInformationRequest & WithConsistencyLevel(ConsistencyLevel &&value)
GetObjectInformationRequest & WithDirectoryArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String