1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8 #include <aws/core/utils/DateTime.h>
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 ApplicationDiscoveryService
24 {
25 namespace Model
26 {
27   class AWS_APPLICATIONDISCOVERYSERVICE_API StopContinuousExportResult
28   {
29   public:
30     StopContinuousExportResult();
31     StopContinuousExportResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     StopContinuousExportResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>Timestamp that represents when this continuous export started collecting
37      * data.</p>
38      */
GetStartTime()39     inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
40 
41     /**
42      * <p>Timestamp that represents when this continuous export started collecting
43      * data.</p>
44      */
SetStartTime(const Aws::Utils::DateTime & value)45     inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
46 
47     /**
48      * <p>Timestamp that represents when this continuous export started collecting
49      * data.</p>
50      */
SetStartTime(Aws::Utils::DateTime && value)51     inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
52 
53     /**
54      * <p>Timestamp that represents when this continuous export started collecting
55      * data.</p>
56      */
WithStartTime(const Aws::Utils::DateTime & value)57     inline StopContinuousExportResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
58 
59     /**
60      * <p>Timestamp that represents when this continuous export started collecting
61      * data.</p>
62      */
WithStartTime(Aws::Utils::DateTime && value)63     inline StopContinuousExportResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
64 
65 
66     /**
67      * <p>Timestamp that represents when this continuous export was stopped.</p>
68      */
GetStopTime()69     inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; }
70 
71     /**
72      * <p>Timestamp that represents when this continuous export was stopped.</p>
73      */
SetStopTime(const Aws::Utils::DateTime & value)74     inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTime = value; }
75 
76     /**
77      * <p>Timestamp that represents when this continuous export was stopped.</p>
78      */
SetStopTime(Aws::Utils::DateTime && value)79     inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTime = std::move(value); }
80 
81     /**
82      * <p>Timestamp that represents when this continuous export was stopped.</p>
83      */
WithStopTime(const Aws::Utils::DateTime & value)84     inline StopContinuousExportResult& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;}
85 
86     /**
87      * <p>Timestamp that represents when this continuous export was stopped.</p>
88      */
WithStopTime(Aws::Utils::DateTime && value)89     inline StopContinuousExportResult& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;}
90 
91   private:
92 
93     Aws::Utils::DateTime m_startTime;
94 
95     Aws::Utils::DateTime m_stopTime;
96   };
97 
98 } // namespace Model
99 } // namespace ApplicationDiscoveryService
100 } // namespace Aws
101