AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DirectoryConfig.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appstream/model/ServiceAccountCredentials.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/appstream/model/CertificateBasedAuthProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AppStream
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_APPSTREAM_API DirectoryConfig();
40 AWS_APPSTREAM_API DirectoryConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetDirectoryName() const{ return m_directoryName; }
51 inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; }
52 inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; }
53 inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); }
54 inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); }
55 inline DirectoryConfig& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;}
56 inline DirectoryConfig& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;}
57 inline DirectoryConfig& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitDistinguishedNames() const{ return m_organizationalUnitDistinguishedNames; }
66 inline bool OrganizationalUnitDistinguishedNamesHasBeenSet() const { return m_organizationalUnitDistinguishedNamesHasBeenSet; }
67 inline void SetOrganizationalUnitDistinguishedNames(const Aws::Vector<Aws::String>& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = value; }
68 inline void SetOrganizationalUnitDistinguishedNames(Aws::Vector<Aws::String>&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames = std::move(value); }
71 inline DirectoryConfig& AddOrganizationalUnitDistinguishedNames(const Aws::String& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
72 inline DirectoryConfig& AddOrganizationalUnitDistinguishedNames(Aws::String&& value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(std::move(value)); return *this; }
73 inline DirectoryConfig& AddOrganizationalUnitDistinguishedNames(const char* value) { m_organizationalUnitDistinguishedNamesHasBeenSet = true; m_organizationalUnitDistinguishedNames.push_back(value); return *this; }
75
77
81 inline const ServiceAccountCredentials& GetServiceAccountCredentials() const{ return m_serviceAccountCredentials; }
82 inline bool ServiceAccountCredentialsHasBeenSet() const { return m_serviceAccountCredentialsHasBeenSet; }
83 inline void SetServiceAccountCredentials(const ServiceAccountCredentials& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = value; }
84 inline void SetServiceAccountCredentials(ServiceAccountCredentials&& value) { m_serviceAccountCredentialsHasBeenSet = true; m_serviceAccountCredentials = std::move(value); }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
96 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
97 inline DirectoryConfig& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
98 inline DirectoryConfig& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
100
102
113 inline const CertificateBasedAuthProperties& GetCertificateBasedAuthProperties() const{ return m_certificateBasedAuthProperties; }
114 inline bool CertificateBasedAuthPropertiesHasBeenSet() const { return m_certificateBasedAuthPropertiesHasBeenSet; }
115 inline void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = value; }
116 inline void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = std::move(value); }
120 private:
121
122 Aws::String m_directoryName;
123 bool m_directoryNameHasBeenSet = false;
124
125 Aws::Vector<Aws::String> m_organizationalUnitDistinguishedNames;
126 bool m_organizationalUnitDistinguishedNamesHasBeenSet = false;
127
128 ServiceAccountCredentials m_serviceAccountCredentials;
129 bool m_serviceAccountCredentialsHasBeenSet = false;
130
131 Aws::Utils::DateTime m_createdTime;
132 bool m_createdTimeHasBeenSet = false;
133
134 CertificateBasedAuthProperties m_certificateBasedAuthProperties;
135 bool m_certificateBasedAuthPropertiesHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppStream
140} // namespace Aws
DirectoryConfig & AddOrganizationalUnitDistinguishedNames(const char *value)
DirectoryConfig & WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
const ServiceAccountCredentials & GetServiceAccountCredentials() const
DirectoryConfig & WithDirectoryName(const Aws::String &value)
DirectoryConfig & WithServiceAccountCredentials(const ServiceAccountCredentials &value)
void SetServiceAccountCredentials(ServiceAccountCredentials &&value)
DirectoryConfig & WithDirectoryName(const char *value)
AWS_APPSTREAM_API DirectoryConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const CertificateBasedAuthProperties & GetCertificateBasedAuthProperties() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
DirectoryConfig & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetDirectoryName(Aws::String &&value)
DirectoryConfig & WithCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
DirectoryConfig & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
DirectoryConfig & AddOrganizationalUnitDistinguishedNames(Aws::String &&value)
DirectoryConfig & WithDirectoryName(Aws::String &&value)
void SetDirectoryName(const Aws::String &value)
DirectoryConfig & AddOrganizationalUnitDistinguishedNames(const Aws::String &value)
DirectoryConfig & WithOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &value)
DirectoryConfig & WithServiceAccountCredentials(ServiceAccountCredentials &&value)
AWS_APPSTREAM_API DirectoryConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDirectoryName() const
void SetServiceAccountCredentials(const ServiceAccountCredentials &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
void SetOrganizationalUnitDistinguishedNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetOrganizationalUnitDistinguishedNames() const
void SetDirectoryName(const char *value)
DirectoryConfig & WithOrganizationalUnitDistinguishedNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue