AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAccessPoliciesRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/iotsitewise/model/IdentityType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iotsitewise/model/ResourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTSiteWise
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTSITEWISE_API ListAccessPoliciesRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListAccessPolicies"; }
37
38 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
39
40 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
50 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
51 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
52 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
53 inline ListAccessPoliciesRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
54 inline ListAccessPoliciesRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
63 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
64 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
65 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
66 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
67 inline ListAccessPoliciesRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
68 inline ListAccessPoliciesRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
69 inline ListAccessPoliciesRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
71
73
77 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
79 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
80 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
81 inline ListAccessPoliciesRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
82 inline ListAccessPoliciesRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
91 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
92 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
93 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
94 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
95 inline ListAccessPoliciesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 inline ListAccessPoliciesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
97 inline ListAccessPoliciesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
99
101
107 inline const Aws::String& GetIamArn() const{ return m_iamArn; }
108 inline bool IamArnHasBeenSet() const { return m_iamArnHasBeenSet; }
109 inline void SetIamArn(const Aws::String& value) { m_iamArnHasBeenSet = true; m_iamArn = value; }
110 inline void SetIamArn(Aws::String&& value) { m_iamArnHasBeenSet = true; m_iamArn = std::move(value); }
111 inline void SetIamArn(const char* value) { m_iamArnHasBeenSet = true; m_iamArn.assign(value); }
112 inline ListAccessPoliciesRequest& WithIamArn(const Aws::String& value) { SetIamArn(value); return *this;}
113 inline ListAccessPoliciesRequest& WithIamArn(Aws::String&& value) { SetIamArn(std::move(value)); return *this;}
114 inline ListAccessPoliciesRequest& WithIamArn(const char* value) { SetIamArn(value); return *this;}
116
118
121 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
122 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
123 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
124 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
125 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
126 inline ListAccessPoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 inline ListAccessPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 inline ListAccessPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
130
132
136 inline int GetMaxResults() const{ return m_maxResults; }
137 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
138 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 inline ListAccessPoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 private:
142
143 IdentityType m_identityType;
144 bool m_identityTypeHasBeenSet = false;
145
146 Aws::String m_identityId;
147 bool m_identityIdHasBeenSet = false;
148
149 ResourceType m_resourceType;
150 bool m_resourceTypeHasBeenSet = false;
151
152 Aws::String m_resourceId;
153 bool m_resourceIdHasBeenSet = false;
154
155 Aws::String m_iamArn;
156 bool m_iamArnHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
161 int m_maxResults;
162 bool m_maxResultsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace IoTSiteWise
167} // namespace Aws
ListAccessPoliciesRequest & WithIamArn(Aws::String &&value)
ListAccessPoliciesRequest & WithIdentityId(Aws::String &&value)
ListAccessPoliciesRequest & WithNextToken(Aws::String &&value)
ListAccessPoliciesRequest & WithIdentityType(const IdentityType &value)
ListAccessPoliciesRequest & WithResourceId(const char *value)
ListAccessPoliciesRequest & WithIamArn(const Aws::String &value)
ListAccessPoliciesRequest & WithResourceType(ResourceType &&value)
ListAccessPoliciesRequest & WithIdentityId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
ListAccessPoliciesRequest & WithNextToken(const char *value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAccessPoliciesRequest & WithIdentityId(const char *value)
virtual const char * GetServiceRequestName() const override
ListAccessPoliciesRequest & WithResourceId(Aws::String &&value)
ListAccessPoliciesRequest & WithIamArn(const char *value)
ListAccessPoliciesRequest & WithIdentityType(IdentityType &&value)
ListAccessPoliciesRequest & WithResourceType(const ResourceType &value)
ListAccessPoliciesRequest & WithNextToken(const Aws::String &value)
ListAccessPoliciesRequest & WithResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String