AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFilters(const DescribeRecoverySnapshotsRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
44 inline void SetFilters(DescribeRecoverySnapshotsRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline DescribeRecoverySnapshotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline DescribeRecoverySnapshotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline DescribeRecoverySnapshotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
77 inline const RecoverySnapshotsOrder& GetOrder() const{ return m_order; }
78 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
79 inline void SetOrder(const RecoverySnapshotsOrder& value) { m_orderHasBeenSet = true; m_order = value; }
80 inline void SetOrder(RecoverySnapshotsOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
81 inline DescribeRecoverySnapshotsRequest& WithOrder(const RecoverySnapshotsOrder& value) { SetOrder(value); return *this;}
82 inline DescribeRecoverySnapshotsRequest& WithOrder(RecoverySnapshotsOrder&& value) { SetOrder(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
90 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
91 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
92 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
93 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
95 inline DescribeRecoverySnapshotsRequest& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
96 inline DescribeRecoverySnapshotsRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
98 private:
99
101 bool m_filtersHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
110 bool m_orderHasBeenSet = false;
111
112 Aws::String m_sourceServerID;
113 bool m_sourceServerIDHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace drs
118} // namespace Aws
DescribeRecoverySnapshotsRequest & WithSourceServerID(const Aws::String &value)
DescribeRecoverySnapshotsRequest & WithNextToken(Aws::String &&value)
DescribeRecoverySnapshotsRequest & WithNextToken(const char *value)
DescribeRecoverySnapshotsRequest & WithMaxResults(int value)
DescribeRecoverySnapshotsRequest & WithFilters(DescribeRecoverySnapshotsRequestFilters &&value)
DescribeRecoverySnapshotsRequest & WithOrder(RecoverySnapshotsOrder &&value)
DescribeRecoverySnapshotsRequest & WithNextToken(const Aws::String &value)
AWS_DRS_API Aws::String SerializePayload() const override
void SetFilters(DescribeRecoverySnapshotsRequestFilters &&value)
DescribeRecoverySnapshotsRequest & WithOrder(const RecoverySnapshotsOrder &value)
const DescribeRecoverySnapshotsRequestFilters & GetFilters() const
void SetFilters(const DescribeRecoverySnapshotsRequestFilters &value)
DescribeRecoverySnapshotsRequest & WithFilters(const DescribeRecoverySnapshotsRequestFilters &value)
DescribeRecoverySnapshotsRequest & WithSourceServerID(Aws::String &&value)
DescribeRecoverySnapshotsRequest & WithSourceServerID(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String