AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserPhoneConfigRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/connect/model/UserPhoneConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserPhoneConfig"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const UserPhoneConfig& GetPhoneConfig() const{ return m_phoneConfig; }
41 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
42 inline void SetPhoneConfig(const UserPhoneConfig& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = value; }
43 inline void SetPhoneConfig(UserPhoneConfig&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::move(value); }
44 inline UpdateUserPhoneConfigRequest& WithPhoneConfig(const UserPhoneConfig& value) { SetPhoneConfig(value); return *this;}
45 inline UpdateUserPhoneConfigRequest& WithPhoneConfig(UserPhoneConfig&& value) { SetPhoneConfig(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetUserId() const{ return m_userId; }
53 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
54 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
55 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
56 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
57 inline UpdateUserPhoneConfigRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
58 inline UpdateUserPhoneConfigRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
59 inline UpdateUserPhoneConfigRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
61
63
68 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
69 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
70 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
71 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
72 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
73 inline UpdateUserPhoneConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
74 inline UpdateUserPhoneConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
75 inline UpdateUserPhoneConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
77 private:
78
79 UserPhoneConfig m_phoneConfig;
80 bool m_phoneConfigHasBeenSet = false;
81
82 Aws::String m_userId;
83 bool m_userIdHasBeenSet = false;
84
85 Aws::String m_instanceId;
86 bool m_instanceIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
UpdateUserPhoneConfigRequest & WithUserId(const char *value)
UpdateUserPhoneConfigRequest & WithInstanceId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserPhoneConfigRequest & WithUserId(Aws::String &&value)
UpdateUserPhoneConfigRequest & WithPhoneConfig(UserPhoneConfig &&value)
UpdateUserPhoneConfigRequest & WithPhoneConfig(const UserPhoneConfig &value)
UpdateUserPhoneConfigRequest & WithInstanceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateUserPhoneConfigRequest & WithUserId(const Aws::String &value)
UpdateUserPhoneConfigRequest & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String