AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResetNotificationSettingsRequest.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/RolesAnywhereRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rolesanywhere/model/NotificationSettingKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RolesAnywhere
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ROLESANYWHERE_API ResetNotificationSettingsRequest() = default;
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 "ResetNotificationSettings"; }
33
34 AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::Vector<NotificationSettingKey>& GetNotificationSettingKeys() const { return m_notificationSettingKeys; }
43 inline bool NotificationSettingKeysHasBeenSet() const { return m_notificationSettingKeysHasBeenSet; }
44 template<typename NotificationSettingKeysT = Aws::Vector<NotificationSettingKey>>
45 void SetNotificationSettingKeys(NotificationSettingKeysT&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys = std::forward<NotificationSettingKeysT>(value); }
46 template<typename NotificationSettingKeysT = Aws::Vector<NotificationSettingKey>>
47 ResetNotificationSettingsRequest& WithNotificationSettingKeys(NotificationSettingKeysT&& value) { SetNotificationSettingKeys(std::forward<NotificationSettingKeysT>(value)); return *this;}
48 template<typename NotificationSettingKeysT = NotificationSettingKey>
49 ResetNotificationSettingsRequest& AddNotificationSettingKeys(NotificationSettingKeysT&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys.emplace_back(std::forward<NotificationSettingKeysT>(value)); return *this; }
51
53
56 inline const Aws::String& GetTrustAnchorId() const { return m_trustAnchorId; }
57 inline bool TrustAnchorIdHasBeenSet() const { return m_trustAnchorIdHasBeenSet; }
58 template<typename TrustAnchorIdT = Aws::String>
59 void SetTrustAnchorId(TrustAnchorIdT&& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = std::forward<TrustAnchorIdT>(value); }
60 template<typename TrustAnchorIdT = Aws::String>
61 ResetNotificationSettingsRequest& WithTrustAnchorId(TrustAnchorIdT&& value) { SetTrustAnchorId(std::forward<TrustAnchorIdT>(value)); return *this;}
63 private:
64
65 Aws::Vector<NotificationSettingKey> m_notificationSettingKeys;
66 bool m_notificationSettingKeysHasBeenSet = false;
67
68 Aws::String m_trustAnchorId;
69 bool m_trustAnchorIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace RolesAnywhere
74} // namespace Aws
ResetNotificationSettingsRequest & WithNotificationSettingKeys(NotificationSettingKeysT &&value)
const Aws::Vector< NotificationSettingKey > & GetNotificationSettingKeys() const
ResetNotificationSettingsRequest & AddNotificationSettingKeys(NotificationSettingKeysT &&value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
ResetNotificationSettingsRequest & WithTrustAnchorId(TrustAnchorIdT &&value)
AWS_ROLESANYWHERE_API ResetNotificationSettingsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector