AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDirectoryConfigRequest.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 CreateDirectoryConfigRequest();
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 "CreateDirectoryConfig"; }
34
35 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetDirectoryName() const{ return m_directoryName; }
46 inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; }
47 inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; }
48 inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); }
49 inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); }
50 inline CreateDirectoryConfigRequest& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;}
51 inline CreateDirectoryConfigRequest& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;}
52 inline CreateDirectoryConfigRequest& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitDistinguishedNames() const{ return m_organizationalUnitDistinguishedNames; }
61 inline bool OrganizationalUnitDistinguishedNamesHasBeenSet() const { return m_organizationalUnitDistinguishedNamesHasBeenSet; }
62 inline void SetOrganizationalUnitDistinguishedNames(const Aws::Vector<Aws::String>& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = value; }
63 inline void SetOrganizationalUnitDistinguishedNames(Aws::Vector<Aws::String>&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = std::move(value); }
66 inline CreateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(const Aws::String& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
67 inline CreateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(Aws::String&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(std::move(value)); return *this; }
68 inline CreateDirectoryConfigRequest& AddOrganizationalUnitDistinguishedNames(const char* value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
70
72
76 inline const ServiceAccountCredentials& GetServiceAccountCredentials() const{ return m_serviceAccountCredentials; }
77 inline bool ServiceAccountCredentialsHasBeenSet() const { return m_serviceAccountCredentialsHasBeenSet; }
78 inline void SetServiceAccountCredentials(const ServiceAccountCredentials& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = value; }
79 inline void SetServiceAccountCredentials(ServiceAccountCredentials&& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = std::move(value); }
83
85
96 inline const CertificateBasedAuthProperties& GetCertificateBasedAuthProperties() const{ return m_certificateBasedAuthProperties; }
97 inline bool CertificateBasedAuthPropertiesHasBeenSet() const { return m_certificateBasedAuthPropertiesHasBeenSet; }
98 inline void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = value; }
99 inline void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = std::move(value); }
103 private:
104
105 Aws::String m_directoryName;
106 bool m_directoryNameHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_organizationalUnitDistinguishedNames;
109 bool m_organizationalUnitDistinguishedNamesHasBeenSet = false;
110
111 ServiceAccountCredentials m_serviceAccountCredentials;
112 bool m_serviceAccountCredentialsHasBeenSet = false;
113
114 CertificateBasedAuthProperties m_certificateBasedAuthProperties;
115 bool m_certificateBasedAuthPropertiesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AppStream
120} // namespace Aws
CreateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(Aws::String &&value)
void SetOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateDirectoryConfigRequest & WithServiceAccountCredentials(const ServiceAccountCredentials &value)
const Aws::Vector< Aws::String > & GetOrganizationalUnitDistinguishedNames() const
void SetServiceAccountCredentials(ServiceAccountCredentials &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDirectoryConfigRequest & WithOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
CreateDirectoryConfigRequest & WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
const ServiceAccountCredentials & GetServiceAccountCredentials() const
void SetServiceAccountCredentials(const ServiceAccountCredentials &value)
CreateDirectoryConfigRequest & WithOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &value)
CreateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(const Aws::String &value)
void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
const CertificateBasedAuthProperties & GetCertificateBasedAuthProperties() const
CreateDirectoryConfigRequest & WithDirectoryName(const Aws::String &value)
CreateDirectoryConfigRequest & WithDirectoryName(const char *value)
CreateDirectoryConfigRequest & WithServiceAccountCredentials(ServiceAccountCredentials &&value)
void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
void SetOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
CreateDirectoryConfigRequest & WithCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
CreateDirectoryConfigRequest & AddOrganizationalUnitDistinguishedNames(const char *value)
CreateDirectoryConfigRequest & WithDirectoryName(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