AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
GetFlowAssociationRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/FlowAssociationResourceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API GetFlowAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetFlowAssociation"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetResourceId() const { return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 template <typename ResourceIdT = Aws::String>
62 void SetResourceId(ResourceIdT&& value) {
63 m_resourceIdHasBeenSet = true;
64 m_resourceId = std::forward<ResourceIdT>(value);
65 }
66 template <typename ResourceIdT = Aws::String>
68 SetResourceId(std::forward<ResourceIdT>(value));
69 return *this;
70 }
72
74
77 inline FlowAssociationResourceType GetResourceType() const { return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
80 m_resourceTypeHasBeenSet = true;
81 m_resourceType = value;
82 }
84 SetResourceType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_instanceId;
90 bool m_instanceIdHasBeenSet = false;
91
92 Aws::String m_resourceId;
93 bool m_resourceIdHasBeenSet = false;
94
96 bool m_resourceTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
AWS_CONNECT_API GetFlowAssociationRequest()=default
GetFlowAssociationRequest & WithResourceType(FlowAssociationResourceType value)
GetFlowAssociationRequest & WithResourceId(ResourceIdT &&value)
void SetResourceType(FlowAssociationResourceType value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API Aws::String SerializePayload() const override
GetFlowAssociationRequest & WithInstanceId(InstanceIdT &&value)
FlowAssociationResourceType GetResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String