AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetCampaignStateBatchRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaignsRequest.h>
8#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCampaigns {
16namespace Model {
17
24 public:
25 AWS_CONNECTCAMPAIGNS_API GetCampaignStateBatchRequest() = default;
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 "GetCampaignStateBatch"; }
32
33 AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override;
34
36
37 inline const Aws::Vector<Aws::String>& GetCampaignIds() const { return m_campaignIds; }
38 inline bool CampaignIdsHasBeenSet() const { return m_campaignIdsHasBeenSet; }
39 template <typename CampaignIdsT = Aws::Vector<Aws::String>>
40 void SetCampaignIds(CampaignIdsT&& value) {
41 m_campaignIdsHasBeenSet = true;
42 m_campaignIds = std::forward<CampaignIdsT>(value);
43 }
44 template <typename CampaignIdsT = Aws::Vector<Aws::String>>
46 SetCampaignIds(std::forward<CampaignIdsT>(value));
47 return *this;
48 }
49 template <typename CampaignIdsT = Aws::String>
51 m_campaignIdsHasBeenSet = true;
52 m_campaignIds.emplace_back(std::forward<CampaignIdsT>(value));
53 return *this;
54 }
56 private:
57 Aws::Vector<Aws::String> m_campaignIds;
58 bool m_campaignIdsHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace ConnectCampaigns
63} // namespace Aws
AWS_CONNECTCAMPAIGNS_API GetCampaignStateBatchRequest()=default
AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override
GetCampaignStateBatchRequest & AddCampaignIds(CampaignIdsT &&value)
GetCampaignStateBatchRequest & WithCampaignIds(CampaignIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector