AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
StartReplicationBackfillRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecr/ECRRequest.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/ReplicationDestination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ECR {
16namespace Model {
17
21 public:
22 AWS_ECR_API StartReplicationBackfillRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartReplicationBackfill"; }
29
30 AWS_ECR_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::String& GetRegistryId() const { return m_registryId; }
41 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
42 template <typename RegistryIdT = Aws::String>
43 void SetRegistryId(RegistryIdT&& value) {
44 m_registryIdHasBeenSet = true;
45 m_registryId = std::forward<RegistryIdT>(value);
46 }
47 template <typename RegistryIdT = Aws::String>
49 SetRegistryId(std::forward<RegistryIdT>(value));
50 return *this;
51 }
53
55
58 inline const ReplicationDestination& GetDestination() const { return m_destination; }
59 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
60 template <typename DestinationT = ReplicationDestination>
61 void SetDestination(DestinationT&& value) {
62 m_destinationHasBeenSet = true;
63 m_destination = std::forward<DestinationT>(value);
64 }
65 template <typename DestinationT = ReplicationDestination>
67 SetDestination(std::forward<DestinationT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_registryId;
73
74 ReplicationDestination m_destination;
75 bool m_registryIdHasBeenSet = false;
76 bool m_destinationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ECR
81} // namespace Aws
StartReplicationBackfillRequest & WithDestination(DestinationT &&value)
StartReplicationBackfillRequest & WithRegistryId(RegistryIdT &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ECR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String