AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteCampaignCommunicationTimeRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
9#include <aws/connectcampaignsv2/model/CommunicationTimeConfigType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace ConnectCampaignsV2 {
19namespace Model {
20
28 public:
29 AWS_CONNECTCAMPAIGNSV2_API DeleteCampaignCommunicationTimeRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteCampaignCommunicationTime"; }
36
37 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECTCAMPAIGNSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
59 inline CommunicationTimeConfigType GetConfig() const { return m_config; }
60 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
62 m_configHasBeenSet = true;
63 m_config = value;
64 }
66 SetConfig(value);
67 return *this;
68 }
70 private:
71 Aws::String m_id;
72
74 bool m_idHasBeenSet = false;
75 bool m_configHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ConnectCampaignsV2
80} // namespace Aws
DeleteCampaignCommunicationTimeRequest & WithConfig(CommunicationTimeConfigType value)
AWS_CONNECTCAMPAIGNSV2_API DeleteCampaignCommunicationTimeRequest()=default
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
AWS_CONNECTCAMPAIGNSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String