AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
ListContactReferencesRequest.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/ReferenceType.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 ListContactReferencesRequest() = default;
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 "ListContactReferences"; }
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 template<typename InstanceIdT = Aws::String>
52 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
53 template<typename InstanceIdT = Aws::String>
54 ListContactReferencesRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetContactId() const { return m_contactId; }
62 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
63 template<typename ContactIdT = Aws::String>
64 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
65 template<typename ContactIdT = Aws::String>
66 ListContactReferencesRequest& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
68
70
73 inline const Aws::Vector<ReferenceType>& GetReferenceTypes() const { return m_referenceTypes; }
74 inline bool ReferenceTypesHasBeenSet() const { return m_referenceTypesHasBeenSet; }
75 template<typename ReferenceTypesT = Aws::Vector<ReferenceType>>
76 void SetReferenceTypes(ReferenceTypesT&& value) { m_referenceTypesHasBeenSet = true; m_referenceTypes = std::forward<ReferenceTypesT>(value); }
77 template<typename ReferenceTypesT = Aws::Vector<ReferenceType>>
78 ListContactReferencesRequest& WithReferenceTypes(ReferenceTypesT&& value) { SetReferenceTypes(std::forward<ReferenceTypesT>(value)); return *this;}
79 inline ListContactReferencesRequest& AddReferenceTypes(ReferenceType value) { m_referenceTypesHasBeenSet = true; m_referenceTypes.push_back(value); return *this; }
81
83
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 ListContactReferencesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96 private:
97
98 Aws::String m_instanceId;
99 bool m_instanceIdHasBeenSet = false;
100
101 Aws::String m_contactId;
102 bool m_contactIdHasBeenSet = false;
103
104 Aws::Vector<ReferenceType> m_referenceTypes;
105 bool m_referenceTypesHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Connect
113} // namespace Aws
const Aws::Vector< ReferenceType > & GetReferenceTypes() const
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListContactReferencesRequest & WithContactId(ContactIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListContactReferencesRequest & AddReferenceTypes(ReferenceType value)
ListContactReferencesRequest & WithReferenceTypes(ReferenceTypesT &&value)
AWS_CONNECT_API ListContactReferencesRequest()=default
ListContactReferencesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListContactReferencesRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector