AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMeetingDialOutRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Chime
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateMeetingDialOut"; }
31
32 AWS_CHIME_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetMeetingId() const{ return m_meetingId; }
40 inline bool MeetingIdHasBeenSet() const { return m_meetingIdHasBeenSet; }
41 inline void SetMeetingId(const Aws::String& value) { m_meetingIdHasBeenSet = true; m_meetingId = value; }
42 inline void SetMeetingId(Aws::String&& value) { m_meetingIdHasBeenSet = true; m_meetingId = std::move(value); }
43 inline void SetMeetingId(const char* value) { m_meetingIdHasBeenSet = true; m_meetingId.assign(value); }
44 inline CreateMeetingDialOutRequest& WithMeetingId(const Aws::String& value) { SetMeetingId(value); return *this;}
45 inline CreateMeetingDialOutRequest& WithMeetingId(Aws::String&& value) { SetMeetingId(std::move(value)); return *this;}
46 inline CreateMeetingDialOutRequest& WithMeetingId(const char* value) { SetMeetingId(value); return *this;}
48
50
53 inline const Aws::String& GetFromPhoneNumber() const{ return m_fromPhoneNumber; }
54 inline bool FromPhoneNumberHasBeenSet() const { return m_fromPhoneNumberHasBeenSet; }
55 inline void SetFromPhoneNumber(const Aws::String& value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber = value; }
56 inline void SetFromPhoneNumber(Aws::String&& value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber = std::move(value); }
57 inline void SetFromPhoneNumber(const char* value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber.assign(value); }
59 inline CreateMeetingDialOutRequest& WithFromPhoneNumber(Aws::String&& value) { SetFromPhoneNumber(std::move(value)); return *this;}
60 inline CreateMeetingDialOutRequest& WithFromPhoneNumber(const char* value) { SetFromPhoneNumber(value); return *this;}
62
64
67 inline const Aws::String& GetToPhoneNumber() const{ return m_toPhoneNumber; }
68 inline bool ToPhoneNumberHasBeenSet() const { return m_toPhoneNumberHasBeenSet; }
69 inline void SetToPhoneNumber(const Aws::String& value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber = value; }
70 inline void SetToPhoneNumber(Aws::String&& value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber = std::move(value); }
71 inline void SetToPhoneNumber(const char* value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber.assign(value); }
72 inline CreateMeetingDialOutRequest& WithToPhoneNumber(const Aws::String& value) { SetToPhoneNumber(value); return *this;}
73 inline CreateMeetingDialOutRequest& WithToPhoneNumber(Aws::String&& value) { SetToPhoneNumber(std::move(value)); return *this;}
74 inline CreateMeetingDialOutRequest& WithToPhoneNumber(const char* value) { SetToPhoneNumber(value); return *this;}
76
78
83 inline const Aws::String& GetJoinToken() const{ return m_joinToken; }
84 inline bool JoinTokenHasBeenSet() const { return m_joinTokenHasBeenSet; }
85 inline void SetJoinToken(const Aws::String& value) { m_joinTokenHasBeenSet = true; m_joinToken = value; }
86 inline void SetJoinToken(Aws::String&& value) { m_joinTokenHasBeenSet = true; m_joinToken = std::move(value); }
87 inline void SetJoinToken(const char* value) { m_joinTokenHasBeenSet = true; m_joinToken.assign(value); }
88 inline CreateMeetingDialOutRequest& WithJoinToken(const Aws::String& value) { SetJoinToken(value); return *this;}
89 inline CreateMeetingDialOutRequest& WithJoinToken(Aws::String&& value) { SetJoinToken(std::move(value)); return *this;}
90 inline CreateMeetingDialOutRequest& WithJoinToken(const char* value) { SetJoinToken(value); return *this;}
92 private:
93
94 Aws::String m_meetingId;
95 bool m_meetingIdHasBeenSet = false;
96
97 Aws::String m_fromPhoneNumber;
98 bool m_fromPhoneNumberHasBeenSet = false;
99
100 Aws::String m_toPhoneNumber;
101 bool m_toPhoneNumberHasBeenSet = false;
102
103 Aws::String m_joinToken;
104 bool m_joinTokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Chime
109} // namespace Aws
CreateMeetingDialOutRequest & WithMeetingId(Aws::String &&value)
CreateMeetingDialOutRequest & WithToPhoneNumber(Aws::String &&value)
CreateMeetingDialOutRequest & WithJoinToken(Aws::String &&value)
CreateMeetingDialOutRequest & WithToPhoneNumber(const char *value)
AWS_CHIME_API Aws::String SerializePayload() const override
CreateMeetingDialOutRequest & WithJoinToken(const char *value)
CreateMeetingDialOutRequest & WithFromPhoneNumber(const char *value)
CreateMeetingDialOutRequest & WithMeetingId(const char *value)
CreateMeetingDialOutRequest & WithJoinToken(const Aws::String &value)
CreateMeetingDialOutRequest & WithMeetingId(const Aws::String &value)
CreateMeetingDialOutRequest & WithFromPhoneNumber(const Aws::String &value)
CreateMeetingDialOutRequest & WithFromPhoneNumber(Aws::String &&value)
CreateMeetingDialOutRequest & WithToPhoneNumber(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String