AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateTrustResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace DirectoryService {
22namespace Model {
24 public:
25 AWS_DIRECTORYSERVICE_API UpdateTrustResult() = default;
28
30
31 inline const Aws::String& GetRequestId() const { return m_requestId; }
32 template <typename RequestIdT = Aws::String>
33 void SetRequestId(RequestIdT&& value) {
34 m_requestIdHasBeenSet = true;
35 m_requestId = std::forward<RequestIdT>(value);
36 }
37 template <typename RequestIdT = Aws::String>
38 UpdateTrustResult& WithRequestId(RequestIdT&& value) {
39 SetRequestId(std::forward<RequestIdT>(value));
40 return *this;
41 }
43
45
48 inline const Aws::String& GetTrustId() const { return m_trustId; }
49 template <typename TrustIdT = Aws::String>
50 void SetTrustId(TrustIdT&& value) {
51 m_trustIdHasBeenSet = true;
52 m_trustId = std::forward<TrustIdT>(value);
53 }
54 template <typename TrustIdT = Aws::String>
55 UpdateTrustResult& WithTrustId(TrustIdT&& value) {
56 SetTrustId(std::forward<TrustIdT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_requestId;
62
63 Aws::String m_trustId;
64 bool m_requestIdHasBeenSet = false;
65 bool m_trustIdHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace DirectoryService
70} // namespace Aws
AWS_DIRECTORYSERVICE_API UpdateTrustResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTORYSERVICE_API UpdateTrustResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTORYSERVICE_API UpdateTrustResult()=default
UpdateTrustResult & WithRequestId(RequestIdT &&value)
UpdateTrustResult & WithTrustId(TrustIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue