AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
CompleteAttachmentUploadRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipantRequest.h>
8#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ConnectParticipant {
17namespace Model {
18
22 public:
23 AWS_CONNECTPARTICIPANT_API CompleteAttachmentUploadRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CompleteAttachmentUpload"; }
30
31 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
32
33 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::Vector<Aws::String>& GetAttachmentIds() const { return m_attachmentIds; }
40 inline bool AttachmentIdsHasBeenSet() const { return m_attachmentIdsHasBeenSet; }
41 template <typename AttachmentIdsT = Aws::Vector<Aws::String>>
42 void SetAttachmentIds(AttachmentIdsT&& value) {
43 m_attachmentIdsHasBeenSet = true;
44 m_attachmentIds = std::forward<AttachmentIdsT>(value);
45 }
46 template <typename AttachmentIdsT = Aws::Vector<Aws::String>>
48 SetAttachmentIds(std::forward<AttachmentIdsT>(value));
49 return *this;
50 }
51 template <typename AttachmentIdsT = Aws::String>
53 m_attachmentIdsHasBeenSet = true;
54 m_attachmentIds.emplace_back(std::forward<AttachmentIdsT>(value));
55 return *this;
56 }
58
60
67 inline const Aws::String& GetClientToken() const { return m_clientToken; }
68 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
69 template <typename ClientTokenT = Aws::String>
70 void SetClientToken(ClientTokenT&& value) {
71 m_clientTokenHasBeenSet = true;
72 m_clientToken = std::forward<ClientTokenT>(value);
73 }
74 template <typename ClientTokenT = Aws::String>
76 SetClientToken(std::forward<ClientTokenT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetConnectionToken() const { return m_connectionToken; }
86 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
87 template <typename ConnectionTokenT = Aws::String>
88 void SetConnectionToken(ConnectionTokenT&& value) {
89 m_connectionTokenHasBeenSet = true;
90 m_connectionToken = std::forward<ConnectionTokenT>(value);
91 }
92 template <typename ConnectionTokenT = Aws::String>
94 SetConnectionToken(std::forward<ConnectionTokenT>(value));
95 return *this;
96 }
98 private:
99 Aws::Vector<Aws::String> m_attachmentIds;
100 bool m_attachmentIdsHasBeenSet = false;
101
103 bool m_clientTokenHasBeenSet = true;
104
105 Aws::String m_connectionToken;
106 bool m_connectionTokenHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ConnectParticipant
111} // namespace Aws
AWS_CONNECTPARTICIPANT_API CompleteAttachmentUploadRequest()=default
CompleteAttachmentUploadRequest & AddAttachmentIds(AttachmentIdsT &&value)
CompleteAttachmentUploadRequest & WithAttachmentIds(AttachmentIdsT &&value)
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
CompleteAttachmentUploadRequest & WithConnectionToken(ConnectionTokenT &&value)
CompleteAttachmentUploadRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector