AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateFlowRequest.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/connect/model/FlowAssociationResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API AssociateFlowRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateFlow"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline AssociateFlowRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline AssociateFlowRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline AssociateFlowRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
57 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
58 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
59 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
60 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
61 inline AssociateFlowRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
62 inline AssociateFlowRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
63 inline AssociateFlowRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
65
67
70 inline const Aws::String& GetFlowId() const{ return m_flowId; }
71 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
72 inline void SetFlowId(const Aws::String& value) { m_flowIdHasBeenSet = true; m_flowId = value; }
73 inline void SetFlowId(Aws::String&& value) { m_flowIdHasBeenSet = true; m_flowId = std::move(value); }
74 inline void SetFlowId(const char* value) { m_flowIdHasBeenSet = true; m_flowId.assign(value); }
75 inline AssociateFlowRequest& WithFlowId(const Aws::String& value) { SetFlowId(value); return *this;}
76 inline AssociateFlowRequest& WithFlowId(Aws::String&& value) { SetFlowId(std::move(value)); return *this;}
77 inline AssociateFlowRequest& WithFlowId(const char* value) { SetFlowId(value); return *this;}
79
81
84 inline const FlowAssociationResourceType& GetResourceType() const{ return m_resourceType; }
85 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
86 inline void SetResourceType(const FlowAssociationResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
87 inline void SetResourceType(FlowAssociationResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
89 inline AssociateFlowRequest& WithResourceType(FlowAssociationResourceType&& value) { SetResourceType(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_instanceId;
94 bool m_instanceIdHasBeenSet = false;
95
96 Aws::String m_resourceId;
97 bool m_resourceIdHasBeenSet = false;
98
99 Aws::String m_flowId;
100 bool m_flowIdHasBeenSet = false;
101
102 FlowAssociationResourceType m_resourceType;
103 bool m_resourceTypeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Connect
108} // namespace Aws
const FlowAssociationResourceType & GetResourceType() const
AssociateFlowRequest & WithResourceId(Aws::String &&value)
void SetResourceType(FlowAssociationResourceType &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateFlowRequest & WithFlowId(const Aws::String &value)
AssociateFlowRequest & WithFlowId(Aws::String &&value)
void SetResourceType(const FlowAssociationResourceType &value)
AssociateFlowRequest & WithInstanceId(Aws::String &&value)
AssociateFlowRequest & WithResourceType(FlowAssociationResourceType &&value)
AssociateFlowRequest & WithResourceType(const FlowAssociationResourceType &value)
virtual const char * GetServiceRequestName() const override
void SetResourceId(const Aws::String &value)
AssociateFlowRequest & WithFlowId(const char *value)
AssociateFlowRequest & WithInstanceId(const char *value)
AssociateFlowRequest & WithInstanceId(const Aws::String &value)
AssociateFlowRequest & WithResourceId(const char *value)
AssociateFlowRequest & WithResourceId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String