AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
ListFlowAssociationsRequest.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/ListFlowAssociationResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECT_API ListFlowAssociationsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListFlowAssociations"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 template<typename InstanceIdT = Aws::String>
51 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
52 template<typename InstanceIdT = Aws::String>
53 ListFlowAssociationsRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
55
57
60 inline ListFlowAssociationResourceType GetResourceType() const { return m_resourceType; }
61 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
62 inline void SetResourceType(ListFlowAssociationResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
65
67
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListFlowAssociationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListFlowAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88 private:
89
90 Aws::String m_instanceId;
91 bool m_instanceIdHasBeenSet = false;
92
94 bool m_resourceTypeHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults{0};
100 bool m_maxResultsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Connect
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListFlowAssociationsRequest & WithResourceType(ListFlowAssociationResourceType value)
ListFlowAssociationsRequest & WithNextToken(NextTokenT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListFlowAssociationsRequest & WithMaxResults(int value)
AWS_CONNECT_API ListFlowAssociationsRequest()=default
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListFlowAssociationsRequest & WithInstanceId(InstanceIdT &&value)
void SetResourceType(ListFlowAssociationResourceType value)
ListFlowAssociationResourceType GetResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String