AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateCampaignScheduleRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
9#include <aws/connectcampaignsv2/model/Schedule.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCampaignsV2 {
16namespace Model {
17
24 public:
25 AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignScheduleRequest() = 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 "UpdateCampaignSchedule"; }
32
33 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
34
36
37 inline const Aws::String& GetId() const { return m_id; }
38 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
53 inline const Schedule& GetSchedule() const { return m_schedule; }
54 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
55 template <typename ScheduleT = Schedule>
56 void SetSchedule(ScheduleT&& value) {
57 m_scheduleHasBeenSet = true;
58 m_schedule = std::forward<ScheduleT>(value);
59 }
60 template <typename ScheduleT = Schedule>
62 SetSchedule(std::forward<ScheduleT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_id;
68
69 Schedule m_schedule;
70 bool m_idHasBeenSet = false;
71 bool m_scheduleHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ConnectCampaignsV2
76} // 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