AWS SDK for C++  1.9.45
AWS SDK for C++
StartDeviceSyncRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AlexaForBusiness
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 "StartDeviceSync"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
44 
49  inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
50 
55  inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
56 
61  inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
62 
67  inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
68 
73  inline StartDeviceSyncRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
74 
79  inline StartDeviceSyncRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
80 
85  inline StartDeviceSyncRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
86 
87 
91  inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
92 
96  inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
97 
101  inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
102 
106  inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
107 
111  inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
112 
116  inline StartDeviceSyncRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
117 
121  inline StartDeviceSyncRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
122 
126  inline StartDeviceSyncRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
127 
128 
132  inline const Aws::Vector<Feature>& GetFeatures() const{ return m_features; }
133 
137  inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
138 
142  inline void SetFeatures(const Aws::Vector<Feature>& value) { m_featuresHasBeenSet = true; m_features = value; }
143 
147  inline void SetFeatures(Aws::Vector<Feature>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
148 
152  inline StartDeviceSyncRequest& WithFeatures(const Aws::Vector<Feature>& value) { SetFeatures(value); return *this;}
153 
157  inline StartDeviceSyncRequest& WithFeatures(Aws::Vector<Feature>&& value) { SetFeatures(std::move(value)); return *this;}
158 
162  inline StartDeviceSyncRequest& AddFeatures(const Feature& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
163 
167  inline StartDeviceSyncRequest& AddFeatures(Feature&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
168 
169  private:
170 
171  Aws::String m_roomArn;
172  bool m_roomArnHasBeenSet;
173 
174  Aws::String m_deviceArn;
175  bool m_deviceArnHasBeenSet;
176 
177  Aws::Vector<Feature> m_features;
178  bool m_featuresHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace AlexaForBusiness
183 } // namespace Aws
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithRoomArn
StartDeviceSyncRequest & WithRoomArn(const char *value)
Definition: StartDeviceSyncRequest.h:85
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetFeatures
void SetFeatures(const Aws::Vector< Feature > &value)
Definition: StartDeviceSyncRequest.h:142
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithRoomArn
StartDeviceSyncRequest & WithRoomArn(const Aws::String &value)
Definition: StartDeviceSyncRequest.h:73
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest
Definition: StartDeviceSyncRequest.h:24
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::AddFeatures
StartDeviceSyncRequest & AddFeatures(Feature &&value)
Definition: StartDeviceSyncRequest.h:167
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::GetFeatures
const Aws::Vector< Feature > & GetFeatures() const
Definition: StartDeviceSyncRequest.h:132
Aws::AlexaForBusiness::Model::Feature
Feature
Definition: Feature.h:17
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithDeviceArn
StartDeviceSyncRequest & WithDeviceArn(const char *value)
Definition: StartDeviceSyncRequest.h:126
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::StartDeviceSyncRequest
StartDeviceSyncRequest()
AWSVector.h
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::GetRoomArn
const Aws::String & GetRoomArn() const
Definition: StartDeviceSyncRequest.h:43
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetDeviceArn
void SetDeviceArn(Aws::String &&value)
Definition: StartDeviceSyncRequest.h:106
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetDeviceArn
void SetDeviceArn(const Aws::String &value)
Definition: StartDeviceSyncRequest.h:101
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithFeatures
StartDeviceSyncRequest & WithFeatures(Aws::Vector< Feature > &&value)
Definition: StartDeviceSyncRequest.h:157
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetRoomArn
void SetRoomArn(const Aws::String &value)
Definition: StartDeviceSyncRequest.h:55
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::RoomArnHasBeenSet
bool RoomArnHasBeenSet() const
Definition: StartDeviceSyncRequest.h:49
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithDeviceArn
StartDeviceSyncRequest & WithDeviceArn(const Aws::String &value)
Definition: StartDeviceSyncRequest.h:116
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDeviceSyncRequest.h:32
AWSString.h
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetDeviceArn
void SetDeviceArn(const char *value)
Definition: StartDeviceSyncRequest.h:111
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::FeaturesHasBeenSet
bool FeaturesHasBeenSet() const
Definition: StartDeviceSyncRequest.h:137
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetRoomArn
void SetRoomArn(const char *value)
Definition: StartDeviceSyncRequest.h:67
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::GetDeviceArn
const Aws::String & GetDeviceArn() const
Definition: StartDeviceSyncRequest.h:91
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetFeatures
void SetFeatures(Aws::Vector< Feature > &&value)
Definition: StartDeviceSyncRequest.h:147
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::DeviceArnHasBeenSet
bool DeviceArnHasBeenSet() const
Definition: StartDeviceSyncRequest.h:96
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithFeatures
StartDeviceSyncRequest & WithFeatures(const Aws::Vector< Feature > &value)
Definition: StartDeviceSyncRequest.h:152
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::SetRoomArn
void SetRoomArn(Aws::String &&value)
Definition: StartDeviceSyncRequest.h:61
Feature.h
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithDeviceArn
StartDeviceSyncRequest & WithDeviceArn(Aws::String &&value)
Definition: StartDeviceSyncRequest.h:121
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::WithRoomArn
StartDeviceSyncRequest & WithRoomArn(Aws::String &&value)
Definition: StartDeviceSyncRequest.h:79
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::StartDeviceSyncRequest::AddFeatures
StartDeviceSyncRequest & AddFeatures(const Feature &value)
Definition: StartDeviceSyncRequest.h:162