AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartMessageMoveTaskRequest.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SQS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SQS_API StartMessageMoveTaskRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartMessageMoveTask"; }
31
32 AWS_SQS_API Aws::String SerializePayload() const override;
33
35
36
38
44 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
45 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
46 template<typename SourceArnT = Aws::String>
47 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
48 template<typename SourceArnT = Aws::String>
49 StartMessageMoveTaskRequest& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
51
53
59 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
60 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
61 template<typename DestinationArnT = Aws::String>
62 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
63 template<typename DestinationArnT = Aws::String>
64 StartMessageMoveTaskRequest& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
66
68
75 inline int GetMaxNumberOfMessagesPerSecond() const { return m_maxNumberOfMessagesPerSecond; }
76 inline bool MaxNumberOfMessagesPerSecondHasBeenSet() const { return m_maxNumberOfMessagesPerSecondHasBeenSet; }
77 inline void SetMaxNumberOfMessagesPerSecond(int value) { m_maxNumberOfMessagesPerSecondHasBeenSet = true; m_maxNumberOfMessagesPerSecond = value; }
80 private:
81
82 Aws::String m_sourceArn;
83 bool m_sourceArnHasBeenSet = false;
84
85 Aws::String m_destinationArn;
86 bool m_destinationArnHasBeenSet = false;
87
88 int m_maxNumberOfMessagesPerSecond{0};
89 bool m_maxNumberOfMessagesPerSecondHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SQS
94} // 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