AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImportsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudtrail/model/ImportStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudTrail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDTRAIL_API ListImportsRequest();
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 "ListImports"; }
32
33 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline int GetMaxResults() const{ return m_maxResults; }
43 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
44 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
45 inline ListImportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
47
49
52 inline const Aws::String& GetDestination() const{ return m_destination; }
53 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
54 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
55 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
56 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
57 inline ListImportsRequest& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
58 inline ListImportsRequest& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
59 inline ListImportsRequest& WithDestination(const char* value) { SetDestination(value); return *this;}
61
63
66 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
67 inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; }
68 inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; }
69 inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); }
70 inline ListImportsRequest& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
71 inline ListImportsRequest& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline ListImportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline ListImportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline ListImportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87 private:
88
89 int m_maxResults;
90 bool m_maxResultsHasBeenSet = false;
91
92 Aws::String m_destination;
93 bool m_destinationHasBeenSet = false;
94
95 ImportStatus m_importStatus;
96 bool m_importStatusHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CloudTrail
104} // namespace Aws
ListImportsRequest & WithNextToken(const Aws::String &value)
ListImportsRequest & WithDestination(const Aws::String &value)
void SetNextToken(const Aws::String &value)
const ImportStatus & GetImportStatus() const
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithNextToken(const char *value)
ListImportsRequest & WithImportStatus(const ImportStatus &value)
void SetDestination(const Aws::String &value)
ListImportsRequest & WithImportStatus(ImportStatus &&value)
ListImportsRequest & WithMaxResults(int value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetImportStatus(const ImportStatus &value)
ListImportsRequest & WithDestination(Aws::String &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListImportsRequest & WithNextToken(Aws::String &&value)
ListImportsRequest & WithDestination(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String