AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ProfileOutboundRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/EventTriggerContext.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCampaignsV2 {
22namespace Model {
23
30 public:
31 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest() = default;
32 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
46 ProfileOutboundRequest& WithClientToken(ClientTokenT&& value) {
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetProfileId() const { return m_profileId; }
55 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
56 template <typename ProfileIdT = Aws::String>
57 void SetProfileId(ProfileIdT&& value) {
58 m_profileIdHasBeenSet = true;
59 m_profileId = std::forward<ProfileIdT>(value);
60 }
61 template <typename ProfileIdT = Aws::String>
63 SetProfileId(std::forward<ProfileIdT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
71 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
72 template <typename ExpirationTimeT = Aws::Utils::DateTime>
73 void SetExpirationTime(ExpirationTimeT&& value) {
74 m_expirationTimeHasBeenSet = true;
75 m_expirationTime = std::forward<ExpirationTimeT>(value);
76 }
77 template <typename ExpirationTimeT = Aws::Utils::DateTime>
78 ProfileOutboundRequest& WithExpirationTime(ExpirationTimeT&& value) {
79 SetExpirationTime(std::forward<ExpirationTimeT>(value));
80 return *this;
81 }
83
85
86 inline const EventTriggerContext& GetEventTriggerContext() const { return m_eventTriggerContext; }
87 inline bool EventTriggerContextHasBeenSet() const { return m_eventTriggerContextHasBeenSet; }
88 template <typename EventTriggerContextT = EventTriggerContext>
89 void SetEventTriggerContext(EventTriggerContextT&& value) {
90 m_eventTriggerContextHasBeenSet = true;
91 m_eventTriggerContext = std::forward<EventTriggerContextT>(value);
92 }
93 template <typename EventTriggerContextT = EventTriggerContext>
94 ProfileOutboundRequest& WithEventTriggerContext(EventTriggerContextT&& value) {
95 SetEventTriggerContext(std::forward<EventTriggerContextT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_clientToken;
101
102 Aws::String m_profileId;
103
104 Aws::Utils::DateTime m_expirationTime{};
105
106 EventTriggerContext m_eventTriggerContext;
107 bool m_clientTokenHasBeenSet = false;
108 bool m_profileIdHasBeenSet = false;
109 bool m_expirationTimeHasBeenSet = false;
110 bool m_eventTriggerContextHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace ConnectCampaignsV2
115} // namespace Aws
ProfileOutboundRequest & WithClientToken(ClientTokenT &&value)
ProfileOutboundRequest & WithEventTriggerContext(EventTriggerContextT &&value)
AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue)
ProfileOutboundRequest & WithProfileId(ProfileIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileOutboundRequest & WithExpirationTime(ExpirationTimeT &&value)
AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue