AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartActiveApprovalTeamDeletionRequest.h
1
6#pragma once
7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/mpa/MPARequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MPA
15{
16namespace Model
17{
18
22 {
23 public:
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 "StartActiveApprovalTeamDeletion"; }
31
32 AWS_MPA_API Aws::String SerializePayload() const override;
33
34
36
40 inline int GetPendingWindowDays() const { return m_pendingWindowDays; }
41 inline bool PendingWindowDaysHasBeenSet() const { return m_pendingWindowDaysHasBeenSet; }
42 inline void SetPendingWindowDays(int value) { m_pendingWindowDaysHasBeenSet = true; m_pendingWindowDays = value; }
45
47
50 inline const Aws::String& GetArn() const { return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 StartActiveApprovalTeamDeletionRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57 private:
58
59 int m_pendingWindowDays{0};
60 bool m_pendingWindowDaysHasBeenSet = false;
61
62 Aws::String m_arn;
63 bool m_arnHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace MPA
68} // namespace Aws
StartActiveApprovalTeamDeletionRequest & WithArn(ArnT &&value)
AWS_MPA_API Aws::String SerializePayload() const override
StartActiveApprovalTeamDeletionRequest & WithPendingWindowDays(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String