AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteTrustResult.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 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetTrustId() const{ return m_trustId; }
44 
48  inline void SetTrustId(const Aws::String& value) { m_trustId = value; }
49 
53  inline void SetTrustId(Aws::String&& value) { m_trustId = std::move(value); }
54 
58  inline void SetTrustId(const char* value) { m_trustId.assign(value); }
59 
63  inline DeleteTrustResult& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;}
64 
68  inline DeleteTrustResult& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;}
69 
73  inline DeleteTrustResult& WithTrustId(const char* value) { SetTrustId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_trustId;
78  };
79 
80 } // namespace Model
81 } // namespace DirectoryService
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::DeleteTrustResult::GetTrustId
const Aws::String & GetTrustId() const
Definition: DeleteTrustResult.h:43
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DeleteTrustResult
Definition: DeleteTrustResult.h:33
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DeleteTrustResult::WithTrustId
DeleteTrustResult & WithTrustId(const Aws::String &value)
Definition: DeleteTrustResult.h:63
Aws::DirectoryService::Model::DeleteTrustResult::operator=
DeleteTrustResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DeleteTrustResult::SetTrustId
void SetTrustId(const Aws::String &value)
Definition: DeleteTrustResult.h:48
AWSString.h
Aws::DirectoryService::Model::DeleteTrustResult::SetTrustId
void SetTrustId(Aws::String &&value)
Definition: DeleteTrustResult.h:53
Aws::DirectoryService::Model::DeleteTrustResult::DeleteTrustResult
DeleteTrustResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DeleteTrustResult::WithTrustId
DeleteTrustResult & WithTrustId(const char *value)
Definition: DeleteTrustResult.h:73
Aws::DirectoryService::Model::DeleteTrustResult::DeleteTrustResult
DeleteTrustResult()
Aws::DirectoryService::Model::DeleteTrustResult::SetTrustId
void SetTrustId(const char *value)
Definition: DeleteTrustResult.h:58
Aws::DirectoryService::Model::DeleteTrustResult::WithTrustId
DeleteTrustResult & WithTrustId(Aws::String &&value)
Definition: DeleteTrustResult.h:68