AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ProfileOutboundRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCampaignsV2 {
21namespace Model {
22
29 public:
30 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest() = default;
31 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNSV2_API ProfileOutboundRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetClientToken() const { return m_clientToken; }
38 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
39 template <typename ClientTokenT = Aws::String>
40 void SetClientToken(ClientTokenT&& value) {
41 m_clientTokenHasBeenSet = true;
42 m_clientToken = std::forward<ClientTokenT>(value);
43 }
44 template <typename ClientTokenT = Aws::String>
45 ProfileOutboundRequest& WithClientToken(ClientTokenT&& value) {
46 SetClientToken(std::forward<ClientTokenT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetProfileId() const { return m_profileId; }
54 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
55 template <typename ProfileIdT = Aws::String>
56 void SetProfileId(ProfileIdT&& value) {
57 m_profileIdHasBeenSet = true;
58 m_profileId = std::forward<ProfileIdT>(value);
59 }
60 template <typename ProfileIdT = Aws::String>
62 SetProfileId(std::forward<ProfileIdT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
70 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
71 template <typename ExpirationTimeT = Aws::Utils::DateTime>
72 void SetExpirationTime(ExpirationTimeT&& value) {
73 m_expirationTimeHasBeenSet = true;
74 m_expirationTime = std::forward<ExpirationTimeT>(value);
75 }
76 template <typename ExpirationTimeT = Aws::Utils::DateTime>
77 ProfileOutboundRequest& WithExpirationTime(ExpirationTimeT&& value) {
78 SetExpirationTime(std::forward<ExpirationTimeT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_clientToken;
84
85 Aws::String m_profileId;
86
87 Aws::Utils::DateTime m_expirationTime{};
88 bool m_clientTokenHasBeenSet = false;
89 bool m_profileIdHasBeenSet = false;
90 bool m_expirationTimeHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace ConnectCampaignsV2
95} // namespace Aws
ProfileOutboundRequest & WithClientToken(ClientTokenT &&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