AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListChangedBlocksRequest.h
1
6#pragma once
7#include <aws/ebs/EBS_EXPORTS.h>
8#include <aws/ebs/EBSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace EBS
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_EBS_API ListChangedBlocksRequest() = default;
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 "ListChangedBlocks"; }
35
36 AWS_EBS_API Aws::String SerializePayload() const override;
37
38 AWS_EBS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
48 inline const Aws::String& GetFirstSnapshotId() const { return m_firstSnapshotId; }
49 inline bool FirstSnapshotIdHasBeenSet() const { return m_firstSnapshotIdHasBeenSet; }
50 template<typename FirstSnapshotIdT = Aws::String>
51 void SetFirstSnapshotId(FirstSnapshotIdT&& value) { m_firstSnapshotIdHasBeenSet = true; m_firstSnapshotId = std::forward<FirstSnapshotIdT>(value); }
52 template<typename FirstSnapshotIdT = Aws::String>
53 ListChangedBlocksRequest& WithFirstSnapshotId(FirstSnapshotIdT&& value) { SetFirstSnapshotId(std::forward<FirstSnapshotIdT>(value)); return *this;}
55
57
63 inline const Aws::String& GetSecondSnapshotId() const { return m_secondSnapshotId; }
64 inline bool SecondSnapshotIdHasBeenSet() const { return m_secondSnapshotIdHasBeenSet; }
65 template<typename SecondSnapshotIdT = Aws::String>
66 void SetSecondSnapshotId(SecondSnapshotIdT&& value) { m_secondSnapshotIdHasBeenSet = true; m_secondSnapshotId = std::forward<SecondSnapshotIdT>(value); }
67 template<typename SecondSnapshotIdT = Aws::String>
68 ListChangedBlocksRequest& WithSecondSnapshotId(SecondSnapshotIdT&& value) { SetSecondSnapshotId(std::forward<SecondSnapshotIdT>(value)); return *this;}
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 template<typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
80 template<typename NextTokenT = Aws::String>
81 ListChangedBlocksRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
83
85
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline ListChangedBlocksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98
100
106 inline int GetStartingBlockIndex() const { return m_startingBlockIndex; }
107 inline bool StartingBlockIndexHasBeenSet() const { return m_startingBlockIndexHasBeenSet; }
108 inline void SetStartingBlockIndex(int value) { m_startingBlockIndexHasBeenSet = true; m_startingBlockIndex = value; }
111 private:
112
113 Aws::String m_firstSnapshotId;
114 bool m_firstSnapshotIdHasBeenSet = false;
115
116 Aws::String m_secondSnapshotId;
117 bool m_secondSnapshotIdHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 int m_maxResults{0};
123 bool m_maxResultsHasBeenSet = false;
124
125 int m_startingBlockIndex{0};
126 bool m_startingBlockIndexHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace EBS
131} // namespace Aws
AWS_EBS_API Aws::String SerializePayload() const override
ListChangedBlocksRequest & WithSecondSnapshotId(SecondSnapshotIdT &&value)
AWS_EBS_API ListChangedBlocksRequest()=default
ListChangedBlocksRequest & WithNextToken(NextTokenT &&value)
void SetSecondSnapshotId(SecondSnapshotIdT &&value)
ListChangedBlocksRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_EBS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetFirstSnapshotId(FirstSnapshotIdT &&value)
ListChangedBlocksRequest & WithStartingBlockIndex(int value)
ListChangedBlocksRequest & WithFirstSnapshotId(FirstSnapshotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String