AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActivateDeviceIdentifierRequest.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/PrivateNetworksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace PrivateNetworks
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PRIVATENETWORKS_API ActivateDeviceIdentifierRequest();
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 "ActivateDeviceIdentifier"; }
31
32 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
33
34
36
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline ActivateDeviceIdentifierRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline ActivateDeviceIdentifierRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline ActivateDeviceIdentifierRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetDeviceIdentifierArn() const{ return m_deviceIdentifierArn; }
57 inline bool DeviceIdentifierArnHasBeenSet() const { return m_deviceIdentifierArnHasBeenSet; }
58 inline void SetDeviceIdentifierArn(const Aws::String& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = value; }
59 inline void SetDeviceIdentifierArn(Aws::String&& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = std::move(value); }
60 inline void SetDeviceIdentifierArn(const char* value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn.assign(value); }
63 inline ActivateDeviceIdentifierRequest& WithDeviceIdentifierArn(const char* value) { SetDeviceIdentifierArn(value); return *this;}
65 private:
66
67 Aws::String m_clientToken;
68 bool m_clientTokenHasBeenSet = false;
69
70 Aws::String m_deviceIdentifierArn;
71 bool m_deviceIdentifierArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PrivateNetworks
76} // namespace Aws
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
ActivateDeviceIdentifierRequest & WithDeviceIdentifierArn(Aws::String &&value)
ActivateDeviceIdentifierRequest & WithClientToken(const char *value)
ActivateDeviceIdentifierRequest & WithDeviceIdentifierArn(const char *value)
ActivateDeviceIdentifierRequest & WithDeviceIdentifierArn(const Aws::String &value)
ActivateDeviceIdentifierRequest & WithClientToken(Aws::String &&value)
ActivateDeviceIdentifierRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String