AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEndpointRequest.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/EndpointRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API UpdateEndpointRequest();
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 "UpdateEndpoint"; }
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 UpdateEndpointRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
47 inline UpdateEndpointRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline UpdateEndpointRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
56 inline const Aws::String& GetEndpointId() const{ return m_endpointId; }
57 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
58 inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; }
59 inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); }
60 inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); }
61 inline UpdateEndpointRequest& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;}
62 inline UpdateEndpointRequest& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;}
63 inline UpdateEndpointRequest& WithEndpointId(const char* value) { SetEndpointId(value); return *this;}
65
67
68 inline const EndpointRequest& GetEndpointRequest() const{ return m_endpointRequest; }
69 inline bool EndpointRequestHasBeenSet() const { return m_endpointRequestHasBeenSet; }
70 inline void SetEndpointRequest(const EndpointRequest& value) { m_endpointRequestHasBeenSet = true; m_endpointRequest = value; }
71 inline void SetEndpointRequest(EndpointRequest&& value) { m_endpointRequestHasBeenSet = true; m_endpointRequest = std::move(value); }
72 inline UpdateEndpointRequest& WithEndpointRequest(const EndpointRequest& value) { SetEndpointRequest(value); return *this;}
73 inline UpdateEndpointRequest& WithEndpointRequest(EndpointRequest&& value) { SetEndpointRequest(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_applicationId;
78 bool m_applicationIdHasBeenSet = false;
79
80 Aws::String m_endpointId;
81 bool m_endpointIdHasBeenSet = false;
82
83 EndpointRequest m_endpointRequest;
84 bool m_endpointRequestHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Pinpoint
89} // namespace Aws
UpdateEndpointRequest & WithApplicationId(Aws::String &&value)
UpdateEndpointRequest & WithEndpointRequest(EndpointRequest &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetApplicationId(const Aws::String &value)
const EndpointRequest & GetEndpointRequest() const
void SetEndpointRequest(const EndpointRequest &value)
UpdateEndpointRequest & WithEndpointRequest(const EndpointRequest &value)
UpdateEndpointRequest & WithEndpointId(Aws::String &&value)
UpdateEndpointRequest & WithEndpointId(const Aws::String &value)
UpdateEndpointRequest & WithApplicationId(const char *value)
UpdateEndpointRequest & WithEndpointId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateEndpointRequest & WithApplicationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String