AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRequestIdentifier(const Aws::String& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = value; }
49 inline void SetRequestIdentifier(Aws::String&& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = std::move(value); }
50 inline void SetRequestIdentifier(const char* value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier.assign(value); }
51 inline SuccessfulRequest& WithRequestIdentifier(const Aws::String& value) { SetRequestIdentifier(value); return *this;}
52 inline SuccessfulRequest& WithRequestIdentifier(Aws::String&& value) { SetRequestIdentifier(std::move(value)); return *this;}
53 inline SuccessfulRequest& WithRequestIdentifier(const char* value) { SetRequestIdentifier(value); return *this;}
55
57
60 inline const Aws::String& GetContactId() const{ return m_contactId; }
61 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
62 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
63 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
64 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
65 inline SuccessfulRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
66 inline SuccessfulRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
67 inline SuccessfulRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
69 private:
70
71 Aws::String m_requestIdentifier;
72 bool m_requestIdentifierHasBeenSet = false;
73
74 Aws::String m_contactId;
75 bool m_contactIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Connect
80} // namespace Aws
const Aws::String & GetContactId() const
SuccessfulRequest & WithRequestIdentifier(const Aws::String &value)
AWS_CONNECT_API SuccessfulRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue)
void SetRequestIdentifier(Aws::String &&value)
SuccessfulRequest & WithContactId(const Aws::String &value)
void SetRequestIdentifier(const char *value)
void SetRequestIdentifier(const Aws::String &value)
SuccessfulRequest & WithRequestIdentifier(const char *value)
SuccessfulRequest & WithContactId(const char *value)
SuccessfulRequest & WithContactId(Aws::String &&value)
void SetContactId(const Aws::String &value)
SuccessfulRequest & WithRequestIdentifier(Aws::String &&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