AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCampaignVersionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Pinpoint
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PINPOINT_API GetCampaignVersionsRequest() = 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 "GetCampaignVersions"; }
35
36 AWS_PINPOINT_API Aws::String SerializePayload() const override;
37
38 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 GetCampaignVersionsRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCampaignId() const { return m_campaignId; }
59 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
60 template<typename CampaignIdT = Aws::String>
61 void SetCampaignId(CampaignIdT&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::forward<CampaignIdT>(value); }
62 template<typename CampaignIdT = Aws::String>
63 GetCampaignVersionsRequest& WithCampaignId(CampaignIdT&& value) { SetCampaignId(std::forward<CampaignIdT>(value)); return *this;}
65
67
72 inline const Aws::String& GetPageSize() const { return m_pageSize; }
73 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
74 template<typename PageSizeT = Aws::String>
75 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
76 template<typename PageSizeT = Aws::String>
77 GetCampaignVersionsRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
79
81
85 inline const Aws::String& GetToken() const { return m_token; }
86 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
87 template<typename TokenT = Aws::String>
88 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
89 template<typename TokenT = Aws::String>
90 GetCampaignVersionsRequest& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
92 private:
93
94 Aws::String m_applicationId;
95 bool m_applicationIdHasBeenSet = false;
96
97 Aws::String m_campaignId;
98 bool m_campaignIdHasBeenSet = false;
99
100 Aws::String m_pageSize;
101 bool m_pageSizeHasBeenSet = false;
102
103 Aws::String m_token;
104 bool m_tokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Pinpoint
109} // 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