AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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