AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListViewVersionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Connect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CONNECT_API ListViewVersionsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListViewVersions"; }
35
36 AWS_CONNECT_API Aws::String SerializePayload() const override;
37
38 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
50 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
51 inline ListViewVersionsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
52 inline ListViewVersionsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
53 inline ListViewVersionsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
55
57
61 inline const Aws::String& GetViewId() const{ return m_viewId; }
62 inline bool ViewIdHasBeenSet() const { return m_viewIdHasBeenSet; }
63 inline void SetViewId(const Aws::String& value) { m_viewIdHasBeenSet = true; m_viewId = value; }
64 inline void SetViewId(Aws::String&& value) { m_viewIdHasBeenSet = true; m_viewId = std::move(value); }
65 inline void SetViewId(const char* value) { m_viewIdHasBeenSet = true; m_viewId.assign(value); }
66 inline ListViewVersionsRequest& WithViewId(const Aws::String& value) { SetViewId(value); return *this;}
67 inline ListViewVersionsRequest& WithViewId(Aws::String&& value) { SetViewId(std::move(value)); return *this;}
68 inline ListViewVersionsRequest& WithViewId(const char* value) { SetViewId(value); return *this;}
70
72
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline ListViewVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline ListViewVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline ListViewVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85
87
91 inline int GetMaxResults() const{ return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
94 inline ListViewVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
96 private:
97
98 Aws::String m_instanceId;
99 bool m_instanceIdHasBeenSet = false;
100
101 Aws::String m_viewId;
102 bool m_viewIdHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 int m_maxResults;
108 bool m_maxResultsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Connect
113} // namespace Aws
ListViewVersionsRequest & WithViewId(const char *value)
virtual const char * GetServiceRequestName() const override
ListViewVersionsRequest & WithInstanceId(const Aws::String &value)
ListViewVersionsRequest & WithNextToken(const char *value)
ListViewVersionsRequest & WithInstanceId(Aws::String &&value)
ListViewVersionsRequest & WithInstanceId(const char *value)
ListViewVersionsRequest & WithNextToken(const Aws::String &value)
ListViewVersionsRequest & WithViewId(Aws::String &&value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CONNECT_API Aws::String SerializePayload() const override
ListViewVersionsRequest & WithMaxResults(int value)
ListViewVersionsRequest & WithViewId(const Aws::String &value)
ListViewVersionsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String