AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListTrailsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudTrail {
15namespace Model {
16
20 public:
21 AWS_CLOUDTRAIL_API ListTrailsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListTrails"; }
28
29 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
30
32
34
41 inline const Aws::String& GetNextToken() const { return m_nextToken; }
42 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
43 template <typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) {
45 m_nextTokenHasBeenSet = true;
46 m_nextToken = std::forward<NextTokenT>(value);
47 }
48 template <typename NextTokenT = Aws::String>
49 ListTrailsRequest& WithNextToken(NextTokenT&& value) {
50 SetNextToken(std::forward<NextTokenT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_nextToken;
56 bool m_nextTokenHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CloudTrail
61} // namespace Aws
ListTrailsRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
AWS_CLOUDTRAIL_API ListTrailsRequest()=default
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String