AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListQuickConnectsRequest.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/QuickConnectType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Connect
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_CONNECT_API ListQuickConnectsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListQuickConnects"; }
37
38 AWS_CONNECT_API Aws::String SerializePayload() const override;
39
40 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
50 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
51 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
53 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
54 inline ListQuickConnectsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
55 inline ListQuickConnectsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
56 inline ListQuickConnectsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
58
60
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline ListQuickConnectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListQuickConnectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListQuickConnectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
79 inline int GetMaxResults() const{ return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListQuickConnectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
91 inline const Aws::Vector<QuickConnectType>& GetQuickConnectTypes() const{ return m_quickConnectTypes; }
92 inline bool QuickConnectTypesHasBeenSet() const { return m_quickConnectTypesHasBeenSet; }
93 inline void SetQuickConnectTypes(const Aws::Vector<QuickConnectType>& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes = value; }
94 inline void SetQuickConnectTypes(Aws::Vector<QuickConnectType>&& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes = std::move(value); }
97 inline ListQuickConnectsRequest& AddQuickConnectTypes(const QuickConnectType& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes.push_back(value); return *this; }
98 inline ListQuickConnectsRequest& AddQuickConnectTypes(QuickConnectType&& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes.push_back(std::move(value)); return *this; }
100 private:
101
102 Aws::String m_instanceId;
103 bool m_instanceIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::Vector<QuickConnectType> m_quickConnectTypes;
112 bool m_quickConnectTypesHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
ListQuickConnectsRequest & AddQuickConnectTypes(const QuickConnectType &value)
void SetQuickConnectTypes(Aws::Vector< QuickConnectType > &&value)
ListQuickConnectsRequest & WithInstanceId(const Aws::String &value)
ListQuickConnectsRequest & WithQuickConnectTypes(const Aws::Vector< QuickConnectType > &value)
ListQuickConnectsRequest & WithNextToken(const Aws::String &value)
ListQuickConnectsRequest & WithQuickConnectTypes(Aws::Vector< QuickConnectType > &&value)
const Aws::Vector< QuickConnectType > & GetQuickConnectTypes() const
virtual const char * GetServiceRequestName() const override
ListQuickConnectsRequest & WithNextToken(const char *value)
ListQuickConnectsRequest & WithMaxResults(int value)
ListQuickConnectsRequest & WithInstanceId(Aws::String &&value)
ListQuickConnectsRequest & WithInstanceId(const char *value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListQuickConnectsRequest & AddQuickConnectTypes(QuickConnectType &&value)
ListQuickConnectsRequest & WithNextToken(Aws::String &&value)
void SetQuickConnectTypes(const Aws::Vector< QuickConnectType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector