AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateCampaignSourceRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
9#include <aws/connectcampaignsv2/model/Source.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCampaignsV2 {
16namespace Model {
17
24 public:
25 AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignSourceRequest() = 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 "UpdateCampaignSource"; }
32
33 AWS_CONNECTCAMPAIGNSV2_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 Source& GetSource() const { return m_source; }
54 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
55 template <typename SourceT = Source>
56 void SetSource(SourceT&& value) {
57 m_sourceHasBeenSet = true;
58 m_source = std::forward<SourceT>(value);
59 }
60 template <typename SourceT = Source>
62 SetSource(std::forward<SourceT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_id;
68
69 Source m_source;
70 bool m_idHasBeenSet = false;
71 bool m_sourceHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ConnectCampaignsV2
76} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignSourceRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String