AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutProfileOutboundRequestBatchRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connectcampaignsv2/model/ProfileOutboundRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConnectCampaignsV2
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_CONNECTCAMPAIGNSV2_API PutProfileOutboundRequestBatchRequest() = 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 "PutProfileOutboundRequestBatch"; }
37
38 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
39
40
42
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 PutProfileOutboundRequestBatchRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
53 inline const Aws::Vector<ProfileOutboundRequest>& GetProfileOutboundRequests() const { return m_profileOutboundRequests; }
54 inline bool ProfileOutboundRequestsHasBeenSet() const { return m_profileOutboundRequestsHasBeenSet; }
55 template<typename ProfileOutboundRequestsT = Aws::Vector<ProfileOutboundRequest>>
56 void SetProfileOutboundRequests(ProfileOutboundRequestsT&& value) { m_profileOutboundRequestsHasBeenSet = true; m_profileOutboundRequests = std::forward<ProfileOutboundRequestsT>(value); }
57 template<typename ProfileOutboundRequestsT = Aws::Vector<ProfileOutboundRequest>>
58 PutProfileOutboundRequestBatchRequest& WithProfileOutboundRequests(ProfileOutboundRequestsT&& value) { SetProfileOutboundRequests(std::forward<ProfileOutboundRequestsT>(value)); return *this;}
59 template<typename ProfileOutboundRequestsT = ProfileOutboundRequest>
60 PutProfileOutboundRequestBatchRequest& AddProfileOutboundRequests(ProfileOutboundRequestsT&& value) { m_profileOutboundRequestsHasBeenSet = true; m_profileOutboundRequests.emplace_back(std::forward<ProfileOutboundRequestsT>(value)); return *this; }
62 private:
63
64 Aws::String m_id;
65 bool m_idHasBeenSet = false;
66
67 Aws::Vector<ProfileOutboundRequest> m_profileOutboundRequests;
68 bool m_profileOutboundRequestsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ConnectCampaignsV2
73} // namespace Aws
PutProfileOutboundRequestBatchRequest & WithProfileOutboundRequests(ProfileOutboundRequestsT &&value)
AWS_CONNECTCAMPAIGNSV2_API PutProfileOutboundRequestBatchRequest()=default
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
PutProfileOutboundRequestBatchRequest & AddProfileOutboundRequests(ProfileOutboundRequestsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector