AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OnDemandConfiguration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppIntegrationsService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration() = default;
36 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetStartTime() const { return m_startTime; }
47 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
48 template<typename StartTimeT = Aws::String>
49 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
50 template<typename StartTimeT = Aws::String>
51 OnDemandConfiguration& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
53
55
59 inline const Aws::String& GetEndTime() const { return m_endTime; }
60 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
61 template<typename EndTimeT = Aws::String>
62 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
63 template<typename EndTimeT = Aws::String>
64 OnDemandConfiguration& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
66 private:
67
68 Aws::String m_startTime;
69 bool m_startTimeHasBeenSet = false;
70
71 Aws::String m_endTime;
72 bool m_endTimeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AppIntegrationsService
77} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration()=default
OnDemandConfiguration & WithStartTime(StartTimeT &&value)
AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration(Aws::Utils::Json::JsonView jsonValue)
OnDemandConfiguration & WithEndTime(EndTimeT &&value)
AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue