AWS SDK for C++  1.9.40
AWS SDK for C++
GetServiceLastAccessedDetailsRequest.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 "GetServiceLastAccessedDetails"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
46  inline const Aws::String& GetJobId() const{ return m_jobId; }
47 
55  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
56 
64  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
65 
73  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
74 
82  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
83 
91  inline GetServiceLastAccessedDetailsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
92 
100  inline GetServiceLastAccessedDetailsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
101 
109  inline GetServiceLastAccessedDetailsRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
110 
111 
122  inline int GetMaxItems() const{ return m_maxItems; }
123 
134  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
135 
146  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
147 
158  inline GetServiceLastAccessedDetailsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
159 
160 
167  inline const Aws::String& GetMarker() const{ return m_marker; }
168 
175  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
176 
183  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
184 
191  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
192 
199  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
200 
207  inline GetServiceLastAccessedDetailsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
208 
215  inline GetServiceLastAccessedDetailsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
216 
223  inline GetServiceLastAccessedDetailsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
224 
225  private:
226 
227  Aws::String m_jobId;
228  bool m_jobIdHasBeenSet;
229 
230  int m_maxItems;
231  bool m_maxItemsHasBeenSet;
232 
233  Aws::String m_marker;
234  bool m_markerHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace IAM
239 } // namespace Aws
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: GetServiceLastAccessedDetailsRequest.h:167
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsRequest.h:64
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithJobId
GetServiceLastAccessedDetailsRequest & WithJobId(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsRequest.h:100
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: GetServiceLastAccessedDetailsRequest.h:146
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetJobId
void SetJobId(const char *value)
Definition: GetServiceLastAccessedDetailsRequest.h:82
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: GetServiceLastAccessedDetailsRequest.h:175
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithMaxItems
GetServiceLastAccessedDetailsRequest & WithMaxItems(int value)
Definition: GetServiceLastAccessedDetailsRequest.h:158
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithMarker
GetServiceLastAccessedDetailsRequest & WithMarker(const char *value)
Definition: GetServiceLastAccessedDetailsRequest.h:223
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest
Definition: GetServiceLastAccessedDetailsRequest.h:22
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetMarker
void SetMarker(const char *value)
Definition: GetServiceLastAccessedDetailsRequest.h:199
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsRequest.h:73
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetServiceLastAccessedDetailsRequest.h:55
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: GetServiceLastAccessedDetailsRequest.h:134
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsRequest.h:191
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithJobId
GetServiceLastAccessedDetailsRequest & WithJobId(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsRequest.h:91
AWSString.h
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsRequest.h:183
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetServiceLastAccessedDetailsRequest.h:46
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::GetServiceLastAccessedDetailsRequest
GetServiceLastAccessedDetailsRequest()
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::GetMaxItems
int GetMaxItems() const
Definition: GetServiceLastAccessedDetailsRequest.h:122
IAM_EXPORTS.h
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithMarker
GetServiceLastAccessedDetailsRequest & WithMarker(const Aws::String &value)
Definition: GetServiceLastAccessedDetailsRequest.h:207
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithMarker
GetServiceLastAccessedDetailsRequest & WithMarker(Aws::String &&value)
Definition: GetServiceLastAccessedDetailsRequest.h:215
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::WithJobId
GetServiceLastAccessedDetailsRequest & WithJobId(const char *value)
Definition: GetServiceLastAccessedDetailsRequest.h:109
Aws::IAM::Model::GetServiceLastAccessedDetailsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetServiceLastAccessedDetailsRequest.h:30