AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/model/AggregationDuration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Notifications
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NOTIFICATIONS_API UpdateNotificationConfigurationRequest() = default;
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 "UpdateNotificationConfiguration"; }
32
33 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 UpdateNotificationConfigurationRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateNotificationConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateNotificationConfigurationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
83 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
84 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
85 inline void SetAggregationDuration(AggregationDuration value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
88 private:
89
90 Aws::String m_arn;
91 bool m_arnHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
100 bool m_aggregationDurationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Notifications
105} // namespace Aws
UpdateNotificationConfigurationRequest & WithAggregationDuration(AggregationDuration value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
UpdateNotificationConfigurationRequest & WithDescription(DescriptionT &&value)
AWS_NOTIFICATIONS_API UpdateNotificationConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String