AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BatchGetFlowAssociationRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ListFlowAssociationResourceType.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 Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API BatchGetFlowAssociationRequest() = 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 "BatchGetFlowAssociation"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::Vector<Aws::String>& GetResourceIds() const { return m_resourceIds; }
62 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
63 template <typename ResourceIdsT = Aws::Vector<Aws::String>>
64 void SetResourceIds(ResourceIdsT&& value) {
65 m_resourceIdsHasBeenSet = true;
66 m_resourceIds = std::forward<ResourceIdsT>(value);
67 }
68 template <typename ResourceIdsT = Aws::Vector<Aws::String>>
70 SetResourceIds(std::forward<ResourceIdsT>(value));
71 return *this;
72 }
73 template <typename ResourceIdsT = Aws::String>
75 m_resourceIdsHasBeenSet = true;
76 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
77 return *this;
78 }
80
82
85 inline ListFlowAssociationResourceType GetResourceType() const { return m_resourceType; }
86 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
88 m_resourceTypeHasBeenSet = true;
89 m_resourceType = value;
90 }
92 SetResourceType(value);
93 return *this;
94 }
96 private:
97 Aws::String m_instanceId;
98
99 Aws::Vector<Aws::String> m_resourceIds;
100
102 bool m_instanceIdHasBeenSet = false;
103 bool m_resourceIdsHasBeenSet = false;
104 bool m_resourceTypeHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Connect
109} // namespace Aws
BatchGetFlowAssociationRequest & WithInstanceId(InstanceIdT &&value)
BatchGetFlowAssociationRequest & WithResourceType(ListFlowAssociationResourceType value)
void SetResourceType(ListFlowAssociationResourceType value)
const Aws::Vector< Aws::String > & GetResourceIds() const
BatchGetFlowAssociationRequest & AddResourceIds(ResourceIdsT &&value)
BatchGetFlowAssociationRequest & WithResourceIds(ResourceIdsT &&value)
AWS_CONNECT_API BatchGetFlowAssociationRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector