AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnableClientAuthenticationRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ds/model/ClientAuthenticationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectoryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTORYSERVICE_API EnableClientAuthenticationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "EnableClientAuthentication"; }
32
33 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
43 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
44 template<typename DirectoryIdT = Aws::String>
45 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
46 template<typename DirectoryIdT = Aws::String>
47 EnableClientAuthenticationRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
49
51
57 inline ClientAuthenticationType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(ClientAuthenticationType value) { m_typeHasBeenSet = true; m_type = value; }
62 private:
63
64 Aws::String m_directoryId;
65 bool m_directoryIdHasBeenSet = false;
66
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DirectoryService
73} // namespace Aws
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EnableClientAuthenticationRequest & WithType(ClientAuthenticationType value)
AWS_DIRECTORYSERVICE_API EnableClientAuthenticationRequest()=default
EnableClientAuthenticationRequest & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String