AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCurrentUserDataRequest.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/UserDataFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API GetCurrentUserDataRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetCurrentUserData"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline GetCurrentUserDataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline GetCurrentUserDataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline GetCurrentUserDataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
63 inline const UserDataFilters& GetFilters() const{ return m_filters; }
64 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
65 inline void SetFilters(const UserDataFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 inline void SetFilters(UserDataFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline GetCurrentUserDataRequest& WithFilters(const UserDataFilters& value) { SetFilters(value); return *this;}
68 inline GetCurrentUserDataRequest& WithFilters(UserDataFilters&& value) { SetFilters(std::move(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 GetCurrentUserDataRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline GetCurrentUserDataRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline GetCurrentUserDataRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85
87
90 inline int GetMaxResults() const{ return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline GetCurrentUserDataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95 private:
96
97 Aws::String m_instanceId;
98 bool m_instanceIdHasBeenSet = false;
99
100 UserDataFilters m_filters;
101 bool m_filtersHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults;
107 bool m_maxResultsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Connect
112} // namespace Aws
GetCurrentUserDataRequest & WithInstanceId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
GetCurrentUserDataRequest & WithNextToken(const Aws::String &value)
GetCurrentUserDataRequest & WithMaxResults(int value)
GetCurrentUserDataRequest & WithInstanceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetCurrentUserDataRequest & WithNextToken(Aws::String &&value)
GetCurrentUserDataRequest & WithInstanceId(const Aws::String &value)
GetCurrentUserDataRequest & WithFilters(UserDataFilters &&value)
GetCurrentUserDataRequest & WithNextToken(const char *value)
GetCurrentUserDataRequest & WithFilters(const UserDataFilters &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String