AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
EnableClientAuthenticationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/ClientAuthenticationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DirectoryService {
16namespace Model {
17
21 public:
22 AWS_DIRECTORYSERVICE_API EnableClientAuthenticationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "EnableClientAuthentication"; }
29
30 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
39 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
40 template <typename DirectoryIdT = Aws::String>
41 void SetDirectoryId(DirectoryIdT&& value) {
42 m_directoryIdHasBeenSet = true;
43 m_directoryId = std::forward<DirectoryIdT>(value);
44 }
45 template <typename DirectoryIdT = Aws::String>
47 SetDirectoryId(std::forward<DirectoryIdT>(value));
48 return *this;
49 }
51
53
59 inline ClientAuthenticationType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(ClientAuthenticationType value) {
62 m_typeHasBeenSet = true;
63 m_type = value;
64 }
66 SetType(value);
67 return *this;
68 }
70 private:
71 Aws::String m_directoryId;
72
74 bool m_directoryIdHasBeenSet = false;
75 bool m_typeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DirectoryService
80} // 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