AWS SDK for C++  1.8.152
AWS SDK for C++
DeleteSnapshotResult.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 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
45 
49  inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
50 
54  inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
55 
59  inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
60 
64  inline DeleteSnapshotResult& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
65 
69  inline DeleteSnapshotResult& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
70 
74  inline DeleteSnapshotResult& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
75 
76  private:
77 
78  Aws::String m_snapshotId;
79  };
80 
81 } // namespace Model
82 } // namespace DirectoryService
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DeleteSnapshotResult::WithSnapshotId
DeleteSnapshotResult & WithSnapshotId(Aws::String &&value)
Definition: DeleteSnapshotResult.h:69
Aws::DirectoryService::Model::DeleteSnapshotResult::WithSnapshotId
DeleteSnapshotResult & WithSnapshotId(const Aws::String &value)
Definition: DeleteSnapshotResult.h:64
Aws::DirectoryService::Model::DeleteSnapshotResult::operator=
DeleteSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DeleteSnapshotResult::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: DeleteSnapshotResult.h:49
AWSString.h
Aws::DirectoryService::Model::DeleteSnapshotResult::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: DeleteSnapshotResult.h:54
Aws::DirectoryService::Model::DeleteSnapshotResult::WithSnapshotId
DeleteSnapshotResult & WithSnapshotId(const char *value)
Definition: DeleteSnapshotResult.h:74
Aws::DirectoryService::Model::DeleteSnapshotResult::DeleteSnapshotResult
DeleteSnapshotResult()
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::DeleteSnapshotResult::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: DeleteSnapshotResult.h:59
Aws::DirectoryService::Model::DeleteSnapshotResult::DeleteSnapshotResult
DeleteSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DeleteSnapshotResult::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: DeleteSnapshotResult.h:44
Aws::DirectoryService::Model::DeleteSnapshotResult
Definition: DeleteSnapshotResult.h:34