AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateTrustResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Aws::String& GetRequestId() const{ return m_requestId; }
37 
38 
39  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
40 
41 
42  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
43 
44 
45  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
46 
47 
48  inline UpdateTrustResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
49 
50 
51  inline UpdateTrustResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
52 
53 
54  inline UpdateTrustResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
55 
56 
60  inline const Aws::String& GetTrustId() const{ return m_trustId; }
61 
65  inline void SetTrustId(const Aws::String& value) { m_trustId = value; }
66 
70  inline void SetTrustId(Aws::String&& value) { m_trustId = std::move(value); }
71 
75  inline void SetTrustId(const char* value) { m_trustId.assign(value); }
76 
80  inline UpdateTrustResult& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;}
81 
85  inline UpdateTrustResult& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;}
86 
90  inline UpdateTrustResult& WithTrustId(const char* value) { SetTrustId(value); return *this;}
91 
92  private:
93 
94  Aws::String m_requestId;
95 
96  Aws::String m_trustId;
97  };
98 
99 } // namespace Model
100 } // namespace DirectoryService
101 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::UpdateTrustResult::WithTrustId
UpdateTrustResult & WithTrustId(const Aws::String &value)
Definition: UpdateTrustResult.h:80
Aws::DirectoryService::Model::UpdateTrustResult::SetTrustId
void SetTrustId(const Aws::String &value)
Definition: UpdateTrustResult.h:65
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::UpdateTrustResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateTrustResult.h:45
Aws::DirectoryService::Model::UpdateTrustResult::SetTrustId
void SetTrustId(const char *value)
Definition: UpdateTrustResult.h:75
Aws::DirectoryService::Model::UpdateTrustResult::WithRequestId
UpdateTrustResult & WithRequestId(const Aws::String &value)
Definition: UpdateTrustResult.h:48
Aws::DirectoryService::Model::UpdateTrustResult::GetTrustId
const Aws::String & GetTrustId() const
Definition: UpdateTrustResult.h:60
Aws::DirectoryService::Model::UpdateTrustResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateTrustResult.h:42
Aws::DirectoryService::Model::UpdateTrustResult::WithRequestId
UpdateTrustResult & WithRequestId(Aws::String &&value)
Definition: UpdateTrustResult.h:51
AWSString.h
Aws::DirectoryService::Model::UpdateTrustResult::operator=
UpdateTrustResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::UpdateTrustResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateTrustResult.h:36
Aws::DirectoryService::Model::UpdateTrustResult::WithTrustId
UpdateTrustResult & WithTrustId(Aws::String &&value)
Definition: UpdateTrustResult.h:85
Aws::DirectoryService::Model::UpdateTrustResult::WithTrustId
UpdateTrustResult & WithTrustId(const char *value)
Definition: UpdateTrustResult.h:90
Aws::DirectoryService::Model::UpdateTrustResult::UpdateTrustResult
UpdateTrustResult()
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::UpdateTrustResult::UpdateTrustResult
UpdateTrustResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::UpdateTrustResult::SetTrustId
void SetTrustId(Aws::String &&value)
Definition: UpdateTrustResult.h:70
Aws::DirectoryService::Model::UpdateTrustResult::WithRequestId
UpdateTrustResult & WithRequestId(const char *value)
Definition: UpdateTrustResult.h:54
Aws::DirectoryService::Model::UpdateTrustResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateTrustResult.h:39
Aws::DirectoryService::Model::UpdateTrustResult
Definition: UpdateTrustResult.h:28