AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubscriptionRequest.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/shield/model/AutoRenew.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Shield
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SHIELD_API UpdateSubscriptionRequest();
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 "UpdateSubscription"; }
31
32 AWS_SHIELD_API Aws::String SerializePayload() const override;
33
35
36
38
47 inline const AutoRenew& GetAutoRenew() const{ return m_autoRenew; }
48 inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
49 inline void SetAutoRenew(const AutoRenew& value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
50 inline void SetAutoRenew(AutoRenew&& value) { m_autoRenewHasBeenSet = true; m_autoRenew = std::move(value); }
51 inline UpdateSubscriptionRequest& WithAutoRenew(const AutoRenew& value) { SetAutoRenew(value); return *this;}
52 inline UpdateSubscriptionRequest& WithAutoRenew(AutoRenew&& value) { SetAutoRenew(std::move(value)); return *this;}
54 private:
55
56 AutoRenew m_autoRenew;
57 bool m_autoRenewHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Shield
62} // namespace Aws
AWS_SHIELD_API Aws::String SerializePayload() const override
UpdateSubscriptionRequest & WithAutoRenew(AutoRenew &&value)
virtual const char * GetServiceRequestName() const override
UpdateSubscriptionRequest & WithAutoRenew(const AutoRenew &value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String