AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ResetNotificationSettingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rolesanywhere/RolesAnywhereRequest.h>
10#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
11#include <aws/rolesanywhere/model/NotificationSettingKey.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RolesAnywhere {
17namespace Model {
18
22 public:
23 AWS_ROLESANYWHERE_API ResetNotificationSettingsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "ResetNotificationSettings"; }
30
31 AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetTrustAnchorId() const { return m_trustAnchorId; }
38 inline bool TrustAnchorIdHasBeenSet() const { return m_trustAnchorIdHasBeenSet; }
39 template <typename TrustAnchorIdT = Aws::String>
40 void SetTrustAnchorId(TrustAnchorIdT&& value) {
41 m_trustAnchorIdHasBeenSet = true;
42 m_trustAnchorId = std::forward<TrustAnchorIdT>(value);
43 }
44 template <typename TrustAnchorIdT = Aws::String>
46 SetTrustAnchorId(std::forward<TrustAnchorIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::Vector<NotificationSettingKey>& GetNotificationSettingKeys() const { return m_notificationSettingKeys; }
57 inline bool NotificationSettingKeysHasBeenSet() const { return m_notificationSettingKeysHasBeenSet; }
58 template <typename NotificationSettingKeysT = Aws::Vector<NotificationSettingKey>>
59 void SetNotificationSettingKeys(NotificationSettingKeysT&& value) {
60 m_notificationSettingKeysHasBeenSet = true;
61 m_notificationSettingKeys = std::forward<NotificationSettingKeysT>(value);
62 }
63 template <typename NotificationSettingKeysT = Aws::Vector<NotificationSettingKey>>
65 SetNotificationSettingKeys(std::forward<NotificationSettingKeysT>(value));
66 return *this;
67 }
68 template <typename NotificationSettingKeysT = NotificationSettingKey>
70 m_notificationSettingKeysHasBeenSet = true;
71 m_notificationSettingKeys.emplace_back(std::forward<NotificationSettingKeysT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_trustAnchorId;
77
78 Aws::Vector<NotificationSettingKey> m_notificationSettingKeys;
79 bool m_trustAnchorIdHasBeenSet = false;
80 bool m_notificationSettingKeysHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace RolesAnywhere
85} // 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