AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartActiveApprovalTeamDeletionResult.h
1
6#pragma once
7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MPA
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::Utils::DateTime& GetDeletionCompletionTime() const { return m_deletionCompletionTime; }
41 template<typename DeletionCompletionTimeT = Aws::Utils::DateTime>
42 void SetDeletionCompletionTime(DeletionCompletionTimeT&& value) { m_deletionCompletionTimeHasBeenSet = true; m_deletionCompletionTime = std::forward<DeletionCompletionTimeT>(value); }
43 template<typename DeletionCompletionTimeT = Aws::Utils::DateTime>
44 StartActiveApprovalTeamDeletionResult& WithDeletionCompletionTime(DeletionCompletionTimeT&& value) { SetDeletionCompletionTime(std::forward<DeletionCompletionTimeT>(value)); return *this;}
46
48
51 inline const Aws::Utils::DateTime& GetDeletionStartTime() const { return m_deletionStartTime; }
52 template<typename DeletionStartTimeT = Aws::Utils::DateTime>
53 void SetDeletionStartTime(DeletionStartTimeT&& value) { m_deletionStartTimeHasBeenSet = true; m_deletionStartTime = std::forward<DeletionStartTimeT>(value); }
54 template<typename DeletionStartTimeT = Aws::Utils::DateTime>
55 StartActiveApprovalTeamDeletionResult& WithDeletionStartTime(DeletionStartTimeT&& value) { SetDeletionStartTime(std::forward<DeletionStartTimeT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 StartActiveApprovalTeamDeletionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::Utils::DateTime m_deletionCompletionTime{};
69 bool m_deletionCompletionTimeHasBeenSet = false;
70
71 Aws::Utils::DateTime m_deletionStartTime{};
72 bool m_deletionStartTimeHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MPA
80} // namespace Aws
AWS_MPA_API StartActiveApprovalTeamDeletionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartActiveApprovalTeamDeletionResult & WithDeletionStartTime(DeletionStartTimeT &&value)
AWS_MPA_API StartActiveApprovalTeamDeletionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartActiveApprovalTeamDeletionResult & WithRequestId(RequestIdT &&value)
StartActiveApprovalTeamDeletionResult & WithDeletionCompletionTime(DeletionCompletionTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue