AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
UpdateUserPhoneConfigRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UserPhoneConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API UpdateUserPhoneConfigRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserPhoneConfig"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const UserPhoneConfig& GetPhoneConfig() const { return m_phoneConfig; }
37 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
38 template <typename PhoneConfigT = UserPhoneConfig>
39 void SetPhoneConfig(PhoneConfigT&& value) {
40 m_phoneConfigHasBeenSet = true;
41 m_phoneConfig = std::forward<PhoneConfigT>(value);
42 }
43 template <typename PhoneConfigT = UserPhoneConfig>
45 SetPhoneConfig(std::forward<PhoneConfigT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUserId() const { return m_userId; }
55 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
56 template <typename UserIdT = Aws::String>
57 void SetUserId(UserIdT&& value) {
58 m_userIdHasBeenSet = true;
59 m_userId = std::forward<UserIdT>(value);
60 }
61 template <typename UserIdT = Aws::String>
63 SetUserId(std::forward<UserIdT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
75 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
76 template <typename InstanceIdT = Aws::String>
77 void SetInstanceId(InstanceIdT&& value) {
78 m_instanceIdHasBeenSet = true;
79 m_instanceId = std::forward<InstanceIdT>(value);
80 }
81 template <typename InstanceIdT = Aws::String>
83 SetInstanceId(std::forward<InstanceIdT>(value));
84 return *this;
85 }
87 private:
88 UserPhoneConfig m_phoneConfig;
89 bool m_phoneConfigHasBeenSet = false;
90
91 Aws::String m_userId;
92 bool m_userIdHasBeenSet = false;
93
94 Aws::String m_instanceId;
95 bool m_instanceIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
AWS_CONNECT_API UpdateUserPhoneConfigRequest()=default
UpdateUserPhoneConfigRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserPhoneConfigRequest & WithUserId(UserIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateUserPhoneConfigRequest & WithPhoneConfig(PhoneConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String