AWS SDK for C++  1.9.129
AWS SDK for C++
BatchAssociateClientDeviceWithCoreDeviceRequest.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 "BatchAssociateClientDeviceWithCoreDevice"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::Vector<AssociateClientDeviceWithCoreDeviceEntry>& GetEntries() const{ return m_entries; }
41 
45  inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
46 
50  inline void SetEntries(const Aws::Vector<AssociateClientDeviceWithCoreDeviceEntry>& value) { m_entriesHasBeenSet = true; m_entries = value; }
51 
55  inline void SetEntries(Aws::Vector<AssociateClientDeviceWithCoreDeviceEntry>&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); }
56 
61 
66 
70  inline BatchAssociateClientDeviceWithCoreDeviceRequest& AddEntries(const AssociateClientDeviceWithCoreDeviceEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; }
71 
75  inline BatchAssociateClientDeviceWithCoreDeviceRequest& AddEntries(AssociateClientDeviceWithCoreDeviceEntry&& 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 BatchAssociateClientDeviceWithCoreDeviceRequest& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;}
107 
111  inline BatchAssociateClientDeviceWithCoreDeviceRequest& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;}
112 
116  inline BatchAssociateClientDeviceWithCoreDeviceRequest& 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::BatchAssociateClientDeviceWithCoreDeviceRequest::BatchAssociateClientDeviceWithCoreDeviceRequest
BatchAssociateClientDeviceWithCoreDeviceRequest()
AssociateClientDeviceWithCoreDeviceEntry.h
GreengrassV2Request.h
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:34
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::AddEntries
BatchAssociateClientDeviceWithCoreDeviceRequest & AddEntries(AssociateClientDeviceWithCoreDeviceEntry &&value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:75
GreengrassV2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const char *value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:101
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::WithCoreDeviceThingName
BatchAssociateClientDeviceWithCoreDeviceRequest & WithCoreDeviceThingName(Aws::String &&value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:111
AWSVector.h
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::CoreDeviceThingNameHasBeenSet
bool CoreDeviceThingNameHasBeenSet() const
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:86
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const Aws::String &value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:91
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SetEntries
void SetEntries(Aws::Vector< AssociateClientDeviceWithCoreDeviceEntry > &&value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:55
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(Aws::String &&value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:96
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::AddEntries
BatchAssociateClientDeviceWithCoreDeviceRequest & AddEntries(const AssociateClientDeviceWithCoreDeviceEntry &value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:70
Aws::GreengrassV2::GreengrassV2Request
Definition: GreengrassV2Request.h:17
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::EntriesHasBeenSet
bool EntriesHasBeenSet() const
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:45
AWSString.h
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::WithCoreDeviceThingName
BatchAssociateClientDeviceWithCoreDeviceRequest & WithCoreDeviceThingName(const Aws::String &value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:106
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::GetCoreDeviceThingName
const Aws::String & GetCoreDeviceThingName() const
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::GetEntries
const Aws::Vector< AssociateClientDeviceWithCoreDeviceEntry > & GetEntries() const
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:40
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::WithEntries
BatchAssociateClientDeviceWithCoreDeviceRequest & WithEntries(const Aws::Vector< AssociateClientDeviceWithCoreDeviceEntry > &value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:60
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SetEntries
void SetEntries(const Aws::Vector< AssociateClientDeviceWithCoreDeviceEntry > &value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:50
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:24
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::WithEntries
BatchAssociateClientDeviceWithCoreDeviceRequest & WithEntries(Aws::Vector< AssociateClientDeviceWithCoreDeviceEntry > &&value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:65
Aws::GreengrassV2::Model::BatchAssociateClientDeviceWithCoreDeviceRequest::WithCoreDeviceThingName
BatchAssociateClientDeviceWithCoreDeviceRequest & WithCoreDeviceThingName(const char *value)
Definition: BatchAssociateClientDeviceWithCoreDeviceRequest.h:116