AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API SuccessfulRequest() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRequestIdentifier() const { return m_requestIdentifier; }
47 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
48 template<typename RequestIdentifierT = Aws::String>
49 void SetRequestIdentifier(RequestIdentifierT&& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = std::forward<RequestIdentifierT>(value); }
50 template<typename RequestIdentifierT = Aws::String>
51 SuccessfulRequest& WithRequestIdentifier(RequestIdentifierT&& value) { SetRequestIdentifier(std::forward<RequestIdentifierT>(value)); return *this;}
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) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
62 template<typename ContactIdT = Aws::String>
63 SuccessfulRequest& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
65 private:
66
67 Aws::String m_requestIdentifier;
68 bool m_requestIdentifierHasBeenSet = false;
69
70 Aws::String m_contactId;
71 bool m_contactIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Connect
76} // 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