AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteContactChannelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSMContacts
15 {
16 namespace 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 "DeleteContactChannel"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetContactChannelId() const{ return m_contactChannelId; }
41 
45  inline bool ContactChannelIdHasBeenSet() const { return m_contactChannelIdHasBeenSet; }
46 
50  inline void SetContactChannelId(const Aws::String& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = value; }
51 
55  inline void SetContactChannelId(Aws::String&& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = std::move(value); }
56 
60  inline void SetContactChannelId(const char* value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId.assign(value); }
61 
65  inline DeleteContactChannelRequest& WithContactChannelId(const Aws::String& value) { SetContactChannelId(value); return *this;}
66 
70  inline DeleteContactChannelRequest& WithContactChannelId(Aws::String&& value) { SetContactChannelId(std::move(value)); return *this;}
71 
75  inline DeleteContactChannelRequest& WithContactChannelId(const char* value) { SetContactChannelId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_contactChannelId;
80  bool m_contactChannelIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace SSMContacts
85 } // namespace Aws
Aws::SSMContacts::Model::DeleteContactChannelRequest::GetContactChannelId
const Aws::String & GetContactChannelId() const
Definition: DeleteContactChannelRequest.h:40
Aws::SSMContacts::Model::DeleteContactChannelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSMContacts::Model::DeleteContactChannelRequest::ContactChannelIdHasBeenSet
bool ContactChannelIdHasBeenSet() const
Definition: DeleteContactChannelRequest.h:45
Aws::SSMContacts::Model::DeleteContactChannelRequest::SetContactChannelId
void SetContactChannelId(const Aws::String &value)
Definition: DeleteContactChannelRequest.h:50
Aws::SSMContacts::Model::DeleteContactChannelRequest::SetContactChannelId
void SetContactChannelId(Aws::String &&value)
Definition: DeleteContactChannelRequest.h:55
Aws::SSMContacts::Model::DeleteContactChannelRequest::WithContactChannelId
DeleteContactChannelRequest & WithContactChannelId(const char *value)
Definition: DeleteContactChannelRequest.h:75
Aws::SSMContacts::Model::DeleteContactChannelRequest::SetContactChannelId
void SetContactChannelId(const char *value)
Definition: DeleteContactChannelRequest.h:60
Aws::SSMContacts::Model::DeleteContactChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteContactChannelRequest.h:30
Aws::SSMContacts::Model::DeleteContactChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSMContacts::Model::DeleteContactChannelRequest::WithContactChannelId
DeleteContactChannelRequest & WithContactChannelId(const Aws::String &value)
Definition: DeleteContactChannelRequest.h:65
SSMContacts_EXPORTS.h
Aws::SSMContacts::Model::DeleteContactChannelRequest::WithContactChannelId
DeleteContactChannelRequest & WithContactChannelId(Aws::String &&value)
Definition: DeleteContactChannelRequest.h:70
AWSString.h
Aws::SSMContacts::Model::DeleteContactChannelRequest::DeleteContactChannelRequest
DeleteContactChannelRequest()
SSMContactsRequest.h
Aws::SSMContacts::Model::DeleteContactChannelRequest
Definition: DeleteContactChannelRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SSMCONTACTS_API
#define AWS_SSMCONTACTS_API
Definition: SSMContacts_EXPORTS.h:28
Aws::SSMContacts::SSMContactsRequest
Definition: SSMContactsRequest.h:17