AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const TelephonyConfig& GetTelephonyConfig() const{ return m_telephonyConfig; }
43 inline void SetTelephonyConfig(const TelephonyConfig& value) { m_telephonyConfig = value; }
44 inline void SetTelephonyConfig(TelephonyConfig&& value) { m_telephonyConfig = std::move(value); }
46 inline GetTrafficDistributionResult& WithTelephonyConfig(TelephonyConfig&& value) { SetTelephonyConfig(std::move(value)); return *this;}
48
50
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline void SetId(const Aws::String& value) { m_id = value; }
58 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
59 inline void SetId(const char* value) { m_id.assign(value); }
60 inline GetTrafficDistributionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline GetTrafficDistributionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline GetTrafficDistributionResult& WithId(const char* value) { SetId(value); return *this;}
64
66
69 inline const Aws::String& GetArn() const{ return m_arn; }
70 inline void SetArn(const Aws::String& value) { m_arn = value; }
71 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
72 inline void SetArn(const char* value) { m_arn.assign(value); }
73 inline GetTrafficDistributionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 inline GetTrafficDistributionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 inline GetTrafficDistributionResult& WithArn(const char* value) { SetArn(value); return *this;}
77
79
83 inline const SignInConfig& GetSignInConfig() const{ return m_signInConfig; }
84 inline void SetSignInConfig(const SignInConfig& value) { m_signInConfig = value; }
85 inline void SetSignInConfig(SignInConfig&& value) { m_signInConfig = std::move(value); }
86 inline GetTrafficDistributionResult& WithSignInConfig(const SignInConfig& value) { SetSignInConfig(value); return *this;}
87 inline GetTrafficDistributionResult& WithSignInConfig(SignInConfig&& value) { SetSignInConfig(std::move(value)); return *this;}
89
91
94 inline const AgentConfig& GetAgentConfig() const{ return m_agentConfig; }
95 inline void SetAgentConfig(const AgentConfig& value) { m_agentConfig = value; }
96 inline void SetAgentConfig(AgentConfig&& value) { m_agentConfig = std::move(value); }
97 inline GetTrafficDistributionResult& WithAgentConfig(const AgentConfig& value) { SetAgentConfig(value); return *this;}
98 inline GetTrafficDistributionResult& WithAgentConfig(AgentConfig&& value) { SetAgentConfig(std::move(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline GetTrafficDistributionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline GetTrafficDistributionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline GetTrafficDistributionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 TelephonyConfig m_telephonyConfig;
114
115 Aws::String m_id;
116
117 Aws::String m_arn;
118
119 SignInConfig m_signInConfig;
120
121 AgentConfig m_agentConfig;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
GetTrafficDistributionResult & WithId(Aws::String &&value)
GetTrafficDistributionResult & WithTelephonyConfig(TelephonyConfig &&value)
GetTrafficDistributionResult & WithRequestId(const char *value)
GetTrafficDistributionResult & WithRequestId(Aws::String &&value)
GetTrafficDistributionResult & WithTelephonyConfig(const TelephonyConfig &value)
GetTrafficDistributionResult & WithArn(const Aws::String &value)
GetTrafficDistributionResult & WithArn(Aws::String &&value)
GetTrafficDistributionResult & WithAgentConfig(AgentConfig &&value)
AWS_CONNECT_API GetTrafficDistributionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrafficDistributionResult & WithRequestId(const Aws::String &value)
GetTrafficDistributionResult & WithId(const Aws::String &value)
GetTrafficDistributionResult & WithArn(const char *value)
GetTrafficDistributionResult & WithSignInConfig(const SignInConfig &value)
GetTrafficDistributionResult & WithAgentConfig(const AgentConfig &value)
GetTrafficDistributionResult & WithId(const char *value)
GetTrafficDistributionResult & WithSignInConfig(SignInConfig &&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