AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SuccessfulRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API SuccessfulRequest() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetRequestIdentifier() const { return m_requestIdentifier; }
41 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
42 template <typename RequestIdentifierT = Aws::String>
43 void SetRequestIdentifier(RequestIdentifierT&& value) {
44 m_requestIdentifierHasBeenSet = true;
45 m_requestIdentifier = std::forward<RequestIdentifierT>(value);
46 }
47 template <typename RequestIdentifierT = Aws::String>
48 SuccessfulRequest& WithRequestIdentifier(RequestIdentifierT&& value) {
49 SetRequestIdentifier(std::forward<RequestIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetContactId() const { return m_contactId; }
59 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
60 template <typename ContactIdT = Aws::String>
61 void SetContactId(ContactIdT&& value) {
62 m_contactIdHasBeenSet = true;
63 m_contactId = std::forward<ContactIdT>(value);
64 }
65 template <typename ContactIdT = Aws::String>
66 SuccessfulRequest& WithContactId(ContactIdT&& value) {
67 SetContactId(std::forward<ContactIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_requestIdentifier;
73
74 Aws::String m_contactId;
75 bool m_requestIdentifierHasBeenSet = false;
76 bool m_contactIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
AWS_CONNECT_API SuccessfulRequest()=default
const Aws::String & GetContactId() const
void SetRequestIdentifier(RequestIdentifierT &&value)
SuccessfulRequest & WithContactId(ContactIdT &&value)
AWS_CONNECT_API SuccessfulRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue)
SuccessfulRequest & WithRequestIdentifier(RequestIdentifierT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRequestIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue