AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActiveDirectoryConfig.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpaces
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WORKSPACES_API ActiveDirectoryConfig();
37 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
48 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline ActiveDirectoryConfig& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
50 inline ActiveDirectoryConfig& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
51 inline ActiveDirectoryConfig& WithDomainName(const char* value) { SetDomainName(value); return *this;}
53
55
58 inline const Aws::String& GetServiceAccountSecretArn() const{ return m_serviceAccountSecretArn; }
59 inline bool ServiceAccountSecretArnHasBeenSet() const { return m_serviceAccountSecretArnHasBeenSet; }
60 inline void SetServiceAccountSecretArn(const Aws::String& value) { m_serviceAccountSecretArnHasBeenSet = true; m_serviceAccountSecretArn = value; }
61 inline void SetServiceAccountSecretArn(Aws::String&& value) { m_serviceAccountSecretArnHasBeenSet = true; m_serviceAccountSecretArn = std::move(value); }
62 inline void SetServiceAccountSecretArn(const char* value) { m_serviceAccountSecretArnHasBeenSet = true; m_serviceAccountSecretArn.assign(value); }
65 inline ActiveDirectoryConfig& WithServiceAccountSecretArn(const char* value) { SetServiceAccountSecretArn(value); return *this;}
67 private:
68
69 Aws::String m_domainName;
70 bool m_domainNameHasBeenSet = false;
71
72 Aws::String m_serviceAccountSecretArn;
73 bool m_serviceAccountSecretArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WorkSpaces
78} // namespace Aws
AWS_WORKSPACES_API ActiveDirectoryConfig(Aws::Utils::Json::JsonView jsonValue)
ActiveDirectoryConfig & WithServiceAccountSecretArn(const Aws::String &value)
ActiveDirectoryConfig & WithServiceAccountSecretArn(Aws::String &&value)
void SetServiceAccountSecretArn(const Aws::String &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ActiveDirectoryConfig & WithDomainName(const Aws::String &value)
AWS_WORKSPACES_API ActiveDirectoryConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ActiveDirectoryConfig & WithServiceAccountSecretArn(const char *value)
ActiveDirectoryConfig & WithDomainName(Aws::String &&value)
ActiveDirectoryConfig & WithDomainName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue