AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LookupPolicyRequest.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 <utility>
12
13namespace Aws
14{
15namespace CloudDirectory
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDDIRECTORY_API LookupPolicyRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "LookupPolicy"; }
32
33 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
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 LookupPolicyRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
49 inline LookupPolicyRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
50 inline LookupPolicyRequest& 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); }
61 inline LookupPolicyRequest& WithObjectReference(const ObjectReference& value) { SetObjectReference(value); return *this;}
62 inline LookupPolicyRequest& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 inline LookupPolicyRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline LookupPolicyRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline LookupPolicyRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
84 inline int GetMaxResults() const{ return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline LookupPolicyRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89 private:
90
91 Aws::String m_directoryArn;
92 bool m_directoryArnHasBeenSet = false;
93
94 ObjectReference m_objectReference;
95 bool m_objectReferenceHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 int m_maxResults;
101 bool m_maxResultsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CloudDirectory
106} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
LookupPolicyRequest & WithNextToken(const char *value)
const ObjectReference & GetObjectReference() const
void SetObjectReference(const ObjectReference &value)
LookupPolicyRequest & WithDirectoryArn(const char *value)
LookupPolicyRequest & WithMaxResults(int value)
LookupPolicyRequest & WithNextToken(Aws::String &&value)
LookupPolicyRequest & WithDirectoryArn(Aws::String &&value)
LookupPolicyRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
LookupPolicyRequest & WithObjectReference(ObjectReference &&value)
LookupPolicyRequest & WithObjectReference(const ObjectReference &value)
LookupPolicyRequest & WithDirectoryArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String