AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
RegisterAccountAssociationRequest.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTManagedIntegrations
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTMANAGEDINTEGRATIONS_API RegisterAccountAssociationRequest() = 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 "RegisterAccountAssociation"; }
31
32 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
41 inline bool ManagedThingIdHasBeenSet() const { return m_managedThingIdHasBeenSet; }
42 template<typename ManagedThingIdT = Aws::String>
43 void SetManagedThingId(ManagedThingIdT&& value) { m_managedThingIdHasBeenSet = true; m_managedThingId = std::forward<ManagedThingIdT>(value); }
44 template<typename ManagedThingIdT = Aws::String>
45 RegisterAccountAssociationRequest& WithManagedThingId(ManagedThingIdT&& value) { SetManagedThingId(std::forward<ManagedThingIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
54 inline bool AccountAssociationIdHasBeenSet() const { return m_accountAssociationIdHasBeenSet; }
55 template<typename AccountAssociationIdT = Aws::String>
56 void SetAccountAssociationId(AccountAssociationIdT&& value) { m_accountAssociationIdHasBeenSet = true; m_accountAssociationId = std::forward<AccountAssociationIdT>(value); }
57 template<typename AccountAssociationIdT = Aws::String>
58 RegisterAccountAssociationRequest& WithAccountAssociationId(AccountAssociationIdT&& value) { SetAccountAssociationId(std::forward<AccountAssociationIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetDeviceDiscoveryId() const { return m_deviceDiscoveryId; }
67 inline bool DeviceDiscoveryIdHasBeenSet() const { return m_deviceDiscoveryIdHasBeenSet; }
68 template<typename DeviceDiscoveryIdT = Aws::String>
69 void SetDeviceDiscoveryId(DeviceDiscoveryIdT&& value) { m_deviceDiscoveryIdHasBeenSet = true; m_deviceDiscoveryId = std::forward<DeviceDiscoveryIdT>(value); }
70 template<typename DeviceDiscoveryIdT = Aws::String>
71 RegisterAccountAssociationRequest& WithDeviceDiscoveryId(DeviceDiscoveryIdT&& value) { SetDeviceDiscoveryId(std::forward<DeviceDiscoveryIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_managedThingId;
76 bool m_managedThingIdHasBeenSet = false;
77
78 Aws::String m_accountAssociationId;
79 bool m_accountAssociationIdHasBeenSet = false;
80
81 Aws::String m_deviceDiscoveryId;
82 bool m_deviceDiscoveryIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace IoTManagedIntegrations
87} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API RegisterAccountAssociationRequest()=default
RegisterAccountAssociationRequest & WithManagedThingId(ManagedThingIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
RegisterAccountAssociationRequest & WithDeviceDiscoveryId(DeviceDiscoveryIdT &&value)
RegisterAccountAssociationRequest & WithAccountAssociationId(AccountAssociationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String