AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DialRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectCampaigns
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCAMPAIGNS_API DialRequest();
37 AWS_CONNECTCAMPAIGNS_API DialRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNS_API DialRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline DialRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline DialRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline DialRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
56 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
57 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
58 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
59 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
60 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
61 inline DialRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
62 inline DialRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
63 inline DialRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
65
67
68 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
69 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
70 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
71 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
72 inline DialRequest& WithExpirationTime(const Aws::Utils::DateTime& value) { SetExpirationTime(value); return *this;}
73 inline DialRequest& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;}
75
77
78 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
79 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
80 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
81 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
82 inline DialRequest& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
83 inline DialRequest& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
84 inline DialRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
85 inline DialRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
86 inline DialRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
87 inline DialRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
88 inline DialRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
89 inline DialRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
90 inline DialRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
92 private:
93
94 Aws::String m_clientToken;
95 bool m_clientTokenHasBeenSet = false;
96
97 Aws::String m_phoneNumber;
98 bool m_phoneNumberHasBeenSet = false;
99
100 Aws::Utils::DateTime m_expirationTime;
101 bool m_expirationTimeHasBeenSet = false;
102
104 bool m_attributesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace ConnectCampaigns
109} // namespace Aws
DialRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition DialRequest.h:86
AWS_CONNECTCAMPAIGNS_API DialRequest()
DialRequest & WithPhoneNumber(const Aws::String &value)
Definition DialRequest.h:61
DialRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition DialRequest.h:84
void SetClientToken(const Aws::String &value)
Definition DialRequest.h:46
DialRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition DialRequest.h:82
void SetPhoneNumber(const char *value)
Definition DialRequest.h:60
DialRequest & WithPhoneNumber(const char *value)
Definition DialRequest.h:63
DialRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition DialRequest.h:87
void SetClientToken(const char *value)
Definition DialRequest.h:48
DialRequest & WithClientToken(const Aws::String &value)
Definition DialRequest.h:49
const Aws::String & GetPhoneNumber() const
Definition DialRequest.h:56
DialRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition DialRequest.h:83
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition DialRequest.h:81
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition DialRequest.h:78
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition DialRequest.h:80
const Aws::String & GetClientToken() const
Definition DialRequest.h:44
AWS_CONNECTCAMPAIGNS_API DialRequest(Aws::Utils::Json::JsonView jsonValue)
DialRequest & WithPhoneNumber(Aws::String &&value)
Definition DialRequest.h:62
void SetPhoneNumber(const Aws::String &value)
Definition DialRequest.h:58
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
DialRequest & AddAttributes(Aws::String &&key, const char *value)
Definition DialRequest.h:89
void SetPhoneNumber(Aws::String &&value)
Definition DialRequest.h:59
DialRequest & WithClientToken(const char *value)
Definition DialRequest.h:51
const Aws::Utils::DateTime & GetExpirationTime() const
Definition DialRequest.h:68
DialRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition DialRequest.h:85
void SetExpirationTime(Aws::Utils::DateTime &&value)
Definition DialRequest.h:71
DialRequest & WithClientToken(Aws::String &&value)
Definition DialRequest.h:50
DialRequest & WithExpirationTime(Aws::Utils::DateTime &&value)
Definition DialRequest.h:73
AWS_CONNECTCAMPAIGNS_API DialRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClientToken(Aws::String &&value)
Definition DialRequest.h:47
void SetExpirationTime(const Aws::Utils::DateTime &value)
Definition DialRequest.h:70
DialRequest & WithExpirationTime(const Aws::Utils::DateTime &value)
Definition DialRequest.h:72
DialRequest & AddAttributes(const char *key, Aws::String &&value)
Definition DialRequest.h:88
DialRequest & AddAttributes(const char *key, const char *value)
Definition DialRequest.h:90
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue