AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateTrafficDistributionRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/TelephonyConfig.h>
11#include <aws/connect/model/SignInConfig.h>
12#include <aws/connect/model/AgentConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECT_API UpdateTrafficDistributionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateTrafficDistribution"; }
34
35 AWS_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 UpdateTrafficDistributionRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const TelephonyConfig& GetTelephonyConfig() const { return m_telephonyConfig; }
58 inline bool TelephonyConfigHasBeenSet() const { return m_telephonyConfigHasBeenSet; }
59 template<typename TelephonyConfigT = TelephonyConfig>
60 void SetTelephonyConfig(TelephonyConfigT&& value) { m_telephonyConfigHasBeenSet = true; m_telephonyConfig = std::forward<TelephonyConfigT>(value); }
61 template<typename TelephonyConfigT = TelephonyConfig>
62 UpdateTrafficDistributionRequest& WithTelephonyConfig(TelephonyConfigT&& value) { SetTelephonyConfig(std::forward<TelephonyConfigT>(value)); return *this;}
64
66
70 inline const SignInConfig& GetSignInConfig() const { return m_signInConfig; }
71 inline bool SignInConfigHasBeenSet() const { return m_signInConfigHasBeenSet; }
72 template<typename SignInConfigT = SignInConfig>
73 void SetSignInConfig(SignInConfigT&& value) { m_signInConfigHasBeenSet = true; m_signInConfig = std::forward<SignInConfigT>(value); }
74 template<typename SignInConfigT = SignInConfig>
75 UpdateTrafficDistributionRequest& WithSignInConfig(SignInConfigT&& value) { SetSignInConfig(std::forward<SignInConfigT>(value)); return *this;}
77
79
82 inline const AgentConfig& GetAgentConfig() const { return m_agentConfig; }
83 inline bool AgentConfigHasBeenSet() const { return m_agentConfigHasBeenSet; }
84 template<typename AgentConfigT = AgentConfig>
85 void SetAgentConfig(AgentConfigT&& value) { m_agentConfigHasBeenSet = true; m_agentConfig = std::forward<AgentConfigT>(value); }
86 template<typename AgentConfigT = AgentConfig>
87 UpdateTrafficDistributionRequest& WithAgentConfig(AgentConfigT&& value) { SetAgentConfig(std::forward<AgentConfigT>(value)); return *this;}
89 private:
90
91 Aws::String m_id;
92 bool m_idHasBeenSet = false;
93
94 TelephonyConfig m_telephonyConfig;
95 bool m_telephonyConfigHasBeenSet = false;
96
97 SignInConfig m_signInConfig;
98 bool m_signInConfigHasBeenSet = false;
99
100 AgentConfig m_agentConfig;
101 bool m_agentConfigHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Connect
106} // 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