AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline ListFlowAssociationsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline ListFlowAssociationsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline ListFlowAssociationsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const ListFlowAssociationResourceType& GetResourceType() const{ return m_resourceType; }
63 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
64 inline void SetResourceType(const ListFlowAssociationResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
65 inline void SetResourceType(ListFlowAssociationResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
69
71
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListFlowAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListFlowAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListFlowAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListFlowAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94 private:
95
96 Aws::String m_instanceId;
97 bool m_instanceIdHasBeenSet = false;
98
100 bool m_resourceTypeHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetResourceType(const ListFlowAssociationResourceType &value)
ListFlowAssociationsRequest & WithResourceType(ListFlowAssociationResourceType &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListFlowAssociationsRequest & WithMaxResults(int value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListFlowAssociationsRequest & WithResourceType(const ListFlowAssociationResourceType &value)
ListFlowAssociationsRequest & WithNextToken(Aws::String &&value)
void SetResourceType(ListFlowAssociationResourceType &&value)
ListFlowAssociationsRequest & WithInstanceId(Aws::String &&value)
const ListFlowAssociationResourceType & GetResourceType() const
ListFlowAssociationsRequest & WithInstanceId(const char *value)
ListFlowAssociationsRequest & WithNextToken(const char *value)
ListFlowAssociationsRequest & WithNextToken(const Aws::String &value)
ListFlowAssociationsRequest & WithInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String