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
BatchGetFlowAssociationRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/ListFlowAssociationResourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API BatchGetFlowAssociationRequest() = default;
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 "BatchGetFlowAssociation"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 BatchGetFlowAssociationRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
59 inline const Aws::Vector<Aws::String>& GetResourceIds() const { return m_resourceIds; }
60 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
61 template<typename ResourceIdsT = Aws::Vector<Aws::String>>
62 void SetResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::forward<ResourceIdsT>(value); }
63 template<typename ResourceIdsT = Aws::Vector<Aws::String>>
64 BatchGetFlowAssociationRequest& WithResourceIds(ResourceIdsT&& value) { SetResourceIds(std::forward<ResourceIdsT>(value)); return *this;}
65 template<typename ResourceIdsT = Aws::String>
66 BatchGetFlowAssociationRequest& AddResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value)); return *this; }
68
70
73 inline ListFlowAssociationResourceType GetResourceType() const { return m_resourceType; }
74 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
75 inline void SetResourceType(ListFlowAssociationResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
78 private:
79
80 Aws::String m_instanceId;
81 bool m_instanceIdHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_resourceIds;
84 bool m_resourceIdsHasBeenSet = false;
85
87 bool m_resourceTypeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // 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