AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCampaignNameRequest.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 <utility>
11
12namespace Aws
13{
14namespace ConnectCampaignsV2
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignNameRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateCampaignName"; }
34
35 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
36
37
39
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 UpdateCampaignNameRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 UpdateCampaignNameRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57 private:
58
59 Aws::String m_id;
60 bool m_idHasBeenSet = false;
61
62 Aws::String m_name;
63 bool m_nameHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace ConnectCampaignsV2
68} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
AWS_CONNECTCAMPAIGNSV2_API UpdateCampaignNameRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String