AWS SDK for C++

AWS SDK for C++ Version 1.11.776

Loading...
Searching...
No Matches
UpdateAutoManagementRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/service-quotas/ServiceQuotasRequest.h>
11#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
12#include <aws/service-quotas/model/OptInType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ServiceQuotas {
18namespace Model {
19
23 public:
24 AWS_SERVICEQUOTAS_API UpdateAutoManagementRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAutoManagement"; }
31
32 AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override;
33
34 AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
42 inline OptInType GetOptInType() const { return m_optInType; }
43 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
44 inline void SetOptInType(OptInType value) {
45 m_optInTypeHasBeenSet = true;
46 m_optInType = value;
47 }
49 SetOptInType(value);
50 return *this;
51 }
53
55
61 inline const Aws::String& GetNotificationArn() const { return m_notificationArn; }
62 inline bool NotificationArnHasBeenSet() const { return m_notificationArnHasBeenSet; }
63 template <typename NotificationArnT = Aws::String>
64 void SetNotificationArn(NotificationArnT&& value) {
65 m_notificationArnHasBeenSet = true;
66 m_notificationArn = std::forward<NotificationArnT>(value);
67 }
68 template <typename NotificationArnT = Aws::String>
70 SetNotificationArn(std::forward<NotificationArnT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetExclusionList() const { return m_exclusionList; }
82 inline bool ExclusionListHasBeenSet() const { return m_exclusionListHasBeenSet; }
83 template <typename ExclusionListT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
84 void SetExclusionList(ExclusionListT&& value) {
85 m_exclusionListHasBeenSet = true;
86 m_exclusionList = std::forward<ExclusionListT>(value);
87 }
88 template <typename ExclusionListT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
90 SetExclusionList(std::forward<ExclusionListT>(value));
91 return *this;
92 }
93 template <typename ExclusionListKeyT = Aws::String, typename ExclusionListValueT = Aws::Vector<Aws::String>>
94 UpdateAutoManagementRequest& AddExclusionList(ExclusionListKeyT&& key, ExclusionListValueT&& value) {
95 m_exclusionListHasBeenSet = true;
96 m_exclusionList.emplace(std::forward<ExclusionListKeyT>(key), std::forward<ExclusionListValueT>(value));
97 return *this;
98 }
100 private:
101 OptInType m_optInType{OptInType::NOT_SET};
102
103 Aws::String m_notificationArn;
104
106 bool m_optInTypeHasBeenSet = false;
107 bool m_notificationArnHasBeenSet = false;
108 bool m_exclusionListHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace ServiceQuotas
113} // namespace Aws
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICEQUOTAS_API UpdateAutoManagementRequest()=default
UpdateAutoManagementRequest & WithExclusionList(ExclusionListT &&value)
UpdateAutoManagementRequest & AddExclusionList(ExclusionListKeyT &&key, ExclusionListValueT &&value)
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
UpdateAutoManagementRequest & WithNotificationArn(NotificationArnT &&value)
UpdateAutoManagementRequest & WithOptInType(OptInType value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetExclusionList() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String