AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OutboundRequest.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 <aws/connectcampaignsv2/model/ChannelSubtypeParameters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectCampaignsV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCAMPAIGNSV2_API OutboundRequest() = default;
37 AWS_CONNECTCAMPAIGNSV2_API OutboundRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_API OutboundRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template<typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<typename ClientTokenT = Aws::String>
49 OutboundRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
51
53
54 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
55 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
56 template<typename ExpirationTimeT = Aws::Utils::DateTime>
57 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
58 template<typename ExpirationTimeT = Aws::Utils::DateTime>
59 OutboundRequest& WithExpirationTime(ExpirationTimeT&& value) { SetExpirationTime(std::forward<ExpirationTimeT>(value)); return *this;}
61
63
64 inline const ChannelSubtypeParameters& GetChannelSubtypeParameters() const { return m_channelSubtypeParameters; }
65 inline bool ChannelSubtypeParametersHasBeenSet() const { return m_channelSubtypeParametersHasBeenSet; }
66 template<typename ChannelSubtypeParametersT = ChannelSubtypeParameters>
67 void SetChannelSubtypeParameters(ChannelSubtypeParametersT&& value) { m_channelSubtypeParametersHasBeenSet = true; m_channelSubtypeParameters = std::forward<ChannelSubtypeParametersT>(value); }
68 template<typename ChannelSubtypeParametersT = ChannelSubtypeParameters>
69 OutboundRequest& WithChannelSubtypeParameters(ChannelSubtypeParametersT&& value) { SetChannelSubtypeParameters(std::forward<ChannelSubtypeParametersT>(value)); return *this;}
71 private:
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 Aws::Utils::DateTime m_expirationTime{};
77 bool m_expirationTimeHasBeenSet = false;
78
79 ChannelSubtypeParameters m_channelSubtypeParameters;
80 bool m_channelSubtypeParametersHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ConnectCampaignsV2
85} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpirationTime(ExpirationTimeT &&value)
AWS_CONNECTCAMPAIGNSV2_API OutboundRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
OutboundRequest & WithClientToken(ClientTokenT &&value)
OutboundRequest & WithChannelSubtypeParameters(ChannelSubtypeParametersT &&value)
AWS_CONNECTCAMPAIGNSV2_API OutboundRequest()=default
OutboundRequest & WithExpirationTime(ExpirationTimeT &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
const ChannelSubtypeParameters & GetChannelSubtypeParameters() const
void SetChannelSubtypeParameters(ChannelSubtypeParametersT &&value)
AWS_CONNECTCAMPAIGNSV2_API OutboundRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue