AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
EndpointModificationData.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ENDPOINTS_ENDPOINTMODIFICATIONDATA_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ENDPOINTS_ENDPOINTMODIFICATIONDATA_H_
18 
19 #include <list>
20 #include <memory>
21 #include <vector>
22 
29 
30 namespace alexaClientSDK {
31 namespace avsCommon {
32 namespace sdkInterfaces {
33 namespace endpoints {
34 
41 
46 
48  std::vector<avs::CapabilityConfiguration> updatedConfigurations;
49 
51  std::vector<std::pair<avs::CapabilityConfiguration, std::shared_ptr<DirectiveHandlerInterface>>> capabilitiesToAdd;
52 
54  std::vector<avs::CapabilityConfiguration> capabilitiesToRemove;
55 
58  std::list<std::shared_ptr<avsCommon::utils::RequiresShutdown>> capabilitiesToShutDown;
59 
61  const EndpointIdentifier& endpointIdentifier,
63  const std::vector<avs::CapabilityConfiguration>& updatedConfigurations,
64  const std::vector<std::pair<avs::CapabilityConfiguration, std::shared_ptr<DirectiveHandlerInterface>>>&
65  capabilitiesToAdd,
66  const std::vector<avs::CapabilityConfiguration>& capabilitiesToRemove,
67  const std::list<std::shared_ptr<avsCommon::utils::RequiresShutdown>>& capabilitiesToShutDown) :
68  endpointIdentifier(endpointIdentifier),
69  updatedEndpointAttributes(updatedEndpointAttributes),
70  updatedConfigurations(updatedConfigurations),
71  capabilitiesToAdd(capabilitiesToAdd),
72  capabilitiesToRemove(capabilitiesToRemove),
73  capabilitiesToShutDown(capabilitiesToShutDown) {
74  }
75 };
76 
77 } // namespace endpoints
78 } // namespace sdkInterfaces
79 } // namespace avsCommon
80 } // namespace alexaClientSDK
81 
82 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ENDPOINTS_ENDPOINTMODIFICATIONDATA_H_
utils::Optional< avs::AVSDiscoveryEndpointAttributes > updatedEndpointAttributes
Definition: EndpointModificationData.h:45
std::vector< avs::CapabilityConfiguration > capabilitiesToRemove
The list of capabilities needed to remove.
Definition: EndpointModificationData.h:54
EndpointModificationData(const EndpointIdentifier &endpointIdentifier, utils::Optional< avs::AVSDiscoveryEndpointAttributes > updatedEndpointAttributes, const std::vector< avs::CapabilityConfiguration > &updatedConfigurations, const std::vector< std::pair< avs::CapabilityConfiguration, std::shared_ptr< DirectiveHandlerInterface >>> &capabilitiesToAdd, const std::vector< avs::CapabilityConfiguration > &capabilitiesToRemove, const std::list< std::shared_ptr< avsCommon::utils::RequiresShutdown >> &capabilitiesToShutDown)
Definition: EndpointModificationData.h:60
std::list< std::shared_ptr< avsCommon::utils::RequiresShutdown > > capabilitiesToShutDown
Definition: EndpointModificationData.h:58
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::vector< std::pair< avs::CapabilityConfiguration, std::shared_ptr< DirectiveHandlerInterface > > > capabilitiesToAdd
The list of capabilities needed to add.
Definition: EndpointModificationData.h:51
EndpointIdentifier endpointIdentifier
The EndpointIdentifier of the given endpoint.
Definition: EndpointModificationData.h:40
std::vector< avs::CapabilityConfiguration > updatedConfigurations
The list of modified existing CapabilityConfiguration.
Definition: EndpointModificationData.h:48
std::string EndpointIdentifier
Definition: EndpointIdentifier.h:38
Definition: CapabilityConfiguration.h:42

AlexaClientSDK 1.26.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0