AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListViewsRequest.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/ViewType.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 ListViewsRequest();
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 "ListViews"; }
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
47 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
50 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
51 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
52 inline ListViewsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
53 inline ListViewsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
54 inline ListViewsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
56
58
61 inline const ViewType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const ViewType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(ViewType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline ListViewsRequest& WithType(const ViewType& value) { SetType(value); return *this;}
66 inline ListViewsRequest& WithType(ViewType&& value) { SetType(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline ListViewsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListViewsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListViewsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
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 ListViewsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94 private:
95
96 Aws::String m_instanceId;
97 bool m_instanceIdHasBeenSet = false;
98
99 ViewType m_type;
100 bool m_typeHasBeenSet = 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
void SetInstanceId(const Aws::String &value)
ListViewsRequest & WithType(const ViewType &value)
ListViewsRequest & WithInstanceId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
ListViewsRequest & WithType(ViewType &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
const Aws::String & GetNextToken() const
void SetNextToken(const Aws::String &value)
ListViewsRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListViewsRequest & WithInstanceId(const char *value)
void SetType(const ViewType &value)
ListViewsRequest & WithInstanceId(const Aws::String &value)
ListViewsRequest & WithNextToken(Aws::String &&value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListViewsRequest & WithNextToken(const char *value)
ListViewsRequest & WithMaxResults(int value)
void SetNextToken(Aws::String &&value)
const Aws::String & GetInstanceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String