AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline UpdateTrafficDistributionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline UpdateTrafficDistributionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline UpdateTrafficDistributionRequest& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const TelephonyConfig& GetTelephonyConfig() const{ return m_telephonyConfig; }
60 inline bool TelephonyConfigHasBeenSet() const { return m_telephonyConfigHasBeenSet; }
61 inline void SetTelephonyConfig(const TelephonyConfig& value) { m_telephonyConfigHasBeenSet = true; m_telephonyConfig = value; }
62 inline void SetTelephonyConfig(TelephonyConfig&& value) { m_telephonyConfigHasBeenSet = true; m_telephonyConfig = std::move(value); }
66
68
72 inline const SignInConfig& GetSignInConfig() const{ return m_signInConfig; }
73 inline bool SignInConfigHasBeenSet() const { return m_signInConfigHasBeenSet; }
74 inline void SetSignInConfig(const SignInConfig& value) { m_signInConfigHasBeenSet = true; m_signInConfig = value; }
75 inline void SetSignInConfig(SignInConfig&& value) { m_signInConfigHasBeenSet = true; m_signInConfig = std::move(value); }
77 inline UpdateTrafficDistributionRequest& WithSignInConfig(SignInConfig&& value) { SetSignInConfig(std::move(value)); return *this;}
79
81
84 inline const AgentConfig& GetAgentConfig() const{ return m_agentConfig; }
85 inline bool AgentConfigHasBeenSet() const { return m_agentConfigHasBeenSet; }
86 inline void SetAgentConfig(const AgentConfig& value) { m_agentConfigHasBeenSet = true; m_agentConfig = value; }
87 inline void SetAgentConfig(AgentConfig&& value) { m_agentConfigHasBeenSet = true; m_agentConfig = std::move(value); }
88 inline UpdateTrafficDistributionRequest& WithAgentConfig(const AgentConfig& value) { SetAgentConfig(value); return *this;}
89 inline UpdateTrafficDistributionRequest& WithAgentConfig(AgentConfig&& value) { SetAgentConfig(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 TelephonyConfig m_telephonyConfig;
97 bool m_telephonyConfigHasBeenSet = false;
98
99 SignInConfig m_signInConfig;
100 bool m_signInConfigHasBeenSet = false;
101
102 AgentConfig m_agentConfig;
103 bool m_agentConfigHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Connect
108} // namespace Aws
UpdateTrafficDistributionRequest & WithSignInConfig(SignInConfig &&value)
UpdateTrafficDistributionRequest & WithId(Aws::String &&value)
UpdateTrafficDistributionRequest & WithTelephonyConfig(TelephonyConfig &&value)
UpdateTrafficDistributionRequest & WithAgentConfig(AgentConfig &&value)
UpdateTrafficDistributionRequest & WithSignInConfig(const SignInConfig &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateTrafficDistributionRequest & WithAgentConfig(const AgentConfig &value)
UpdateTrafficDistributionRequest & WithId(const Aws::String &value)
UpdateTrafficDistributionRequest & WithId(const char *value)
UpdateTrafficDistributionRequest & WithTelephonyConfig(const TelephonyConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String