AWS SDK for C++  1.9.123
AWS SDK for C++
BatchDisassociateClientDeviceFromCoreDeviceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace GreengrassV2
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateClientDeviceFromCoreDevice"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::Vector<DisassociateClientDeviceFromCoreDeviceEntry>& GetEntries() const{ return m_entries; }
41 
45  inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
46 
50  inline void SetEntries(const Aws::Vector<DisassociateClientDeviceFromCoreDeviceEntry>& value) { m_entriesHasBeenSet = true; m_entries = value; }
51 
55  inline void SetEntries(Aws::Vector<DisassociateClientDeviceFromCoreDeviceEntry>&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); }
56 
61 
66 
70  inline BatchDisassociateClientDeviceFromCoreDeviceRequest& AddEntries(const DisassociateClientDeviceFromCoreDeviceEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; }
71 
75  inline BatchDisassociateClientDeviceFromCoreDeviceRequest& AddEntries(DisassociateClientDeviceFromCoreDeviceEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; }
76 
77 
81  inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; }
82 
86  inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; }
87 
91  inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; }
92 
96  inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); }
97 
101  inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); }
102 
106  inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;}
107 
111  inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;}
112 
116  inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;}
117 
118  private:
119 
121  bool m_entriesHasBeenSet;
122 
123  Aws::String m_coreDeviceThingName;
124  bool m_coreDeviceThingNameHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace GreengrassV2
129 } // namespace Aws
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::GetEntries
const Aws::Vector< DisassociateClientDeviceFromCoreDeviceEntry > & GetEntries() const
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:40
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SetEntries
void SetEntries(const Aws::Vector< DisassociateClientDeviceFromCoreDeviceEntry > &value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:50
GreengrassV2Request.h
DisassociateClientDeviceFromCoreDeviceEntry.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::GetCoreDeviceThingName
const Aws::String & GetCoreDeviceThingName() const
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::EntriesHasBeenSet
bool EntriesHasBeenSet() const
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:45
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const char *value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:101
AWSVector.h
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:32
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:24
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceEntry
Definition: DisassociateClientDeviceFromCoreDeviceEntry.h:34
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::WithCoreDeviceThingName
BatchDisassociateClientDeviceFromCoreDeviceRequest & WithCoreDeviceThingName(const char *value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:116
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::AddEntries
BatchDisassociateClientDeviceFromCoreDeviceRequest & AddEntries(DisassociateClientDeviceFromCoreDeviceEntry &&value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:75
Aws::GreengrassV2::GreengrassV2Request
Definition: GreengrassV2Request.h:17
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(Aws::String &&value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:96
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::BatchDisassociateClientDeviceFromCoreDeviceRequest
BatchDisassociateClientDeviceFromCoreDeviceRequest()
AWSString.h
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::WithEntries
BatchDisassociateClientDeviceFromCoreDeviceRequest & WithEntries(Aws::Vector< DisassociateClientDeviceFromCoreDeviceEntry > &&value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:65
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SetEntries
void SetEntries(Aws::Vector< DisassociateClientDeviceFromCoreDeviceEntry > &&value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:55
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const Aws::String &value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:91
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::WithCoreDeviceThingName
BatchDisassociateClientDeviceFromCoreDeviceRequest & WithCoreDeviceThingName(Aws::String &&value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::WithCoreDeviceThingName
BatchDisassociateClientDeviceFromCoreDeviceRequest & WithCoreDeviceThingName(const Aws::String &value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:106
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::AddEntries
BatchDisassociateClientDeviceFromCoreDeviceRequest & AddEntries(const DisassociateClientDeviceFromCoreDeviceEntry &value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:70
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::WithEntries
BatchDisassociateClientDeviceFromCoreDeviceRequest & WithEntries(const Aws::Vector< DisassociateClientDeviceFromCoreDeviceEntry > &value)
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:60
Aws::GreengrassV2::Model::BatchDisassociateClientDeviceFromCoreDeviceRequest::CoreDeviceThingNameHasBeenSet
bool CoreDeviceThingNameHasBeenSet() const
Definition: BatchDisassociateClientDeviceFromCoreDeviceRequest.h:86