AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DisableClientAuthenticationRequest.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 DisableClientAuthenticationRequest() = 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 "DisableClientAuthentication"; }
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
57 inline ClientAuthenticationType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(ClientAuthenticationType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_directoryId;
70
72 bool m_directoryIdHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace DirectoryService
78} // namespace Aws
DisableClientAuthenticationRequest & WithDirectoryId(DirectoryIdT &&value)
DisableClientAuthenticationRequest & WithType(ClientAuthenticationType value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
AWS_DIRECTORYSERVICE_API DisableClientAuthenticationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String