AWS SDK for C++  1.9.160
AWS SDK for C++
GetFederationTokenRequest.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 "GetFederationToken"; }
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 GetFederationTokenRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline GetFederationTokenRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline GetFederationTokenRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_instanceId;
86  bool m_instanceIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Connect
91 } // namespace Aws
Aws::Connect::Model::GetFederationTokenRequest::GetFederationTokenRequest
GetFederationTokenRequest()
Aws::Connect::Model::GetFederationTokenRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: GetFederationTokenRequest.h:57
Aws::Connect::Model::GetFederationTokenRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: GetFederationTokenRequest.h:51
Aws::Connect::Model::GetFederationTokenRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: GetFederationTokenRequest.h:39
Aws::Connect::Model::GetFederationTokenRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: GetFederationTokenRequest.h:63
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::GetFederationTokenRequest::WithInstanceId
GetFederationTokenRequest & WithInstanceId(const Aws::String &value)
Definition: GetFederationTokenRequest.h:69
Aws::Connect::Model::GetFederationTokenRequest
Definition: GetFederationTokenRequest.h:22
Aws::Connect::Model::GetFederationTokenRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFederationTokenRequest.h:30
AWSString.h
Aws::Connect::Model::GetFederationTokenRequest::WithInstanceId
GetFederationTokenRequest & WithInstanceId(const char *value)
Definition: GetFederationTokenRequest.h:81
Aws::Connect::Model::GetFederationTokenRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: GetFederationTokenRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::GetFederationTokenRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::GetFederationTokenRequest::WithInstanceId
GetFederationTokenRequest & WithInstanceId(Aws::String &&value)
Definition: GetFederationTokenRequest.h:75
Connect_EXPORTS.h
ConnectRequest.h