AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetTrafficDistributionResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TelephonyConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/SignInConfig.h>
11#include <aws/connect/model/AgentConfig.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CONNECT_API GetTrafficDistributionResult() = default;
36
37
39
42 inline const TelephonyConfig& GetTelephonyConfig() const { return m_telephonyConfig; }
43 template<typename TelephonyConfigT = TelephonyConfig>
44 void SetTelephonyConfig(TelephonyConfigT&& value) { m_telephonyConfigHasBeenSet = true; m_telephonyConfig = std::forward<TelephonyConfigT>(value); }
45 template<typename TelephonyConfigT = TelephonyConfig>
46 GetTrafficDistributionResult& WithTelephonyConfig(TelephonyConfigT&& value) { SetTelephonyConfig(std::forward<TelephonyConfigT>(value)); return *this;}
48
50
56 inline const Aws::String& GetId() const { return m_id; }
57 template<typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
59 template<typename IdT = Aws::String>
60 GetTrafficDistributionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetArn() const { return m_arn; }
68 template<typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
70 template<typename ArnT = Aws::String>
71 GetTrafficDistributionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
73
75
79 inline const SignInConfig& GetSignInConfig() const { return m_signInConfig; }
80 template<typename SignInConfigT = SignInConfig>
81 void SetSignInConfig(SignInConfigT&& value) { m_signInConfigHasBeenSet = true; m_signInConfig = std::forward<SignInConfigT>(value); }
82 template<typename SignInConfigT = SignInConfig>
83 GetTrafficDistributionResult& WithSignInConfig(SignInConfigT&& value) { SetSignInConfig(std::forward<SignInConfigT>(value)); return *this;}
85
87
90 inline const AgentConfig& GetAgentConfig() const { return m_agentConfig; }
91 template<typename AgentConfigT = AgentConfig>
92 void SetAgentConfig(AgentConfigT&& value) { m_agentConfigHasBeenSet = true; m_agentConfig = std::forward<AgentConfigT>(value); }
93 template<typename AgentConfigT = AgentConfig>
94 GetTrafficDistributionResult& WithAgentConfig(AgentConfigT&& value) { SetAgentConfig(std::forward<AgentConfigT>(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template<typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
102 template<typename RequestIdT = Aws::String>
103 GetTrafficDistributionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
105 private:
106
107 TelephonyConfig m_telephonyConfig;
108 bool m_telephonyConfigHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 SignInConfig m_signInConfig;
117 bool m_signInConfigHasBeenSet = false;
118
119 AgentConfig m_agentConfig;
120 bool m_agentConfigHasBeenSet = false;
121
122 Aws::String m_requestId;
123 bool m_requestIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
GetTrafficDistributionResult & WithRequestId(RequestIdT &&value)
GetTrafficDistributionResult & WithId(IdT &&value)
GetTrafficDistributionResult & WithAgentConfig(AgentConfigT &&value)
AWS_CONNECT_API GetTrafficDistributionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrafficDistributionResult & WithTelephonyConfig(TelephonyConfigT &&value)
GetTrafficDistributionResult & WithSignInConfig(SignInConfigT &&value)
AWS_CONNECT_API GetTrafficDistributionResult()=default
GetTrafficDistributionResult & WithArn(ArnT &&value)
AWS_CONNECT_API GetTrafficDistributionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue