AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateAppRequest.h
1
6#pragma once
7#include <aws/pinpoint/PinpointRequest.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/CreateApplicationRequest.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Pinpoint {
15namespace Model {
16
20 public:
21 AWS_PINPOINT_API CreateAppRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateApp"; }
28
29 AWS_PINPOINT_API Aws::String SerializePayload() const override;
30
32
33 inline const CreateApplicationRequest& GetCreateApplicationRequest() const { return m_createApplicationRequest; }
34 inline bool CreateApplicationRequestHasBeenSet() const { return m_createApplicationRequestHasBeenSet; }
35 template <typename CreateApplicationRequestT = CreateApplicationRequest>
36 void SetCreateApplicationRequest(CreateApplicationRequestT&& value) {
37 m_createApplicationRequestHasBeenSet = true;
38 m_createApplicationRequest = std::forward<CreateApplicationRequestT>(value);
39 }
40 template <typename CreateApplicationRequestT = CreateApplicationRequest>
41 CreateAppRequest& WithCreateApplicationRequest(CreateApplicationRequestT&& value) {
42 SetCreateApplicationRequest(std::forward<CreateApplicationRequestT>(value));
43 return *this;
44 }
46 private:
47 CreateApplicationRequest m_createApplicationRequest;
48 bool m_createApplicationRequestHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace Pinpoint
53} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API Aws::String SerializePayload() const override
CreateAppRequest & WithCreateApplicationRequest(CreateApplicationRequestT &&value)
AWS_PINPOINT_API CreateAppRequest()=default
void SetCreateApplicationRequest(CreateApplicationRequestT &&value)
const CreateApplicationRequest & GetCreateApplicationRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String