AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateTrafficDistributionRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/AgentConfig.h>
10#include <aws/connect/model/SignInConfig.h>
11#include <aws/connect/model/TelephonyConfig.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Connect {
18namespace Model {
19
23 public:
24 AWS_CONNECT_API UpdateTrafficDistributionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateTrafficDistribution"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
35
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const TelephonyConfig& GetTelephonyConfig() const { return m_telephonyConfig; }
60 inline bool TelephonyConfigHasBeenSet() const { return m_telephonyConfigHasBeenSet; }
61 template <typename TelephonyConfigT = TelephonyConfig>
62 void SetTelephonyConfig(TelephonyConfigT&& value) {
63 m_telephonyConfigHasBeenSet = true;
64 m_telephonyConfig = std::forward<TelephonyConfigT>(value);
65 }
66 template <typename TelephonyConfigT = TelephonyConfig>
68 SetTelephonyConfig(std::forward<TelephonyConfigT>(value));
69 return *this;
70 }
72
74
78 inline const SignInConfig& GetSignInConfig() const { return m_signInConfig; }
79 inline bool SignInConfigHasBeenSet() const { return m_signInConfigHasBeenSet; }
80 template <typename SignInConfigT = SignInConfig>
81 void SetSignInConfig(SignInConfigT&& value) {
82 m_signInConfigHasBeenSet = true;
83 m_signInConfig = std::forward<SignInConfigT>(value);
84 }
85 template <typename SignInConfigT = SignInConfig>
87 SetSignInConfig(std::forward<SignInConfigT>(value));
88 return *this;
89 }
91
93
96 inline const AgentConfig& GetAgentConfig() const { return m_agentConfig; }
97 inline bool AgentConfigHasBeenSet() const { return m_agentConfigHasBeenSet; }
98 template <typename AgentConfigT = AgentConfig>
99 void SetAgentConfig(AgentConfigT&& value) {
100 m_agentConfigHasBeenSet = true;
101 m_agentConfig = std::forward<AgentConfigT>(value);
102 }
103 template <typename AgentConfigT = AgentConfig>
105 SetAgentConfig(std::forward<AgentConfigT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_id;
111
112 TelephonyConfig m_telephonyConfig;
113
114 SignInConfig m_signInConfig;
115
116 AgentConfig m_agentConfig;
117 bool m_idHasBeenSet = false;
118 bool m_telephonyConfigHasBeenSet = false;
119 bool m_signInConfigHasBeenSet = false;
120 bool m_agentConfigHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Connect
125} // namespace Aws
UpdateTrafficDistributionRequest & WithSignInConfig(SignInConfigT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateTrafficDistributionRequest & WithTelephonyConfig(TelephonyConfigT &&value)
AWS_CONNECT_API UpdateTrafficDistributionRequest()=default
UpdateTrafficDistributionRequest & WithAgentConfig(AgentConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String