AWS SDK for C++  1.9.108
AWS SDK for C++
ListClientDevicesAssociatedWithCoreDeviceResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GreengrassV2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<AssociatedClientDevice>& GetAssociatedClientDevices() const{ return m_associatedClientDevices; }
42 
47  inline void SetAssociatedClientDevices(const Aws::Vector<AssociatedClientDevice>& value) { m_associatedClientDevices = value; }
48 
53  inline void SetAssociatedClientDevices(Aws::Vector<AssociatedClientDevice>&& value) { m_associatedClientDevices = std::move(value); }
54 
59  inline ListClientDevicesAssociatedWithCoreDeviceResult& WithAssociatedClientDevices(const Aws::Vector<AssociatedClientDevice>& value) { SetAssociatedClientDevices(value); return *this;}
60 
65  inline ListClientDevicesAssociatedWithCoreDeviceResult& WithAssociatedClientDevices(Aws::Vector<AssociatedClientDevice>&& value) { SetAssociatedClientDevices(std::move(value)); return *this;}
66 
71  inline ListClientDevicesAssociatedWithCoreDeviceResult& AddAssociatedClientDevices(const AssociatedClientDevice& value) { m_associatedClientDevices.push_back(value); return *this; }
72 
77  inline ListClientDevicesAssociatedWithCoreDeviceResult& AddAssociatedClientDevices(AssociatedClientDevice&& value) { m_associatedClientDevices.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListClientDevicesAssociatedWithCoreDeviceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListClientDevicesAssociatedWithCoreDeviceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListClientDevicesAssociatedWithCoreDeviceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<AssociatedClientDevice> m_associatedClientDevices;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace GreengrassV2
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:102
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::GetAssociatedClientDevices
const Aws::Vector< AssociatedClientDevice > & GetAssociatedClientDevices() const
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:41
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:84
AssociatedClientDevice.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::WithNextToken
ListClientDevicesAssociatedWithCoreDeviceResult & WithNextToken(Aws::String &&value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::AddAssociatedClientDevices
ListClientDevicesAssociatedWithCoreDeviceResult & AddAssociatedClientDevices(const AssociatedClientDevice &value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:71
AWSVector.h
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:30
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::SetAssociatedClientDevices
void SetAssociatedClientDevices(const Aws::Vector< AssociatedClientDevice > &value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:47
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::AddAssociatedClientDevices
ListClientDevicesAssociatedWithCoreDeviceResult & AddAssociatedClientDevices(AssociatedClientDevice &&value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:77
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::WithNextToken
ListClientDevicesAssociatedWithCoreDeviceResult & WithNextToken(const char *value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:120
AWSString.h
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:96
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::ListClientDevicesAssociatedWithCoreDeviceResult
ListClientDevicesAssociatedWithCoreDeviceResult()
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::SetAssociatedClientDevices
void SetAssociatedClientDevices(Aws::Vector< AssociatedClientDevice > &&value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:53
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::AssociatedClientDevice
Definition: AssociatedClientDevice.h:34
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::WithAssociatedClientDevices
ListClientDevicesAssociatedWithCoreDeviceResult & WithAssociatedClientDevices(Aws::Vector< AssociatedClientDevice > &&value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:65
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::WithAssociatedClientDevices
ListClientDevicesAssociatedWithCoreDeviceResult & WithAssociatedClientDevices(const Aws::Vector< AssociatedClientDevice > &value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:59
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::WithNextToken
ListClientDevicesAssociatedWithCoreDeviceResult & WithNextToken(const Aws::String &value)
Definition: ListClientDevicesAssociatedWithCoreDeviceResult.h:108
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::ListClientDevicesAssociatedWithCoreDeviceResult
ListClientDevicesAssociatedWithCoreDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::ListClientDevicesAssociatedWithCoreDeviceResult::operator=
ListClientDevicesAssociatedWithCoreDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)