AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateAgentStatusResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
25 public:
26 AWS_CONNECT_API CreateAgentStatusResult() = default;
29
31
34 inline const Aws::String& GetAgentStatusARN() const { return m_agentStatusARN; }
35 template <typename AgentStatusARNT = Aws::String>
36 void SetAgentStatusARN(AgentStatusARNT&& value) {
37 m_agentStatusARNHasBeenSet = true;
38 m_agentStatusARN = std::forward<AgentStatusARNT>(value);
39 }
40 template <typename AgentStatusARNT = Aws::String>
41 CreateAgentStatusResult& WithAgentStatusARN(AgentStatusARNT&& value) {
42 SetAgentStatusARN(std::forward<AgentStatusARNT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAgentStatusId() const { return m_agentStatusId; }
52 template <typename AgentStatusIdT = Aws::String>
53 void SetAgentStatusId(AgentStatusIdT&& value) {
54 m_agentStatusIdHasBeenSet = true;
55 m_agentStatusId = std::forward<AgentStatusIdT>(value);
56 }
57 template <typename AgentStatusIdT = Aws::String>
58 CreateAgentStatusResult& WithAgentStatusId(AgentStatusIdT&& value) {
59 SetAgentStatusId(std::forward<AgentStatusIdT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_agentStatusARN;
82
83 Aws::String m_agentStatusId;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_agentStatusARNHasBeenSet = false;
88 bool m_agentStatusIdHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
AWS_CONNECT_API CreateAgentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAgentStatusResult & WithAgentStatusId(AgentStatusIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateAgentStatusResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API CreateAgentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API CreateAgentStatusResult()=default
CreateAgentStatusResult & WithAgentStatusARN(AgentStatusARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue