AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeRoutingProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeRoutingProfile"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline DescribeRoutingProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline DescribeRoutingProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline DescribeRoutingProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
88 
92  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
93 
97  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
98 
102  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
103 
107  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
108 
112  inline DescribeRoutingProfileRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
113 
117  inline DescribeRoutingProfileRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
118 
122  inline DescribeRoutingProfileRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_instanceId;
127  bool m_instanceIdHasBeenSet;
128 
129  Aws::String m_routingProfileId;
130  bool m_routingProfileIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Connect
135 } // namespace Aws
Aws::Connect::Model::DescribeRoutingProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRoutingProfileRequest.h:30
Aws::Connect::Model::DescribeRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: DescribeRoutingProfileRequest.h:102
Aws::Connect::Model::DescribeRoutingProfileRequest::WithInstanceId
DescribeRoutingProfileRequest & WithInstanceId(const char *value)
Definition: DescribeRoutingProfileRequest.h:81
Aws::Connect::Model::DescribeRoutingProfileRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: DescribeRoutingProfileRequest.h:87
Aws::Connect::Model::DescribeRoutingProfileRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeRoutingProfileRequest.h:57
Aws::Connect::Model::DescribeRoutingProfileRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeRoutingProfileRequest.h:51
Aws::Connect::Model::DescribeRoutingProfileRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: DescribeRoutingProfileRequest.h:92
Aws::Connect::Model::DescribeRoutingProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DescribeRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: DescribeRoutingProfileRequest.h:107
Aws::Connect::Model::DescribeRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: DescribeRoutingProfileRequest.h:97
AWSString.h
Aws::Connect::Model::DescribeRoutingProfileRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeRoutingProfileRequest.h:45
Aws::Connect::Model::DescribeRoutingProfileRequest::WithInstanceId
DescribeRoutingProfileRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeRoutingProfileRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DescribeRoutingProfileRequest
Definition: DescribeRoutingProfileRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DescribeRoutingProfileRequest::WithInstanceId
DescribeRoutingProfileRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeRoutingProfileRequest.h:75
Aws::Connect::Model::DescribeRoutingProfileRequest::WithRoutingProfileId
DescribeRoutingProfileRequest & WithRoutingProfileId(const char *value)
Definition: DescribeRoutingProfileRequest.h:122
Aws::Connect::Model::DescribeRoutingProfileRequest::WithRoutingProfileId
DescribeRoutingProfileRequest & WithRoutingProfileId(Aws::String &&value)
Definition: DescribeRoutingProfileRequest.h:117
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DescribeRoutingProfileRequest::DescribeRoutingProfileRequest
DescribeRoutingProfileRequest()
Aws::Connect::Model::DescribeRoutingProfileRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeRoutingProfileRequest.h:39
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::DescribeRoutingProfileRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeRoutingProfileRequest.h:63
Aws::Connect::Model::DescribeRoutingProfileRequest::WithRoutingProfileId
DescribeRoutingProfileRequest & WithRoutingProfileId(const Aws::String &value)
Definition: DescribeRoutingProfileRequest.h:112