AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCampaignRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/WriteCampaignRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API UpdateCampaignRequest();
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 "UpdateCampaign"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
46 inline UpdateCampaignRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
47 inline UpdateCampaignRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline UpdateCampaignRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
55 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
56 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
57 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
58 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
59 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
60 inline UpdateCampaignRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
61 inline UpdateCampaignRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
62 inline UpdateCampaignRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
64
66
67 inline const WriteCampaignRequest& GetWriteCampaignRequest() const{ return m_writeCampaignRequest; }
68 inline bool WriteCampaignRequestHasBeenSet() const { return m_writeCampaignRequestHasBeenSet; }
69 inline void SetWriteCampaignRequest(const WriteCampaignRequest& value) { m_writeCampaignRequestHasBeenSet = true; m_writeCampaignRequest = value; }
70 inline void SetWriteCampaignRequest(WriteCampaignRequest&& value) { m_writeCampaignRequestHasBeenSet = true; m_writeCampaignRequest = std::move(value); }
74 private:
75
76 Aws::String m_applicationId;
77 bool m_applicationIdHasBeenSet = false;
78
79 Aws::String m_campaignId;
80 bool m_campaignIdHasBeenSet = false;
81
82 WriteCampaignRequest m_writeCampaignRequest;
83 bool m_writeCampaignRequestHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Pinpoint
88} // namespace Aws
UpdateCampaignRequest & WithWriteCampaignRequest(WriteCampaignRequest &&value)
UpdateCampaignRequest & WithCampaignId(Aws::String &&value)
UpdateCampaignRequest & WithCampaignId(const char *value)
const WriteCampaignRequest & GetWriteCampaignRequest() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetWriteCampaignRequest(const WriteCampaignRequest &value)
UpdateCampaignRequest & WithWriteCampaignRequest(const WriteCampaignRequest &value)
void SetApplicationId(const Aws::String &value)
void SetWriteCampaignRequest(WriteCampaignRequest &&value)
UpdateCampaignRequest & WithApplicationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateCampaignRequest & WithApplicationId(const char *value)
UpdateCampaignRequest & WithCampaignId(const Aws::String &value)
UpdateCampaignRequest & WithApplicationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String