AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteTenantResourceAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SESV2 {
15namespace Model {
16
24 public:
25 AWS_SESV2_API DeleteTenantResourceAssociationRequest() = 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 "DeleteTenantResourceAssociation"; }
32
33 AWS_SESV2_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetTenantName() const { return m_tenantName; }
40 inline bool TenantNameHasBeenSet() const { return m_tenantNameHasBeenSet; }
41 template <typename TenantNameT = Aws::String>
42 void SetTenantName(TenantNameT&& value) {
43 m_tenantNameHasBeenSet = true;
44 m_tenantName = std::forward<TenantNameT>(value);
45 }
46 template <typename TenantNameT = Aws::String>
48 SetTenantName(std::forward<TenantNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
59 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
60 template <typename ResourceArnT = Aws::String>
61 void SetResourceArn(ResourceArnT&& value) {
62 m_resourceArnHasBeenSet = true;
63 m_resourceArn = std::forward<ResourceArnT>(value);
64 }
65 template <typename ResourceArnT = Aws::String>
67 SetResourceArn(std::forward<ResourceArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_tenantName;
73
74 Aws::String m_resourceArn;
75 bool m_tenantNameHasBeenSet = false;
76 bool m_resourceArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SESV2
81} // namespace Aws
DeleteTenantResourceAssociationRequest & WithResourceArn(ResourceArnT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
DeleteTenantResourceAssociationRequest & WithTenantName(TenantNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String