AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ModifySamlPropertiesRequest.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/workspaces/WorkSpacesRequest.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/DeletableSamlProperty.h>
12#include <aws/workspaces/model/SamlProperties.h>
13
14#include <utility>
15
16namespace Aws {
17namespace WorkSpaces {
18namespace Model {
19
23 public:
24 AWS_WORKSPACES_API ModifySamlPropertiesRequest() = default;
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 "ModifySamlProperties"; }
31
32 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetResourceId() const { return m_resourceId; }
41 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
42 template <typename ResourceIdT = Aws::String>
43 void SetResourceId(ResourceIdT&& value) {
44 m_resourceIdHasBeenSet = true;
45 m_resourceId = std::forward<ResourceIdT>(value);
46 }
47 template <typename ResourceIdT = Aws::String>
49 SetResourceId(std::forward<ResourceIdT>(value));
50 return *this;
51 }
53
55
58 inline const SamlProperties& GetSamlProperties() const { return m_samlProperties; }
59 inline bool SamlPropertiesHasBeenSet() const { return m_samlPropertiesHasBeenSet; }
60 template <typename SamlPropertiesT = SamlProperties>
61 void SetSamlProperties(SamlPropertiesT&& value) {
62 m_samlPropertiesHasBeenSet = true;
63 m_samlProperties = std::forward<SamlPropertiesT>(value);
64 }
65 template <typename SamlPropertiesT = SamlProperties>
67 SetSamlProperties(std::forward<SamlPropertiesT>(value));
68 return *this;
69 }
71
73
80 inline const Aws::Vector<DeletableSamlProperty>& GetPropertiesToDelete() const { return m_propertiesToDelete; }
81 inline bool PropertiesToDeleteHasBeenSet() const { return m_propertiesToDeleteHasBeenSet; }
82 template <typename PropertiesToDeleteT = Aws::Vector<DeletableSamlProperty>>
83 void SetPropertiesToDelete(PropertiesToDeleteT&& value) {
84 m_propertiesToDeleteHasBeenSet = true;
85 m_propertiesToDelete = std::forward<PropertiesToDeleteT>(value);
86 }
87 template <typename PropertiesToDeleteT = Aws::Vector<DeletableSamlProperty>>
89 SetPropertiesToDelete(std::forward<PropertiesToDeleteT>(value));
90 return *this;
91 }
93 m_propertiesToDeleteHasBeenSet = true;
94 m_propertiesToDelete.push_back(value);
95 return *this;
96 }
98 private:
99 Aws::String m_resourceId;
100
101 SamlProperties m_samlProperties;
102
103 Aws::Vector<DeletableSamlProperty> m_propertiesToDelete;
104 bool m_resourceIdHasBeenSet = false;
105 bool m_samlPropertiesHasBeenSet = false;
106 bool m_propertiesToDeleteHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace WorkSpaces
111} // namespace Aws
ModifySamlPropertiesRequest & WithResourceId(ResourceIdT &&value)
ModifySamlPropertiesRequest & WithSamlProperties(SamlPropertiesT &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< DeletableSamlProperty > & GetPropertiesToDelete() const
ModifySamlPropertiesRequest & WithPropertiesToDelete(PropertiesToDeleteT &&value)
ModifySamlPropertiesRequest & AddPropertiesToDelete(DeletableSamlProperty value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
AWS_WORKSPACES_API ModifySamlPropertiesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector