AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
VerifyTrustRequest.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
11#include <utility>
12
13namespace Aws {
14namespace DirectoryService {
15namespace Model {
16
25 public:
26 AWS_DIRECTORYSERVICE_API VerifyTrustRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "VerifyTrust"; }
33
34 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetTrustId() const { return m_trustId; }
43 inline bool TrustIdHasBeenSet() const { return m_trustIdHasBeenSet; }
44 template <typename TrustIdT = Aws::String>
45 void SetTrustId(TrustIdT&& value) {
46 m_trustIdHasBeenSet = true;
47 m_trustId = std::forward<TrustIdT>(value);
48 }
49 template <typename TrustIdT = Aws::String>
50 VerifyTrustRequest& WithTrustId(TrustIdT&& value) {
51 SetTrustId(std::forward<TrustIdT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_trustId;
57 bool m_trustIdHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace DirectoryService
62} // namespace Aws
VerifyTrustRequest & WithTrustId(TrustIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API VerifyTrustRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String