AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
StartMessageMoveTaskRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/sqs/SQS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SQS {
15namespace Model {
16
20 public:
21 AWS_SQS_API StartMessageMoveTaskRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartMessageMoveTask"; }
28
29 AWS_SQS_API Aws::String SerializePayload() const override;
30
32
34
40 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
41 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
42 template <typename SourceArnT = Aws::String>
43 void SetSourceArn(SourceArnT&& value) {
44 m_sourceArnHasBeenSet = true;
45 m_sourceArn = std::forward<SourceArnT>(value);
46 }
47 template <typename SourceArnT = Aws::String>
49 SetSourceArn(std::forward<SourceArnT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
62 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
63 template <typename DestinationArnT = Aws::String>
64 void SetDestinationArn(DestinationArnT&& value) {
65 m_destinationArnHasBeenSet = true;
66 m_destinationArn = std::forward<DestinationArnT>(value);
67 }
68 template <typename DestinationArnT = Aws::String>
70 SetDestinationArn(std::forward<DestinationArnT>(value));
71 return *this;
72 }
74
76
83 inline int GetMaxNumberOfMessagesPerSecond() const { return m_maxNumberOfMessagesPerSecond; }
84 inline bool MaxNumberOfMessagesPerSecondHasBeenSet() const { return m_maxNumberOfMessagesPerSecondHasBeenSet; }
85 inline void SetMaxNumberOfMessagesPerSecond(int value) {
86 m_maxNumberOfMessagesPerSecondHasBeenSet = true;
87 m_maxNumberOfMessagesPerSecond = value;
88 }
91 return *this;
92 }
94 private:
95 Aws::String m_sourceArn;
96
97 Aws::String m_destinationArn;
98
99 int m_maxNumberOfMessagesPerSecond{0};
100 bool m_sourceArnHasBeenSet = false;
101 bool m_destinationArnHasBeenSet = false;
102 bool m_maxNumberOfMessagesPerSecondHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SQS
107} // namespace Aws
AWS_SQS_API StartMessageMoveTaskRequest()=default
StartMessageMoveTaskRequest & WithSourceArn(SourceArnT &&value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMessageMoveTaskRequest & WithMaxNumberOfMessagesPerSecond(int value)
virtual const char * GetServiceRequestName() const override
AWS_SQS_API Aws::String SerializePayload() const override
StartMessageMoveTaskRequest & WithDestinationArn(DestinationArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String