AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppIntegrationsService {
20namespace Model {
21
29 public:
30 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration() = default;
31 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPINTEGRATIONSSERVICE_API OnDemandConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetStartTime() const { return m_startTime; }
41 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
42 template <typename StartTimeT = Aws::String>
43 void SetStartTime(StartTimeT&& value) {
44 m_startTimeHasBeenSet = true;
45 m_startTime = std::forward<StartTimeT>(value);
46 }
47 template <typename StartTimeT = Aws::String>
48 OnDemandConfiguration& WithStartTime(StartTimeT&& value) {
49 SetStartTime(std::forward<StartTimeT>(value));
50 return *this;
51 }
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) {
63 m_endTimeHasBeenSet = true;
64 m_endTime = std::forward<EndTimeT>(value);
65 }
66 template <typename EndTimeT = Aws::String>
68 SetEndTime(std::forward<EndTimeT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_startTime;
74
75 Aws::String m_endTime;
76 bool m_startTimeHasBeenSet = false;
77 bool m_endTimeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AppIntegrationsService
82} // 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