AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
DeregisterAccountAssociationRequest.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
26 {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API DeregisterAccountAssociationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeregisterAccountAssociation"; }
35
36 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
45 inline bool ManagedThingIdHasBeenSet() const { return m_managedThingIdHasBeenSet; }
46 template<typename ManagedThingIdT = Aws::String>
47 void SetManagedThingId(ManagedThingIdT&& value) { m_managedThingIdHasBeenSet = true; m_managedThingId = std::forward<ManagedThingIdT>(value); }
48 template<typename ManagedThingIdT = Aws::String>
49 DeregisterAccountAssociationRequest& WithManagedThingId(ManagedThingIdT&& value) { SetManagedThingId(std::forward<ManagedThingIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
57 inline bool AccountAssociationIdHasBeenSet() const { return m_accountAssociationIdHasBeenSet; }
58 template<typename AccountAssociationIdT = Aws::String>
59 void SetAccountAssociationId(AccountAssociationIdT&& value) { m_accountAssociationIdHasBeenSet = true; m_accountAssociationId = std::forward<AccountAssociationIdT>(value); }
60 template<typename AccountAssociationIdT = Aws::String>
61 DeregisterAccountAssociationRequest& WithAccountAssociationId(AccountAssociationIdT&& value) { SetAccountAssociationId(std::forward<AccountAssociationIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_managedThingId;
66 bool m_managedThingIdHasBeenSet = false;
67
68 Aws::String m_accountAssociationId;
69 bool m_accountAssociationIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTManagedIntegrations
74} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
DeregisterAccountAssociationRequest & WithAccountAssociationId(AccountAssociationIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API DeregisterAccountAssociationRequest()=default
DeregisterAccountAssociationRequest & WithManagedThingId(ManagedThingIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String