AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompleteAttachmentUploadRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/ConnectParticipantRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ConnectParticipant
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECTPARTICIPANT_API CompleteAttachmentUploadRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CompleteAttachmentUpload"; }
33
34 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
35
36 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::Vector<Aws::String>& GetAttachmentIds() const{ return m_attachmentIds; }
44 inline bool AttachmentIdsHasBeenSet() const { return m_attachmentIdsHasBeenSet; }
45 inline void SetAttachmentIds(const Aws::Vector<Aws::String>& value) { m_attachmentIdsHasBeenSet = true; m_attachmentIds = value; }
46 inline void SetAttachmentIds(Aws::Vector<Aws::String>&& value) { m_attachmentIdsHasBeenSet = true; m_attachmentIds = std::move(value); }
49 inline CompleteAttachmentUploadRequest& AddAttachmentIds(const Aws::String& value) { m_attachmentIdsHasBeenSet = true; m_attachmentIds.push_back(value); return *this; }
50 inline CompleteAttachmentUploadRequest& AddAttachmentIds(Aws::String&& value) { m_attachmentIdsHasBeenSet = true; m_attachmentIds.push_back(std::move(value)); return *this; }
51 inline CompleteAttachmentUploadRequest& AddAttachmentIds(const char* value) { m_attachmentIdsHasBeenSet = true; m_attachmentIds.push_back(value); return *this; }
53
55
62 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
65 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
66 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline CompleteAttachmentUploadRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
68 inline CompleteAttachmentUploadRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
69 inline CompleteAttachmentUploadRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
71
73
76 inline const Aws::String& GetConnectionToken() const{ return m_connectionToken; }
77 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
78 inline void SetConnectionToken(const Aws::String& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = value; }
79 inline void SetConnectionToken(Aws::String&& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = std::move(value); }
80 inline void SetConnectionToken(const char* value) { m_connectionTokenHasBeenSet = true; m_connectionToken.assign(value); }
82 inline CompleteAttachmentUploadRequest& WithConnectionToken(Aws::String&& value) { SetConnectionToken(std::move(value)); return *this;}
83 inline CompleteAttachmentUploadRequest& WithConnectionToken(const char* value) { SetConnectionToken(value); return *this;}
85 private:
86
87 Aws::Vector<Aws::String> m_attachmentIds;
88 bool m_attachmentIdsHasBeenSet = false;
89
90 Aws::String m_clientToken;
91 bool m_clientTokenHasBeenSet = false;
92
93 Aws::String m_connectionToken;
94 bool m_connectionTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ConnectParticipant
99} // namespace Aws
CompleteAttachmentUploadRequest & WithConnectionToken(const char *value)
CompleteAttachmentUploadRequest & WithConnectionToken(Aws::String &&value)
CompleteAttachmentUploadRequest & WithClientToken(const char *value)
CompleteAttachmentUploadRequest & WithConnectionToken(const Aws::String &value)
CompleteAttachmentUploadRequest & WithClientToken(const Aws::String &value)
CompleteAttachmentUploadRequest & WithAttachmentIds(Aws::Vector< Aws::String > &&value)
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
CompleteAttachmentUploadRequest & WithClientToken(Aws::String &&value)
CompleteAttachmentUploadRequest & WithAttachmentIds(const Aws::Vector< Aws::String > &value)
CompleteAttachmentUploadRequest & AddAttachmentIds(const char *value)
CompleteAttachmentUploadRequest & AddAttachmentIds(const Aws::String &value)
CompleteAttachmentUploadRequest & AddAttachmentIds(Aws::String &&value)
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