AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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