AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCampaignSourceRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcampaignsv2/model/Source.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCampaignsV2
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignSourceRequest() = 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 "UpdateCampaignSource"; }
35
36 AWS_CONNECTCAMPAIGNSV2_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 UpdateCampaignSourceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
51 inline const Source& GetSource() const { return m_source; }
52 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
53 template<typename SourceT = Source>
54 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
55 template<typename SourceT = Source>
56 UpdateCampaignSourceRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
58 private:
59
60 Aws::String m_id;
61 bool m_idHasBeenSet = false;
62
63 Source m_source;
64 bool m_sourceHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace ConnectCampaignsV2
69} // 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