AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPutContactRequest.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/ContactDataRequest.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECT_API BatchPutContactRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "BatchPutContact"; }
34
35 AWS_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
46 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline BatchPutContactRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline BatchPutContactRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline BatchPutContactRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
62 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
63 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
64 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
65 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
67 inline BatchPutContactRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
68 inline BatchPutContactRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
69 inline BatchPutContactRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
71
73
76 inline const Aws::Vector<ContactDataRequest>& GetContactDataRequestList() const{ return m_contactDataRequestList; }
77 inline bool ContactDataRequestListHasBeenSet() const { return m_contactDataRequestListHasBeenSet; }
78 inline void SetContactDataRequestList(const Aws::Vector<ContactDataRequest>& value) { m_contactDataRequestListHasBeenSet = true; m_contactDataRequestList = value; }
79 inline void SetContactDataRequestList(Aws::Vector<ContactDataRequest>&& value) { m_contactDataRequestListHasBeenSet = true; m_contactDataRequestList = std::move(value); }
82 inline BatchPutContactRequest& AddContactDataRequestList(const ContactDataRequest& value) { m_contactDataRequestListHasBeenSet = true; m_contactDataRequestList.push_back(value); return *this; }
83 inline BatchPutContactRequest& AddContactDataRequestList(ContactDataRequest&& value) { m_contactDataRequestListHasBeenSet = true; m_contactDataRequestList.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_clientToken;
88 bool m_clientTokenHasBeenSet = false;
89
90 Aws::String m_instanceId;
91 bool m_instanceIdHasBeenSet = false;
92
93 Aws::Vector<ContactDataRequest> m_contactDataRequestList;
94 bool m_contactDataRequestListHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Connect
99} // namespace Aws
const Aws::Vector< ContactDataRequest > & GetContactDataRequestList() const
void SetContactDataRequestList(const Aws::Vector< ContactDataRequest > &value)
BatchPutContactRequest & WithContactDataRequestList(Aws::Vector< ContactDataRequest > &&value)
void SetContactDataRequestList(Aws::Vector< ContactDataRequest > &&value)
BatchPutContactRequest & WithInstanceId(Aws::String &&value)
BatchPutContactRequest & WithClientToken(const Aws::String &value)
BatchPutContactRequest & WithContactDataRequestList(const Aws::Vector< ContactDataRequest > &value)
virtual const char * GetServiceRequestName() const override
BatchPutContactRequest & AddContactDataRequestList(ContactDataRequest &&value)
BatchPutContactRequest & AddContactDataRequestList(const ContactDataRequest &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
BatchPutContactRequest & WithInstanceId(const char *value)
BatchPutContactRequest & WithClientToken(Aws::String &&value)
BatchPutContactRequest & WithInstanceId(const Aws::String &value)
BatchPutContactRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector