AWS SDK for C++

AWS SDK for C++ Version 1.11.680

Loading...
Searching...
No Matches
GetCampaignVersionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Pinpoint {
18namespace Model {
19
23 public:
24 AWS_PINPOINT_API GetCampaignVersionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetCampaignVersions"; }
31
32 AWS_PINPOINT_API Aws::String SerializePayload() const override;
33
34 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) {
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCampaignId() const { return m_campaignId; }
60 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
61 template <typename CampaignIdT = Aws::String>
62 void SetCampaignId(CampaignIdT&& value) {
63 m_campaignIdHasBeenSet = true;
64 m_campaignId = std::forward<CampaignIdT>(value);
65 }
66 template <typename CampaignIdT = Aws::String>
68 SetCampaignId(std::forward<CampaignIdT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetPageSize() const { return m_pageSize; }
80 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
81 template <typename PageSizeT = Aws::String>
82 void SetPageSize(PageSizeT&& value) {
83 m_pageSizeHasBeenSet = true;
84 m_pageSize = std::forward<PageSizeT>(value);
85 }
86 template <typename PageSizeT = Aws::String>
88 SetPageSize(std::forward<PageSizeT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetToken() const { return m_token; }
99 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
100 template <typename TokenT = Aws::String>
101 void SetToken(TokenT&& value) {
102 m_tokenHasBeenSet = true;
103 m_token = std::forward<TokenT>(value);
104 }
105 template <typename TokenT = Aws::String>
107 SetToken(std::forward<TokenT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_applicationId;
113 bool m_applicationIdHasBeenSet = false;
114
115 Aws::String m_campaignId;
116 bool m_campaignIdHasBeenSet = false;
117
118 Aws::String m_pageSize;
119 bool m_pageSizeHasBeenSet = false;
120
121 Aws::String m_token;
122 bool m_tokenHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Pinpoint
127} // namespace Aws
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetCampaignVersionsRequest & WithToken(TokenT &&value)
AWS_PINPOINT_API GetCampaignVersionsRequest()=default
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetCampaignVersionsRequest & WithApplicationId(ApplicationIdT &&value)
GetCampaignVersionsRequest & WithPageSize(PageSizeT &&value)
virtual const char * GetServiceRequestName() const override
GetCampaignVersionsRequest & WithCampaignId(CampaignIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String