AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDirectoryConfigRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appstream/model/ServiceAccountCredentials.h>
12#include <aws/appstream/model/CertificateBasedAuthProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace AppStream
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPSTREAM_API UpdateDirectoryConfigRequest();
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 "UpdateDirectoryConfig"; }
34
35 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetDirectoryName() const{ return m_directoryName; }
45 inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; }
46 inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; }
47 inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); }
48 inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); }
49 inline UpdateDirectoryConfigRequest& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;}
50 inline UpdateDirectoryConfigRequest& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;}
51 inline UpdateDirectoryConfigRequest& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;}
53
55
59 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitDistinguishedNames() const{ return m_organizationalUnitDistinguishedNames; }
60 inline bool OrganizationalUnitDistinguishedNamesHasBeenSet() const { return m_organizationalUnitDistinguishedNamesHasBeenSet; }
61 inline void SetOrganizationalUnitDistinguishedNames(const Aws::Vector<Aws::String>& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = value; }
62 inline void SetOrganizationalUnitDistinguishedNames(Aws::Vector<Aws::String>&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = std::move(value); }
65 inline UpdateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(const Aws::String& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
66 inline UpdateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(Aws::String&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(std::move(value)); return *this; }
67 inline UpdateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(const char* value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
69
71
75 inline const ServiceAccountCredentials& GetServiceAccountCredentials() const{ return m_serviceAccountCredentials; }
76 inline bool ServiceAccountCredentialsHasBeenSet() const { return m_serviceAccountCredentialsHasBeenSet; }
77 inline void SetServiceAccountCredentials(const ServiceAccountCredentials& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = value; }
78 inline void SetServiceAccountCredentials(ServiceAccountCredentials&& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = std::move(value); }
82
84
95 inline const CertificateBasedAuthProperties& GetCertificateBasedAuthProperties() const{ return m_certificateBasedAuthProperties; }
96 inline bool CertificateBasedAuthPropertiesHasBeenSet() const { return m_certificateBasedAuthPropertiesHasBeenSet; }
97 inline void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = value; }
98 inline void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = std::move(value); }
102 private:
103
104 Aws::String m_directoryName;
105 bool m_directoryNameHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_organizationalUnitDistinguishedNames;
108 bool m_organizationalUnitDistinguishedNamesHasBeenSet = false;
109
110 ServiceAccountCredentials m_serviceAccountCredentials;
111 bool m_serviceAccountCredentialsHasBeenSet = false;
112
113 CertificateBasedAuthProperties m_certificateBasedAuthProperties;
114 bool m_certificateBasedAuthPropertiesHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace AppStream
119} // namespace Aws
AWS_APPSTREAM_API Aws::String SerializePayload() const override
UpdateDirectoryConfigRequest & WithDirectoryName(const char *value)
void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
void SetServiceAccountCredentials(const ServiceAccountCredentials &value)
UpdateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(Aws::String &&value)
UpdateDirectoryConfigRequest & WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
UpdateDirectoryConfigRequest & WithServiceAccountCredentials(ServiceAccountCredentials &&value)
UpdateDirectoryConfigRequest & WithServiceAccountCredentials(const ServiceAccountCredentials &value)
const Aws::Vector< Aws::String > & GetOrganizationalUnitDistinguishedNames() const
const ServiceAccountCredentials & GetServiceAccountCredentials() const
UpdateDirectoryConfigRequest & WithCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDirectoryConfigRequest & WithDirectoryName(Aws::String &&value)
void SetOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
void SetServiceAccountCredentials(ServiceAccountCredentials &&value)
UpdateDirectoryConfigRequest & WithOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
UpdateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(const char *value)
UpdateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(const Aws::String &value)
const CertificateBasedAuthProperties & GetCertificateBasedAuthProperties() const
UpdateDirectoryConfigRequest & WithOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &value)
UpdateDirectoryConfigRequest & WithDirectoryName(const Aws::String &value)
void SetOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &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