AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
47 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
48 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
49 inline ModifySamlPropertiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
50 inline ModifySamlPropertiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
51 inline ModifySamlPropertiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
53
55
58 inline const SamlProperties& GetSamlProperties() const{ return m_samlProperties; }
59 inline bool SamlPropertiesHasBeenSet() const { return m_samlPropertiesHasBeenSet; }
60 inline void SetSamlProperties(const SamlProperties& value) { m_samlPropertiesHasBeenSet = true; m_samlProperties = value; }
61 inline void SetSamlProperties(SamlProperties&& value) { m_samlPropertiesHasBeenSet = true; m_samlProperties = std::move(value); }
63 inline ModifySamlPropertiesRequest& WithSamlProperties(SamlProperties&& value) { SetSamlProperties(std::move(value)); return *this;}
65
67
74 inline const Aws::Vector<DeletableSamlProperty>& GetPropertiesToDelete() const{ return m_propertiesToDelete; }
75 inline bool PropertiesToDeleteHasBeenSet() const { return m_propertiesToDeleteHasBeenSet; }
76 inline void SetPropertiesToDelete(const Aws::Vector<DeletableSamlProperty>& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete = value; }
77 inline void SetPropertiesToDelete(Aws::Vector<DeletableSamlProperty>&& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete = std::move(value); }
80 inline ModifySamlPropertiesRequest& AddPropertiesToDelete(const DeletableSamlProperty& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete.push_back(value); return *this; }
81 inline ModifySamlPropertiesRequest& AddPropertiesToDelete(DeletableSamlProperty&& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::String m_resourceId;
86 bool m_resourceIdHasBeenSet = false;
87
88 SamlProperties m_samlProperties;
89 bool m_samlPropertiesHasBeenSet = false;
90
91 Aws::Vector<DeletableSamlProperty> m_propertiesToDelete;
92 bool m_propertiesToDeleteHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace WorkSpaces
97} // namespace Aws
ModifySamlPropertiesRequest & WithPropertiesToDelete(const Aws::Vector< DeletableSamlProperty > &value)
void SetPropertiesToDelete(Aws::Vector< DeletableSamlProperty > &&value)
ModifySamlPropertiesRequest & WithSamlProperties(const SamlProperties &value)
ModifySamlPropertiesRequest & AddPropertiesToDelete(const DeletableSamlProperty &value)
ModifySamlPropertiesRequest & AddPropertiesToDelete(DeletableSamlProperty &&value)
ModifySamlPropertiesRequest & WithSamlProperties(SamlProperties &&value)
ModifySamlPropertiesRequest & WithResourceId(const char *value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< DeletableSamlProperty > & GetPropertiesToDelete() const
void SetPropertiesToDelete(const Aws::Vector< DeletableSamlProperty > &value)
ModifySamlPropertiesRequest & WithResourceId(Aws::String &&value)
ModifySamlPropertiesRequest & WithResourceId(const Aws::String &value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
ModifySamlPropertiesRequest & WithPropertiesToDelete(Aws::Vector< DeletableSamlProperty > &&value)
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