AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateGlobalSettingsRequest.h
1
6#pragma once
7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/chime/model/BusinessCallingSettings.h>
10#include <aws/chime/model/VoiceConnectorSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Chime {
16namespace Model {
17
21 public:
22 AWS_CHIME_API UpdateGlobalSettingsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalSettings"; }
29
30 AWS_CHIME_API Aws::String SerializePayload() const override;
31
33
36 inline const BusinessCallingSettings& GetBusinessCalling() const { return m_businessCalling; }
37 inline bool BusinessCallingHasBeenSet() const { return m_businessCallingHasBeenSet; }
38 template <typename BusinessCallingT = BusinessCallingSettings>
39 void SetBusinessCalling(BusinessCallingT&& value) {
40 m_businessCallingHasBeenSet = true;
41 m_businessCalling = std::forward<BusinessCallingT>(value);
42 }
43 template <typename BusinessCallingT = BusinessCallingSettings>
45 SetBusinessCalling(std::forward<BusinessCallingT>(value));
46 return *this;
47 }
49
51
54 inline const VoiceConnectorSettings& GetVoiceConnector() const { return m_voiceConnector; }
55 inline bool VoiceConnectorHasBeenSet() const { return m_voiceConnectorHasBeenSet; }
56 template <typename VoiceConnectorT = VoiceConnectorSettings>
57 void SetVoiceConnector(VoiceConnectorT&& value) {
58 m_voiceConnectorHasBeenSet = true;
59 m_voiceConnector = std::forward<VoiceConnectorT>(value);
60 }
61 template <typename VoiceConnectorT = VoiceConnectorSettings>
63 SetVoiceConnector(std::forward<VoiceConnectorT>(value));
64 return *this;
65 }
67 private:
68 BusinessCallingSettings m_businessCalling;
69
70 VoiceConnectorSettings m_voiceConnector;
71 bool m_businessCallingHasBeenSet = false;
72 bool m_voiceConnectorHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Chime
77} // namespace Aws
AWS_CHIME_API Aws::String SerializePayload() const override
const BusinessCallingSettings & GetBusinessCalling() const
AWS_CHIME_API UpdateGlobalSettingsRequest()=default
UpdateGlobalSettingsRequest & WithBusinessCalling(BusinessCallingT &&value)
UpdateGlobalSettingsRequest & WithVoiceConnector(VoiceConnectorT &&value)
const VoiceConnectorSettings & GetVoiceConnector() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String