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/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/model/ListImportsRequestFilters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MGN_API ListImportsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListImports"; }
35
36 AWS_MGN_API Aws::String SerializePayload() const override;
37
38
40
43 inline const ListImportsRequestFilters& GetFilters() const{ return m_filters; }
44 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
45 inline void SetFilters(const ListImportsRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
46 inline void SetFilters(ListImportsRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
47 inline ListImportsRequest& WithFilters(const ListImportsRequestFilters& value) { SetFilters(value); return *this;}
48 inline ListImportsRequest& WithFilters(ListImportsRequestFilters&& value) { SetFilters(std::move(value)); return *this;}
50
52
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListImportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
68 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
69 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
70 inline ListImportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 inline ListImportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 inline ListImportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
74 private:
75
77 bool m_filtersHasBeenSet = false;
78
79 int m_maxResults;
80 bool m_maxResultsHasBeenSet = false;
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace mgn
88} // namespace Aws
void SetFilters(const ListImportsRequestFilters &value)
const ListImportsRequestFilters & GetFilters() const
ListImportsRequest & WithMaxResults(int value)
const Aws::String & GetNextToken() const
AWS_MGN_API Aws::String SerializePayload() const override
ListImportsRequest & WithFilters(const ListImportsRequestFilters &value)
ListImportsRequest & WithNextToken(Aws::String &&value)
void SetNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
ListImportsRequest & WithNextToken(const Aws::String &value)
void SetFilters(ListImportsRequestFilters &&value)
ListImportsRequest & WithFilters(ListImportsRequestFilters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String