AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDialRequestBatchRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/ConnectCampaignsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connectcampaigns/model/DialRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConnectCampaigns
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_CONNECTCAMPAIGNS_API PutDialRequestBatchRequest();
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 "PutDialRequestBatch"; }
36
37 AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override;
38
39
41
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline PutDialRequestBatchRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline PutDialRequestBatchRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline PutDialRequestBatchRequest& WithId(const char* value) { SetId(value); return *this;}
51
53
54 inline const Aws::Vector<DialRequest>& GetDialRequests() const{ return m_dialRequests; }
55 inline bool DialRequestsHasBeenSet() const { return m_dialRequestsHasBeenSet; }
56 inline void SetDialRequests(const Aws::Vector<DialRequest>& value) { m_dialRequestsHasBeenSet = true; m_dialRequests = value; }
57 inline void SetDialRequests(Aws::Vector<DialRequest>&& value) { m_dialRequestsHasBeenSet = true; m_dialRequests = std::move(value); }
59 inline PutDialRequestBatchRequest& WithDialRequests(Aws::Vector<DialRequest>&& value) { SetDialRequests(std::move(value)); return *this;}
60 inline PutDialRequestBatchRequest& AddDialRequests(const DialRequest& value) { m_dialRequestsHasBeenSet = true; m_dialRequests.push_back(value); return *this; }
61 inline PutDialRequestBatchRequest& AddDialRequests(DialRequest&& value) { m_dialRequestsHasBeenSet = true; m_dialRequests.push_back(std::move(value)); return *this; }
63 private:
64
65 Aws::String m_id;
66 bool m_idHasBeenSet = false;
67
68 Aws::Vector<DialRequest> m_dialRequests;
69 bool m_dialRequestsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ConnectCampaigns
74} // namespace Aws
PutDialRequestBatchRequest & WithId(const Aws::String &value)
PutDialRequestBatchRequest & WithId(Aws::String &&value)
PutDialRequestBatchRequest & WithId(const char *value)
PutDialRequestBatchRequest & WithDialRequests(Aws::Vector< DialRequest > &&value)
void SetDialRequests(const Aws::Vector< DialRequest > &value)
PutDialRequestBatchRequest & AddDialRequests(DialRequest &&value)
PutDialRequestBatchRequest & AddDialRequests(const DialRequest &value)
AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override
PutDialRequestBatchRequest & WithDialRequests(const Aws::Vector< DialRequest > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector