AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptPageRequest.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/SSMContactsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm-contacts/model/AcceptType.h>
11#include <aws/ssm-contacts/model/AcceptCodeValidation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSMContacts
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSMCONTACTS_API AcceptPageRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AcceptPage"; }
33
34 AWS_SSMCONTACTS_API Aws::String SerializePayload() const override;
35
36 AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetPageId() const{ return m_pageId; }
44 inline bool PageIdHasBeenSet() const { return m_pageIdHasBeenSet; }
45 inline void SetPageId(const Aws::String& value) { m_pageIdHasBeenSet = true; m_pageId = value; }
46 inline void SetPageId(Aws::String&& value) { m_pageIdHasBeenSet = true; m_pageId = std::move(value); }
47 inline void SetPageId(const char* value) { m_pageIdHasBeenSet = true; m_pageId.assign(value); }
48 inline AcceptPageRequest& WithPageId(const Aws::String& value) { SetPageId(value); return *this;}
49 inline AcceptPageRequest& WithPageId(Aws::String&& value) { SetPageId(std::move(value)); return *this;}
50 inline AcceptPageRequest& WithPageId(const char* value) { SetPageId(value); return *this;}
52
54
57 inline const Aws::String& GetContactChannelId() const{ return m_contactChannelId; }
58 inline bool ContactChannelIdHasBeenSet() const { return m_contactChannelIdHasBeenSet; }
59 inline void SetContactChannelId(const Aws::String& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = value; }
60 inline void SetContactChannelId(Aws::String&& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = std::move(value); }
61 inline void SetContactChannelId(const char* value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId.assign(value); }
62 inline AcceptPageRequest& WithContactChannelId(const Aws::String& value) { SetContactChannelId(value); return *this;}
63 inline AcceptPageRequest& WithContactChannelId(Aws::String&& value) { SetContactChannelId(std::move(value)); return *this;}
64 inline AcceptPageRequest& WithContactChannelId(const char* value) { SetContactChannelId(value); return *this;}
66
68
72 inline const AcceptType& GetAcceptType() const{ return m_acceptType; }
73 inline bool AcceptTypeHasBeenSet() const { return m_acceptTypeHasBeenSet; }
74 inline void SetAcceptType(const AcceptType& value) { m_acceptTypeHasBeenSet = true; m_acceptType = value; }
75 inline void SetAcceptType(AcceptType&& value) { m_acceptTypeHasBeenSet = true; m_acceptType = std::move(value); }
76 inline AcceptPageRequest& WithAcceptType(const AcceptType& value) { SetAcceptType(value); return *this;}
77 inline AcceptPageRequest& WithAcceptType(AcceptType&& value) { SetAcceptType(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetNote() const{ return m_note; }
85 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
86 inline void SetNote(const Aws::String& value) { m_noteHasBeenSet = true; m_note = value; }
87 inline void SetNote(Aws::String&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
88 inline void SetNote(const char* value) { m_noteHasBeenSet = true; m_note.assign(value); }
89 inline AcceptPageRequest& WithNote(const Aws::String& value) { SetNote(value); return *this;}
90 inline AcceptPageRequest& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
91 inline AcceptPageRequest& WithNote(const char* value) { SetNote(value); return *this;}
93
95
98 inline const Aws::String& GetAcceptCode() const{ return m_acceptCode; }
99 inline bool AcceptCodeHasBeenSet() const { return m_acceptCodeHasBeenSet; }
100 inline void SetAcceptCode(const Aws::String& value) { m_acceptCodeHasBeenSet = true; m_acceptCode = value; }
101 inline void SetAcceptCode(Aws::String&& value) { m_acceptCodeHasBeenSet = true; m_acceptCode = std::move(value); }
102 inline void SetAcceptCode(const char* value) { m_acceptCodeHasBeenSet = true; m_acceptCode.assign(value); }
103 inline AcceptPageRequest& WithAcceptCode(const Aws::String& value) { SetAcceptCode(value); return *this;}
104 inline AcceptPageRequest& WithAcceptCode(Aws::String&& value) { SetAcceptCode(std::move(value)); return *this;}
105 inline AcceptPageRequest& WithAcceptCode(const char* value) { SetAcceptCode(value); return *this;}
107
109
119 inline const AcceptCodeValidation& GetAcceptCodeValidation() const{ return m_acceptCodeValidation; }
120 inline bool AcceptCodeValidationHasBeenSet() const { return m_acceptCodeValidationHasBeenSet; }
121 inline void SetAcceptCodeValidation(const AcceptCodeValidation& value) { m_acceptCodeValidationHasBeenSet = true; m_acceptCodeValidation = value; }
122 inline void SetAcceptCodeValidation(AcceptCodeValidation&& value) { m_acceptCodeValidationHasBeenSet = true; m_acceptCodeValidation = std::move(value); }
126 private:
127
128 Aws::String m_pageId;
129 bool m_pageIdHasBeenSet = false;
130
131 Aws::String m_contactChannelId;
132 bool m_contactChannelIdHasBeenSet = false;
133
134 AcceptType m_acceptType;
135 bool m_acceptTypeHasBeenSet = false;
136
137 Aws::String m_note;
138 bool m_noteHasBeenSet = false;
139
140 Aws::String m_acceptCode;
141 bool m_acceptCodeHasBeenSet = false;
142
143 AcceptCodeValidation m_acceptCodeValidation;
144 bool m_acceptCodeValidationHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SSMContacts
149} // namespace Aws
AcceptPageRequest & WithContactChannelId(const Aws::String &value)
AcceptPageRequest & WithNote(Aws::String &&value)
void SetAcceptCode(const Aws::String &value)
AWS_SSMCONTACTS_API Aws::String SerializePayload() const override
AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const AcceptCodeValidation & GetAcceptCodeValidation() const
void SetPageId(const Aws::String &value)
AcceptPageRequest & WithAcceptCodeValidation(const AcceptCodeValidation &value)
virtual const char * GetServiceRequestName() const override
AcceptPageRequest & WithContactChannelId(const char *value)
AcceptPageRequest & WithAcceptType(AcceptType &&value)
AcceptPageRequest & WithAcceptType(const AcceptType &value)
AcceptPageRequest & WithPageId(Aws::String &&value)
void SetAcceptCodeValidation(AcceptCodeValidation &&value)
AcceptPageRequest & WithPageId(const Aws::String &value)
void SetAcceptType(const AcceptType &value)
AcceptPageRequest & WithAcceptCode(const char *value)
AcceptPageRequest & WithContactChannelId(Aws::String &&value)
AcceptPageRequest & WithPageId(const char *value)
AcceptPageRequest & WithNote(const Aws::String &value)
void SetAcceptCodeValidation(const AcceptCodeValidation &value)
void SetContactChannelId(const Aws::String &value)
AcceptPageRequest & WithAcceptCodeValidation(AcceptCodeValidation &&value)
const Aws::String & GetContactChannelId() const
void SetNote(const Aws::String &value)
AcceptPageRequest & WithAcceptCode(const Aws::String &value)
AcceptPageRequest & WithNote(const char *value)
AcceptPageRequest & WithAcceptCode(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String