AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFileIds(const Aws::Vector<Aws::String>& value) { m_fileIdsHasBeenSet = true; m_fileIds = value; }
49 inline void SetFileIds(Aws::Vector<Aws::String>&& value) { m_fileIdsHasBeenSet = true; m_fileIds = std::move(value); }
51 inline BatchGetAttachedFileMetadataRequest& WithFileIds(Aws::Vector<Aws::String>&& value) { SetFileIds(std::move(value)); return *this;}
52 inline BatchGetAttachedFileMetadataRequest& AddFileIds(const Aws::String& value) { m_fileIdsHasBeenSet = true; m_fileIds.push_back(value); return *this; }
53 inline BatchGetAttachedFileMetadataRequest& AddFileIds(Aws::String&& value) { m_fileIdsHasBeenSet = true; m_fileIds.push_back(std::move(value)); return *this; }
54 inline BatchGetAttachedFileMetadataRequest& AddFileIds(const char* value) { m_fileIdsHasBeenSet = true; m_fileIds.push_back(value); return *this; }
56
58
61 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
62 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
63 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
64 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
65 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 inline BatchGetAttachedFileMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
67 inline BatchGetAttachedFileMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
68 inline BatchGetAttachedFileMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
70
72
78 inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; }
79 inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; }
80 inline void SetAssociatedResourceArn(const Aws::String& value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn = value; }
81 inline void SetAssociatedResourceArn(Aws::String&& value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn = std::move(value); }
82 inline void SetAssociatedResourceArn(const char* value) { m_associatedResourceArnHasBeenSet = true; m_associatedResourceArn.assign(value); }
87 private:
88
90 bool m_fileIdsHasBeenSet = false;
91
92 Aws::String m_instanceId;
93 bool m_instanceIdHasBeenSet = false;
94
95 Aws::String m_associatedResourceArn;
96 bool m_associatedResourceArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
BatchGetAttachedFileMetadataRequest & WithAssociatedResourceArn(Aws::String &&value)
BatchGetAttachedFileMetadataRequest & WithFileIds(Aws::Vector< Aws::String > &&value)
BatchGetAttachedFileMetadataRequest & WithFileIds(const Aws::Vector< Aws::String > &value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
BatchGetAttachedFileMetadataRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
BatchGetAttachedFileMetadataRequest & WithInstanceId(const char *value)
BatchGetAttachedFileMetadataRequest & WithAssociatedResourceArn(const char *value)
BatchGetAttachedFileMetadataRequest & AddFileIds(Aws::String &&value)
BatchGetAttachedFileMetadataRequest & AddFileIds(const Aws::String &value)
BatchGetAttachedFileMetadataRequest & AddFileIds(const char *value)
BatchGetAttachedFileMetadataRequest & WithInstanceId(Aws::String &&value)
BatchGetAttachedFileMetadataRequest & WithAssociatedResourceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector