AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateDataRetentionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/WickrRequest.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10#include <aws/wickr/model/DataRetentionActionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Wickr {
16namespace Model {
17
21 public:
22 AWS_WICKR_API UpdateDataRetentionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataRetention"; }
29
30 AWS_WICKR_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetNetworkId() const { return m_networkId; }
37 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
38 template <typename NetworkIdT = Aws::String>
39 void SetNetworkId(NetworkIdT&& value) {
40 m_networkIdHasBeenSet = true;
41 m_networkId = std::forward<NetworkIdT>(value);
42 }
43 template <typename NetworkIdT = Aws::String>
45 SetNetworkId(std::forward<NetworkIdT>(value));
46 return *this;
47 }
49
51
56 inline DataRetentionActionType GetActionType() const { return m_actionType; }
57 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
59 m_actionTypeHasBeenSet = true;
60 m_actionType = value;
61 }
63 SetActionType(value);
64 return *this;
65 }
67 private:
68 Aws::String m_networkId;
69
71 bool m_networkIdHasBeenSet = false;
72 bool m_actionTypeHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Wickr
77} // namespace Aws
AWS_WICKR_API UpdateDataRetentionRequest()=default
AWS_WICKR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateDataRetentionRequest & WithActionType(DataRetentionActionType value)
UpdateDataRetentionRequest & WithNetworkId(NetworkIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String