AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeRecoverySnapshotsRequest.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/model/DescribeRecoverySnapshotsRequestFilters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/drs/model/RecoverySnapshotsOrder.h>
12#include <utility>
13
14namespace Aws
15{
16namespace drs
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DRS_API DescribeRecoverySnapshotsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeRecoverySnapshots"; }
33
34 AWS_DRS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const DescribeRecoverySnapshotsRequestFilters& GetFilters() const { return m_filters; }
42 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
43 template<typename FiltersT = DescribeRecoverySnapshotsRequestFilters>
44 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
45 template<typename FiltersT = DescribeRecoverySnapshotsRequestFilters>
46 DescribeRecoverySnapshotsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
48
50
53 inline int GetMaxResults() const { return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 inline DescribeRecoverySnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58
60
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template<typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
67 template<typename NextTokenT = Aws::String>
68 DescribeRecoverySnapshotsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
70
72
75 inline RecoverySnapshotsOrder GetOrder() const { return m_order; }
76 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
77 inline void SetOrder(RecoverySnapshotsOrder value) { m_orderHasBeenSet = true; m_order = value; }
80
82
85 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
86 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
87 template<typename SourceServerIDT = Aws::String>
88 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
89 template<typename SourceServerIDT = Aws::String>
90 DescribeRecoverySnapshotsRequest& WithSourceServerID(SourceServerIDT&& value) { SetSourceServerID(std::forward<SourceServerIDT>(value)); return *this;}
92 private:
93
95 bool m_filtersHasBeenSet = false;
96
97 int m_maxResults{0};
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
104 bool m_orderHasBeenSet = false;
105
106 Aws::String m_sourceServerID;
107 bool m_sourceServerIDHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace drs
112} // namespace Aws
DescribeRecoverySnapshotsRequest & WithMaxResults(int value)
DescribeRecoverySnapshotsRequest & WithSourceServerID(SourceServerIDT &&value)
DescribeRecoverySnapshotsRequest & WithFilters(FiltersT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
DescribeRecoverySnapshotsRequest & WithNextToken(NextTokenT &&value)
const DescribeRecoverySnapshotsRequestFilters & GetFilters() const
DescribeRecoverySnapshotsRequest & WithOrder(RecoverySnapshotsOrder value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String