AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateCampaignDialerConfigRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaignsRequest.h>
8#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
9#include <aws/connectcampaigns/model/DialerConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCampaigns {
16namespace Model {
17
24 public:
25 AWS_CONNECTCAMPAIGNS_API UpdateCampaignDialerConfigRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateCampaignDialerConfig"; }
32
33 AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override;
34
36
37 inline const Aws::String& GetId() const { return m_id; }
38 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
53 inline const DialerConfig& GetDialerConfig() const { return m_dialerConfig; }
54 inline bool DialerConfigHasBeenSet() const { return m_dialerConfigHasBeenSet; }
55 template <typename DialerConfigT = DialerConfig>
56 void SetDialerConfig(DialerConfigT&& value) {
57 m_dialerConfigHasBeenSet = true;
58 m_dialerConfig = std::forward<DialerConfigT>(value);
59 }
60 template <typename DialerConfigT = DialerConfig>
62 SetDialerConfig(std::forward<DialerConfigT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_id;
68
69 DialerConfig m_dialerConfig;
70 bool m_idHasBeenSet = false;
71 bool m_dialerConfigHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ConnectCampaigns
76} // namespace Aws
UpdateCampaignDialerConfigRequest & WithDialerConfig(DialerConfigT &&value)
AWS_CONNECTCAMPAIGNS_API UpdateCampaignDialerConfigRequest()=default
AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String