AWS SDK for C++  1.9.159
AWS SDK for C++
GetServiceLastAccessedDetailsWithEntitiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetServiceLastAccessedDetailsWithEntities"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetJobId() const{ return m_jobId; }
44 
49  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 
55  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
56 
61  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
62 
67  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
68 
73  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
74 
79  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
80 
85  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
86 
87 
101  inline const Aws::String& GetServiceNamespace() const{ return m_serviceNamespace; }
102 
116  inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
117 
131  inline void SetServiceNamespace(const Aws::String& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
132 
146  inline void SetServiceNamespace(Aws::String&& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = std::move(value); }
147 
161  inline void SetServiceNamespace(const char* value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace.assign(value); }
162 
176  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithServiceNamespace(const Aws::String& value) { SetServiceNamespace(value); return *this;}
177 
191  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithServiceNamespace(Aws::String&& value) { SetServiceNamespace(std::move(value)); return *this;}
192 
206  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithServiceNamespace(const char* value) { SetServiceNamespace(value); return *this;}
207 
208 
219  inline int GetMaxItems() const{ return m_maxItems; }
220 
231  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
232 
243  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
244 
255  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
256 
257 
264  inline const Aws::String& GetMarker() const{ return m_marker; }
265 
272  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
273 
280  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
281 
288  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
289 
296  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
297 
304  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
305 
312  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
313 
320  inline GetServiceLastAccessedDetailsWithEntitiesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
321 
322  private:
323 
324  Aws::String m_jobId;
325  bool m_jobIdHasBeenSet;
326 
327  Aws::String m_serviceNamespace;
328  bool m_serviceNamespaceHasBeenSet;
329 
330  int m_maxItems;
331  bool m_maxItemsHasBeenSet;
332 
333  Aws::String m_marker;
334  bool m_markerHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace IAM
339 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetMaxItems
void SetMaxItems(int value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:243
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetServiceNamespace
const Aws::String & GetServiceNamespace() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:101
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithJobId
GetServiceLastAccessedDetailsWithEntitiesRequest & WithJobId(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:85
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetMaxItems
int GetMaxItems() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:219
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:55
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithMarker
GetServiceLastAccessedDetailsWithEntitiesRequest & WithMarker(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:304
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:264
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::ServiceNamespaceHasBeenSet
bool ServiceNamespaceHasBeenSet() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:116
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithMaxItems
GetServiceLastAccessedDetailsWithEntitiesRequest & WithMaxItems(int value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:255
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:61
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetServiceNamespace
void SetServiceNamespace(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:161
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetServiceNamespace
void SetServiceNamespace(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:131
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:272
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:43
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithMarker
GetServiceLastAccessedDetailsWithEntitiesRequest & WithMarker(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:312
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:30
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithJobId
GetServiceLastAccessedDetailsWithEntitiesRequest & WithJobId(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:73
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithServiceNamespace
GetServiceLastAccessedDetailsWithEntitiesRequest & WithServiceNamespace(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:191
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetMarker
void SetMarker(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:296
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithMarker
GetServiceLastAccessedDetailsWithEntitiesRequest & WithMarker(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:320
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::GetServiceLastAccessedDetailsWithEntitiesRequest
GetServiceLastAccessedDetailsWithEntitiesRequest()
AWSString.h
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetJobId
void SetJobId(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:67
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetServiceNamespace
void SetServiceNamespace(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:146
IAM_EXPORTS.h
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithJobId
GetServiceLastAccessedDetailsWithEntitiesRequest & WithJobId(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:79
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithServiceNamespace
GetServiceLastAccessedDetailsWithEntitiesRequest & WithServiceNamespace(const char *value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:206
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:280
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:288
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::WithServiceNamespace
GetServiceLastAccessedDetailsWithEntitiesRequest & WithServiceNamespace(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:176
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:231
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:22
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::GetServiceLastAccessedDetailsWithEntitiesRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetServiceLastAccessedDetailsWithEntitiesRequest.h:49