15 #ifndef ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELTYPE_H_ 16 #define ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELTYPE_H_ 25 namespace alexaChannelControllerTypes {
46 static std::unique_ptr<Channel>
Create(
53 if (number.empty() && callSign.empty() && affiliateCallSign.empty() && uri.empty() && name.empty()) {
58 return std::unique_ptr<Channel>(
new Channel(
73 return number.
value();
82 return callSign.
value();
91 return affiliateCallSign.
value();
118 return imageURL.
value();
141 affiliateCallSign{
std::move(affiliateCallSign)},
164 #endif // ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELTYPE_H_
std::string getName() const
Definition: ChannelType.h:108
std::string getNumber() const
Definition: ChannelType.h:72
::std::string string
Definition: gtest-port.h:1097
static std::unique_ptr< Channel > Create(std::string number, std::string callSign, std::string affiliateCallSign, std::string uri, std::string name, std::string imageURL)
Definition: ChannelType.h:46
Definition: ChannelType.h:31
std::string getAffiliateCallSign() const
Definition: ChannelType.h:90
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::string getURI() const
Definition: ChannelType.h:99
void acsdkError(const LogEntry &entry)
std::string getImageURL() const
Definition: ChannelType.h:117
std::string getCallSign() const
Definition: ChannelType.h:81
ValueT value() const
Definition: Optional.h:208
const T & move(const T &t)
Definition: gtest-port.h:1317
LogEntry is used to compile the log entry text to log via Logger.
Definition: LogEntry.h:33