AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateParticipantAuthenticationRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Connect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CONNECT_API UpdateParticipantAuthenticationRequest() = default;
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 "UpdateParticipantAuthentication"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
34
36
43 inline const Aws::String& GetState() const { return m_state; }
44 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
45 template<typename StateT = Aws::String>
46 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
47 template<typename StateT = Aws::String>
48 UpdateParticipantAuthenticationRequest& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
50
52
57 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
58 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
59 template<typename InstanceIdT = Aws::String>
60 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
61 template<typename InstanceIdT = Aws::String>
62 UpdateParticipantAuthenticationRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetCode() const { return m_code; }
71 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
72 template<typename CodeT = Aws::String>
73 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
74 template<typename CodeT = Aws::String>
75 UpdateParticipantAuthenticationRequest& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
77
79
83 inline const Aws::String& GetError() const { return m_error; }
84 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
85 template<typename ErrorT = Aws::String>
86 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
87 template<typename ErrorT = Aws::String>
88 UpdateParticipantAuthenticationRequest& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
90
92
96 inline const Aws::String& GetErrorDescription() const { return m_errorDescription; }
97 inline bool ErrorDescriptionHasBeenSet() const { return m_errorDescriptionHasBeenSet; }
98 template<typename ErrorDescriptionT = Aws::String>
99 void SetErrorDescription(ErrorDescriptionT&& value) { m_errorDescriptionHasBeenSet = true; m_errorDescription = std::forward<ErrorDescriptionT>(value); }
100 template<typename ErrorDescriptionT = Aws::String>
101 UpdateParticipantAuthenticationRequest& WithErrorDescription(ErrorDescriptionT&& value) { SetErrorDescription(std::forward<ErrorDescriptionT>(value)); return *this;}
103 private:
104
105 Aws::String m_state;
106 bool m_stateHasBeenSet = false;
107
108 Aws::String m_instanceId;
109 bool m_instanceIdHasBeenSet = false;
110
111 Aws::String m_code;
112 bool m_codeHasBeenSet = false;
113
114 Aws::String m_error;
115 bool m_errorHasBeenSet = false;
116
117 Aws::String m_errorDescription;
118 bool m_errorDescriptionHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateParticipantAuthenticationRequest & WithInstanceId(InstanceIdT &&value)
UpdateParticipantAuthenticationRequest & WithCode(CodeT &&value)
UpdateParticipantAuthenticationRequest & WithError(ErrorT &&value)
UpdateParticipantAuthenticationRequest & WithState(StateT &&value)
UpdateParticipantAuthenticationRequest & WithErrorDescription(ErrorDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String