AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
BatchGetAttachedFileMetadataRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECT_API BatchGetAttachedFileMetadataRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetAttachedFileMetadata"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetFileIds() const { return m_fileIds; }
47 inline bool FileIdsHasBeenSet() const { return m_fileIdsHasBeenSet; }
48 template<typename FileIdsT = Aws::Vector<Aws::String>>
49 void SetFileIds(FileIdsT&& value) { m_fileIdsHasBeenSet = true; m_fileIds = std::forward<FileIdsT>(value); }
50 template<typename FileIdsT = Aws::Vector<Aws::String>>
51 BatchGetAttachedFileMetadataRequest& WithFileIds(FileIdsT&& value) { SetFileIds(std::forward<FileIdsT>(value)); return *this;}
52 template<typename FileIdsT = Aws::String>
53 BatchGetAttachedFileMetadataRequest& AddFileIds(FileIdsT&& value) { m_fileIdsHasBeenSet = true; m_fileIds.emplace_back(std::forward<FileIdsT>(value)); return *this; }
55
57
60 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
61 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
62 template<typename InstanceIdT = Aws::String>
63 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
64 template<typename InstanceIdT = Aws::String>
65 BatchGetAttachedFileMetadataRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
67
69
77 inline const Aws::String& GetAssociatedResourceArn() const { return m_associatedResourceArn; }
78 inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; }
79 template<typename AssociatedResourceArnT = Aws::String>
80 void SetAssociatedResourceArn(AssociatedResourceArnT&& value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn = std::forward<AssociatedResourceArnT>(value); }
81 template<typename AssociatedResourceArnT = Aws::String>
82 BatchGetAttachedFileMetadataRequest& WithAssociatedResourceArn(AssociatedResourceArnT&& value) { SetAssociatedResourceArn(std::forward<AssociatedResourceArnT>(value)); return *this;}
84 private:
85
87 bool m_fileIdsHasBeenSet = false;
88
89 Aws::String m_instanceId;
90 bool m_instanceIdHasBeenSet = false;
91
92 Aws::String m_associatedResourceArn;
93 bool m_associatedResourceArnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CONNECT_API Aws::String SerializePayload() const override
BatchGetAttachedFileMetadataRequest & WithFileIds(FileIdsT &&value)
BatchGetAttachedFileMetadataRequest & WithInstanceId(InstanceIdT &&value)
BatchGetAttachedFileMetadataRequest & WithAssociatedResourceArn(AssociatedResourceArnT &&value)
BatchGetAttachedFileMetadataRequest & AddFileIds(FileIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector