AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
PutSegmentSubscriptionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/ScheduleConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API PutSegmentSubscriptionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutSegmentSubscription"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetSegmentDefinitionName() const { return m_segmentDefinitionName; }
55 inline bool SegmentDefinitionNameHasBeenSet() const { return m_segmentDefinitionNameHasBeenSet; }
56 template <typename SegmentDefinitionNameT = Aws::String>
57 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) {
58 m_segmentDefinitionNameHasBeenSet = true;
59 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
60 }
61 template <typename SegmentDefinitionNameT = Aws::String>
63 SetSegmentDefinitionName(std::forward<SegmentDefinitionNameT>(value));
64 return *this;
65 }
67
69
74 inline const ScheduleConfiguration& GetScheduleConfiguration() const { return m_scheduleConfiguration; }
75 inline bool ScheduleConfigurationHasBeenSet() const { return m_scheduleConfigurationHasBeenSet; }
76 template <typename ScheduleConfigurationT = ScheduleConfiguration>
77 void SetScheduleConfiguration(ScheduleConfigurationT&& value) {
78 m_scheduleConfigurationHasBeenSet = true;
79 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
80 }
81 template <typename ScheduleConfigurationT = ScheduleConfiguration>
83 SetScheduleConfiguration(std::forward<ScheduleConfigurationT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_domainName;
89
90 Aws::String m_segmentDefinitionName;
91
92 ScheduleConfiguration m_scheduleConfiguration;
93 bool m_domainNameHasBeenSet = false;
94 bool m_segmentDefinitionNameHasBeenSet = false;
95 bool m_scheduleConfigurationHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace CustomerProfiles
100} // namespace Aws
AWS_CUSTOMERPROFILES_API PutSegmentSubscriptionRequest()=default
PutSegmentSubscriptionRequest & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
PutSegmentSubscriptionRequest & WithScheduleConfiguration(ScheduleConfigurationT &&value)
PutSegmentSubscriptionRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String