AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateParticipantAuthenticationRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Connect {
15namespace Model {
16
20 public:
21 AWS_CONNECT_API UpdateParticipantAuthenticationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateParticipantAuthentication"; }
28
29 AWS_CONNECT_API Aws::String SerializePayload() const override;
30
32
39 inline const Aws::String& GetState() const { return m_state; }
40 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
41 template <typename StateT = Aws::String>
42 void SetState(StateT&& value) {
43 m_stateHasBeenSet = true;
44 m_state = std::forward<StateT>(value);
45 }
46 template <typename StateT = Aws::String>
48 SetState(std::forward<StateT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
60 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
61 template <typename InstanceIdT = Aws::String>
62 void SetInstanceId(InstanceIdT&& value) {
63 m_instanceIdHasBeenSet = true;
64 m_instanceId = std::forward<InstanceIdT>(value);
65 }
66 template <typename InstanceIdT = Aws::String>
68 SetInstanceId(std::forward<InstanceIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetCode() const { return m_code; }
79 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
80 template <typename CodeT = Aws::String>
81 void SetCode(CodeT&& value) {
82 m_codeHasBeenSet = true;
83 m_code = std::forward<CodeT>(value);
84 }
85 template <typename CodeT = Aws::String>
87 SetCode(std::forward<CodeT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetError() const { return m_error; }
98 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
99 template <typename ErrorT = Aws::String>
100 void SetError(ErrorT&& value) {
101 m_errorHasBeenSet = true;
102 m_error = std::forward<ErrorT>(value);
103 }
104 template <typename ErrorT = Aws::String>
106 SetError(std::forward<ErrorT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetErrorDescription() const { return m_errorDescription; }
117 inline bool ErrorDescriptionHasBeenSet() const { return m_errorDescriptionHasBeenSet; }
118 template <typename ErrorDescriptionT = Aws::String>
119 void SetErrorDescription(ErrorDescriptionT&& value) {
120 m_errorDescriptionHasBeenSet = true;
121 m_errorDescription = std::forward<ErrorDescriptionT>(value);
122 }
123 template <typename ErrorDescriptionT = Aws::String>
125 SetErrorDescription(std::forward<ErrorDescriptionT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_state;
131
132 Aws::String m_instanceId;
133
134 Aws::String m_code;
135
136 Aws::String m_error;
137
138 Aws::String m_errorDescription;
139 bool m_stateHasBeenSet = false;
140 bool m_instanceIdHasBeenSet = false;
141 bool m_codeHasBeenSet = false;
142 bool m_errorHasBeenSet = false;
143 bool m_errorDescriptionHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Connect
148} // 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