AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModifySamlPropertiesRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workspaces/model/SamlProperties.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/workspaces/model/DeletableSamlProperty.h>
13#include <utility>
14
15namespace Aws
16{
17namespace WorkSpaces
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_WORKSPACES_API ModifySamlPropertiesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ModifySamlProperties"; }
34
35 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetResourceId() const { return m_resourceId; }
45 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
46 template<typename ResourceIdT = Aws::String>
47 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
48 template<typename ResourceIdT = Aws::String>
49 ModifySamlPropertiesRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
51
53
56 inline const SamlProperties& GetSamlProperties() const { return m_samlProperties; }
57 inline bool SamlPropertiesHasBeenSet() const { return m_samlPropertiesHasBeenSet; }
58 template<typename SamlPropertiesT = SamlProperties>
59 void SetSamlProperties(SamlPropertiesT&& value) { m_samlPropertiesHasBeenSet = true; m_samlProperties = std::forward<SamlPropertiesT>(value); }
60 template<typename SamlPropertiesT = SamlProperties>
61 ModifySamlPropertiesRequest& WithSamlProperties(SamlPropertiesT&& value) { SetSamlProperties(std::forward<SamlPropertiesT>(value)); return *this;}
63
65
72 inline const Aws::Vector<DeletableSamlProperty>& GetPropertiesToDelete() const { return m_propertiesToDelete; }
73 inline bool PropertiesToDeleteHasBeenSet() const { return m_propertiesToDeleteHasBeenSet; }
74 template<typename PropertiesToDeleteT = Aws::Vector<DeletableSamlProperty>>
75 void SetPropertiesToDelete(PropertiesToDeleteT&& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete = std::forward<PropertiesToDeleteT>(value); }
76 template<typename PropertiesToDeleteT = Aws::Vector<DeletableSamlProperty>>
77 ModifySamlPropertiesRequest& WithPropertiesToDelete(PropertiesToDeleteT&& value) { SetPropertiesToDelete(std::forward<PropertiesToDeleteT>(value)); return *this;}
78 inline ModifySamlPropertiesRequest& AddPropertiesToDelete(DeletableSamlProperty value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete.push_back(value); return *this; }
80 private:
81
82 Aws::String m_resourceId;
83 bool m_resourceIdHasBeenSet = false;
84
85 SamlProperties m_samlProperties;
86 bool m_samlPropertiesHasBeenSet = false;
87
88 Aws::Vector<DeletableSamlProperty> m_propertiesToDelete;
89 bool m_propertiesToDeleteHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WorkSpaces
94} // 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