AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateManagedNotificationAccountContactRequest.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/notifications/model/AccountContactType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Notifications
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateManagedNotificationAccountContact"; }
32
33 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
34
35
37
41 inline AccountContactType GetContactIdentifier() const { return m_contactIdentifier; }
42 inline bool ContactIdentifierHasBeenSet() const { return m_contactIdentifierHasBeenSet; }
43 inline void SetContactIdentifier(AccountContactType value) { m_contactIdentifierHasBeenSet = true; m_contactIdentifier = value; }
46
48
53 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
54 inline bool ManagedNotificationConfigurationArnHasBeenSet() const { return m_managedNotificationConfigurationArnHasBeenSet; }
55 template<typename ManagedNotificationConfigurationArnT = Aws::String>
56 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { m_managedNotificationConfigurationArnHasBeenSet = true; m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value); }
57 template<typename ManagedNotificationConfigurationArnT = Aws::String>
58 DisassociateManagedNotificationAccountContactRequest& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value)); return *this;}
60 private:
61
63 bool m_contactIdentifierHasBeenSet = false;
64
65 Aws::String m_managedNotificationConfigurationArn;
66 bool m_managedNotificationConfigurationArnHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Notifications
71} // namespace Aws
DisassociateManagedNotificationAccountContactRequest & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
DisassociateManagedNotificationAccountContactRequest & WithContactIdentifier(AccountContactType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String