AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
RegisterAccountAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoTManagedIntegrations {
15namespace Model {
16
20 public:
21 AWS_IOTMANAGEDINTEGRATIONS_API RegisterAccountAssociationRequest() = 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 "RegisterAccountAssociation"; }
28
29 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
37 inline bool ManagedThingIdHasBeenSet() const { return m_managedThingIdHasBeenSet; }
38 template <typename ManagedThingIdT = Aws::String>
39 void SetManagedThingId(ManagedThingIdT&& value) {
40 m_managedThingIdHasBeenSet = true;
41 m_managedThingId = std::forward<ManagedThingIdT>(value);
42 }
43 template <typename ManagedThingIdT = Aws::String>
45 SetManagedThingId(std::forward<ManagedThingIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
56 inline bool AccountAssociationIdHasBeenSet() const { return m_accountAssociationIdHasBeenSet; }
57 template <typename AccountAssociationIdT = Aws::String>
58 void SetAccountAssociationId(AccountAssociationIdT&& value) {
59 m_accountAssociationIdHasBeenSet = true;
60 m_accountAssociationId = std::forward<AccountAssociationIdT>(value);
61 }
62 template <typename AccountAssociationIdT = Aws::String>
64 SetAccountAssociationId(std::forward<AccountAssociationIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetDeviceDiscoveryId() const { return m_deviceDiscoveryId; }
75 inline bool DeviceDiscoveryIdHasBeenSet() const { return m_deviceDiscoveryIdHasBeenSet; }
76 template <typename DeviceDiscoveryIdT = Aws::String>
77 void SetDeviceDiscoveryId(DeviceDiscoveryIdT&& value) {
78 m_deviceDiscoveryIdHasBeenSet = true;
79 m_deviceDiscoveryId = std::forward<DeviceDiscoveryIdT>(value);
80 }
81 template <typename DeviceDiscoveryIdT = Aws::String>
83 SetDeviceDiscoveryId(std::forward<DeviceDiscoveryIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_managedThingId;
89
90 Aws::String m_accountAssociationId;
91
92 Aws::String m_deviceDiscoveryId;
93 bool m_managedThingIdHasBeenSet = false;
94 bool m_accountAssociationIdHasBeenSet = false;
95 bool m_deviceDiscoveryIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace IoTManagedIntegrations
100} // 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