AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompleteAttachedFileUploadRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Connect
19{
20namespace Model
21{
22
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CompleteAttachedFileUpload"; }
38
39 AWS_CONNECT_API Aws::String SerializePayload() const override;
40
41 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline CompleteAttachedFileUploadRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline CompleteAttachedFileUploadRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline CompleteAttachedFileUploadRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const Aws::String& GetFileId() const{ return m_fileId; }
63 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
64 inline void SetFileId(const Aws::String& value) { m_fileIdHasBeenSet = true; m_fileId = value; }
65 inline void SetFileId(Aws::String&& value) { m_fileIdHasBeenSet = true; m_fileId = std::move(value); }
66 inline void SetFileId(const char* value) { m_fileIdHasBeenSet = true; m_fileId.assign(value); }
67 inline CompleteAttachedFileUploadRequest& WithFileId(const Aws::String& value) { SetFileId(value); return *this;}
68 inline CompleteAttachedFileUploadRequest& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;}
69 inline CompleteAttachedFileUploadRequest& WithFileId(const char* value) { SetFileId(value); return *this;}
71
73
79 inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; }
80 inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; }
81 inline void SetAssociatedResourceArn(const Aws::String& value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn = value; }
82 inline void SetAssociatedResourceArn(Aws::String&& value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn = std::move(value); }
83 inline void SetAssociatedResourceArn(const char* value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn.assign(value); }
88 private:
89
90 Aws::String m_instanceId;
91 bool m_instanceIdHasBeenSet = false;
92
93 Aws::String m_fileId;
94 bool m_fileIdHasBeenSet = false;
95
96 Aws::String m_associatedResourceArn;
97 bool m_associatedResourceArnHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
CompleteAttachedFileUploadRequest & WithFileId(const Aws::String &value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CompleteAttachedFileUploadRequest & WithAssociatedResourceArn(const char *value)
CompleteAttachedFileUploadRequest & WithInstanceId(const Aws::String &value)
CompleteAttachedFileUploadRequest & WithAssociatedResourceArn(Aws::String &&value)
CompleteAttachedFileUploadRequest & WithInstanceId(Aws::String &&value)
CompleteAttachedFileUploadRequest & WithAssociatedResourceArn(const Aws::String &value)
CompleteAttachedFileUploadRequest & WithInstanceId(const char *value)
CompleteAttachedFileUploadRequest & WithFileId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CompleteAttachedFileUploadRequest & WithFileId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String