AWS SDK for C++  1.8.154
AWS SDK for C++
VerifyTrustRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "VerifyTrust"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetTrustId() const{ return m_trustId; }
46 
50  inline bool TrustIdHasBeenSet() const { return m_trustIdHasBeenSet; }
51 
55  inline void SetTrustId(const Aws::String& value) { m_trustIdHasBeenSet = true; m_trustId = value; }
56 
60  inline void SetTrustId(Aws::String&& value) { m_trustIdHasBeenSet = true; m_trustId = std::move(value); }
61 
65  inline void SetTrustId(const char* value) { m_trustIdHasBeenSet = true; m_trustId.assign(value); }
66 
70  inline VerifyTrustRequest& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;}
71 
75  inline VerifyTrustRequest& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;}
76 
80  inline VerifyTrustRequest& WithTrustId(const char* value) { SetTrustId(value); return *this;}
81 
82  private:
83 
84  Aws::String m_trustId;
85  bool m_trustIdHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace DirectoryService
90 } // namespace Aws
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::VerifyTrustRequest::WithTrustId
VerifyTrustRequest & WithTrustId(Aws::String &&value)
Definition: VerifyTrustRequest.h:75
Aws::DirectoryService::Model::VerifyTrustRequest::SetTrustId
void SetTrustId(Aws::String &&value)
Definition: VerifyTrustRequest.h:60
Aws::DirectoryService::Model::VerifyTrustRequest::WithTrustId
VerifyTrustRequest & WithTrustId(const Aws::String &value)
Definition: VerifyTrustRequest.h:70
Aws::DirectoryService::Model::VerifyTrustRequest::SetTrustId
void SetTrustId(const Aws::String &value)
Definition: VerifyTrustRequest.h:55
Aws::DirectoryService::Model::VerifyTrustRequest::GetTrustId
const Aws::String & GetTrustId() const
Definition: VerifyTrustRequest.h:45
Aws::DirectoryService::Model::VerifyTrustRequest::VerifyTrustRequest
VerifyTrustRequest()
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::VerifyTrustRequest
Definition: VerifyTrustRequest.h:27
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::VerifyTrustRequest::TrustIdHasBeenSet
bool TrustIdHasBeenSet() const
Definition: VerifyTrustRequest.h:50
AWSString.h
Aws::DirectoryService::Model::VerifyTrustRequest::WithTrustId
VerifyTrustRequest & WithTrustId(const char *value)
Definition: VerifyTrustRequest.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::VerifyTrustRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: VerifyTrustRequest.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::VerifyTrustRequest::SetTrustId
void SetTrustId(const char *value)
Definition: VerifyTrustRequest.h:65
DirectoryServiceRequest.h
Aws::DirectoryService::Model::VerifyTrustRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::VerifyTrustRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override