/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ConnectCampaigns { namespace Model { /** *

GetCampaignStateBatchRequest

See Also:

AWS * API Reference

*/ class GetCampaignStateBatchRequest : public ConnectCampaignsRequest { public: AWS_CONNECTCAMPAIGNS_API GetCampaignStateBatchRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetCampaignStateBatch"; } AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override; inline const Aws::Vector& GetCampaignIds() const{ return m_campaignIds; } inline bool CampaignIdsHasBeenSet() const { return m_campaignIdsHasBeenSet; } inline void SetCampaignIds(const Aws::Vector& value) { m_campaignIdsHasBeenSet = true; m_campaignIds = value; } inline void SetCampaignIds(Aws::Vector&& value) { m_campaignIdsHasBeenSet = true; m_campaignIds = std::move(value); } inline GetCampaignStateBatchRequest& WithCampaignIds(const Aws::Vector& value) { SetCampaignIds(value); return *this;} inline GetCampaignStateBatchRequest& WithCampaignIds(Aws::Vector&& value) { SetCampaignIds(std::move(value)); return *this;} inline GetCampaignStateBatchRequest& AddCampaignIds(const Aws::String& value) { m_campaignIdsHasBeenSet = true; m_campaignIds.push_back(value); return *this; } inline GetCampaignStateBatchRequest& AddCampaignIds(Aws::String&& value) { m_campaignIdsHasBeenSet = true; m_campaignIds.push_back(std::move(value)); return *this; } inline GetCampaignStateBatchRequest& AddCampaignIds(const char* value) { m_campaignIdsHasBeenSet = true; m_campaignIds.push_back(value); return *this; } private: Aws::Vector m_campaignIds; bool m_campaignIdsHasBeenSet = false; }; } // namespace Model } // namespace ConnectCampaigns } // namespace Aws