AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline BatchGetFlowAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline BatchGetFlowAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline BatchGetFlowAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetResourceIds() const{ return m_resourceIds; }
58 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
59 inline void SetResourceIds(const Aws::Vector<Aws::String>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
60 inline void SetResourceIds(Aws::Vector<Aws::String>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
63 inline BatchGetFlowAssociationRequest& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
64 inline BatchGetFlowAssociationRequest& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
65 inline BatchGetFlowAssociationRequest& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
67
69
72 inline const ListFlowAssociationResourceType& GetResourceType() const{ return m_resourceType; }
73 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
74 inline void SetResourceType(const ListFlowAssociationResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
75 inline void SetResourceType(ListFlowAssociationResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
79 private:
80
81 Aws::String m_instanceId;
82 bool m_instanceIdHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_resourceIds;
85 bool m_resourceIdsHasBeenSet = false;
86
88 bool m_resourceTypeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
void SetResourceType(const ListFlowAssociationResourceType &value)
BatchGetFlowAssociationRequest & WithResourceIds(const Aws::Vector< Aws::String > &value)
BatchGetFlowAssociationRequest & WithResourceType(const ListFlowAssociationResourceType &value)
const ListFlowAssociationResourceType & GetResourceType() const
BatchGetFlowAssociationRequest & WithInstanceId(const char *value)
BatchGetFlowAssociationRequest & WithResourceIds(Aws::Vector< Aws::String > &&value)
BatchGetFlowAssociationRequest & AddResourceIds(const Aws::String &value)
BatchGetFlowAssociationRequest & WithInstanceId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetResourceIds() const
void SetResourceType(ListFlowAssociationResourceType &&value)
BatchGetFlowAssociationRequest & AddResourceIds(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
BatchGetFlowAssociationRequest & AddResourceIds(const char *value)
void SetResourceIds(const Aws::Vector< Aws::String > &value)
BatchGetFlowAssociationRequest & WithInstanceId(const Aws::String &value)
BatchGetFlowAssociationRequest & WithResourceType(ListFlowAssociationResourceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector