AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCampaignScheduleRequest.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/connectcampaignsv2/model/Schedule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCampaignsV2
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignScheduleRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateCampaignSchedule"; }
35
36 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateCampaignScheduleRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
51 inline const Schedule& GetSchedule() const { return m_schedule; }
52 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
53 template<typename ScheduleT = Schedule>
54 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
55 template<typename ScheduleT = Schedule>
56 UpdateCampaignScheduleRequest& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
58 private:
59
60 Aws::String m_id;
61 bool m_idHasBeenSet = false;
62
63 Schedule m_schedule;
64 bool m_scheduleHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace ConnectCampaignsV2
69} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignScheduleRequest()=default
UpdateCampaignScheduleRequest & WithSchedule(ScheduleT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String