AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFirstSnapshotId(const Aws::String& value) { m_firstSnapshotIdHasBeenSet = true; m_firstSnapshotId = value; }
51 inline void SetFirstSnapshotId(Aws::String&& value) { m_firstSnapshotIdHasBeenSet = true; m_firstSnapshotId = std::move(value); }
52 inline void SetFirstSnapshotId(const char* value) { m_firstSnapshotIdHasBeenSet = true; m_firstSnapshotId.assign(value); }
53 inline ListChangedBlocksRequest& WithFirstSnapshotId(const Aws::String& value) { SetFirstSnapshotId(value); return *this;}
54 inline ListChangedBlocksRequest& WithFirstSnapshotId(Aws::String&& value) { SetFirstSnapshotId(std::move(value)); return *this;}
55 inline ListChangedBlocksRequest& WithFirstSnapshotId(const char* value) { SetFirstSnapshotId(value); return *this;}
57
59
65 inline const Aws::String& GetSecondSnapshotId() const{ return m_secondSnapshotId; }
66 inline bool SecondSnapshotIdHasBeenSet() const { return m_secondSnapshotIdHasBeenSet; }
67 inline void SetSecondSnapshotId(const Aws::String& value) { m_secondSnapshotIdHasBeenSet = true; m_secondSnapshotId = value; }
68 inline void SetSecondSnapshotId(Aws::String&& value) { m_secondSnapshotIdHasBeenSet = true; m_secondSnapshotId = std::move(value); }
69 inline void SetSecondSnapshotId(const char* value) { m_secondSnapshotIdHasBeenSet = true; m_secondSnapshotId.assign(value); }
71 inline ListChangedBlocksRequest& WithSecondSnapshotId(Aws::String&& value) { SetSecondSnapshotId(std::move(value)); return *this;}
72 inline ListChangedBlocksRequest& WithSecondSnapshotId(const char* value) { SetSecondSnapshotId(value); return *this;}
74
76
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
85 inline ListChangedBlocksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline ListChangedBlocksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline ListChangedBlocksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89
91
99 inline int GetMaxResults() const{ return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 inline ListChangedBlocksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
104
106
112 inline int GetStartingBlockIndex() const{ return m_startingBlockIndex; }
113 inline bool StartingBlockIndexHasBeenSet() const { return m_startingBlockIndexHasBeenSet; }
114 inline void SetStartingBlockIndex(int value) { m_startingBlockIndexHasBeenSet = true; m_startingBlockIndex = value; }
117 private:
118
119 Aws::String m_firstSnapshotId;
120 bool m_firstSnapshotIdHasBeenSet = false;
121
122 Aws::String m_secondSnapshotId;
123 bool m_secondSnapshotIdHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130
131 int m_startingBlockIndex;
132 bool m_startingBlockIndexHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace EBS
137} // namespace Aws
ListChangedBlocksRequest & WithFirstSnapshotId(Aws::String &&value)
AWS_EBS_API Aws::String SerializePayload() const override
ListChangedBlocksRequest & WithFirstSnapshotId(const char *value)
ListChangedBlocksRequest & WithNextToken(const char *value)
ListChangedBlocksRequest & WithNextToken(const Aws::String &value)
ListChangedBlocksRequest & WithMaxResults(int value)
void SetFirstSnapshotId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_EBS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListChangedBlocksRequest & WithSecondSnapshotId(Aws::String &&value)
ListChangedBlocksRequest & WithFirstSnapshotId(const Aws::String &value)
ListChangedBlocksRequest & WithSecondSnapshotId(const char *value)
ListChangedBlocksRequest & WithStartingBlockIndex(int value)
void SetSecondSnapshotId(const Aws::String &value)
ListChangedBlocksRequest & WithSecondSnapshotId(const Aws::String &value)
ListChangedBlocksRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String