AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNotificationSettingKeys(const Aws::Vector<NotificationSettingKey>& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys = value; }
45 inline void SetNotificationSettingKeys(Aws::Vector<NotificationSettingKey>&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys = std::move(value); }
48 inline ResetNotificationSettingsRequest& AddNotificationSettingKeys(const NotificationSettingKey& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys.push_back(value); return *this; }
49 inline ResetNotificationSettingsRequest& AddNotificationSettingKeys(NotificationSettingKey&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::String& GetTrustAnchorId() const{ return m_trustAnchorId; }
57 inline bool TrustAnchorIdHasBeenSet() const { return m_trustAnchorIdHasBeenSet; }
58 inline void SetTrustAnchorId(const Aws::String& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = value; }
59 inline void SetTrustAnchorId(Aws::String&& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = std::move(value); }
60 inline void SetTrustAnchorId(const char* value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId.assign(value); }
62 inline ResetNotificationSettingsRequest& WithTrustAnchorId(Aws::String&& value) { SetTrustAnchorId(std::move(value)); return *this;}
63 inline ResetNotificationSettingsRequest& WithTrustAnchorId(const char* value) { SetTrustAnchorId(value); return *this;}
65 private:
66
67 Aws::Vector<NotificationSettingKey> m_notificationSettingKeys;
68 bool m_notificationSettingKeysHasBeenSet = false;
69
70 Aws::String m_trustAnchorId;
71 bool m_trustAnchorIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace RolesAnywhere
76} // namespace Aws
ResetNotificationSettingsRequest & WithTrustAnchorId(const char *value)
ResetNotificationSettingsRequest & WithNotificationSettingKeys(Aws::Vector< NotificationSettingKey > &&value)
const Aws::Vector< NotificationSettingKey > & GetNotificationSettingKeys() const
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
ResetNotificationSettingsRequest & AddNotificationSettingKeys(const NotificationSettingKey &value)
ResetNotificationSettingsRequest & WithTrustAnchorId(const Aws::String &value)
void SetNotificationSettingKeys(const Aws::Vector< NotificationSettingKey > &value)
ResetNotificationSettingsRequest & WithNotificationSettingKeys(const Aws::Vector< NotificationSettingKey > &value)
ResetNotificationSettingsRequest & AddNotificationSettingKeys(NotificationSettingKey &&value)
void SetNotificationSettingKeys(Aws::Vector< NotificationSettingKey > &&value)
ResetNotificationSettingsRequest & WithTrustAnchorId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector