AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteAttributeMappingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rolesanywhere/RolesAnywhereRequest.h>
10#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
11#include <aws/rolesanywhere/model/CertificateField.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace RolesAnywhere {
20namespace Model {
21
25 public:
26 AWS_ROLESANYWHERE_API DeleteAttributeMappingRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteAttributeMapping"; }
33
34 AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override;
35
36 AWS_ROLESANYWHERE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const Aws::String& GetProfileId() const { return m_profileId; }
43 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
44 template <typename ProfileIdT = Aws::String>
45 void SetProfileId(ProfileIdT&& value) {
46 m_profileIdHasBeenSet = true;
47 m_profileId = std::forward<ProfileIdT>(value);
48 }
49 template <typename ProfileIdT = Aws::String>
51 SetProfileId(std::forward<ProfileIdT>(value));
52 return *this;
53 }
55
57
60 inline CertificateField GetCertificateField() const { return m_certificateField; }
61 inline bool CertificateFieldHasBeenSet() const { return m_certificateFieldHasBeenSet; }
63 m_certificateFieldHasBeenSet = true;
64 m_certificateField = value;
65 }
68 return *this;
69 }
71
73
77 inline const Aws::Vector<Aws::String>& GetSpecifiers() const { return m_specifiers; }
78 inline bool SpecifiersHasBeenSet() const { return m_specifiersHasBeenSet; }
79 template <typename SpecifiersT = Aws::Vector<Aws::String>>
80 void SetSpecifiers(SpecifiersT&& value) {
81 m_specifiersHasBeenSet = true;
82 m_specifiers = std::forward<SpecifiersT>(value);
83 }
84 template <typename SpecifiersT = Aws::Vector<Aws::String>>
86 SetSpecifiers(std::forward<SpecifiersT>(value));
87 return *this;
88 }
89 template <typename SpecifiersT = Aws::String>
91 m_specifiersHasBeenSet = true;
92 m_specifiers.emplace_back(std::forward<SpecifiersT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_profileId;
98
100
101 Aws::Vector<Aws::String> m_specifiers;
102 bool m_profileIdHasBeenSet = false;
103 bool m_certificateFieldHasBeenSet = false;
104 bool m_specifiersHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace RolesAnywhere
109} // namespace Aws
AWS_ROLESANYWHERE_API DeleteAttributeMappingRequest()=default
DeleteAttributeMappingRequest & WithSpecifiers(SpecifiersT &&value)
DeleteAttributeMappingRequest & AddSpecifiers(SpecifiersT &&value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
DeleteAttributeMappingRequest & WithCertificateField(CertificateField value)
AWS_ROLESANYWHERE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAttributeMappingRequest & WithProfileId(ProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector