AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReserveContactRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GroundStation
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_GROUNDSTATION_API ReserveContactRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ReserveContact"; }
36
37 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
45 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
46 template<typename EndTimeT = Aws::Utils::DateTime>
47 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
48 template<typename EndTimeT = Aws::Utils::DateTime>
49 ReserveContactRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
51
53
56 inline const Aws::String& GetGroundStation() const { return m_groundStation; }
57 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
58 template<typename GroundStationT = Aws::String>
59 void SetGroundStation(GroundStationT&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::forward<GroundStationT>(value); }
60 template<typename GroundStationT = Aws::String>
61 ReserveContactRequest& WithGroundStation(GroundStationT&& value) { SetGroundStation(std::forward<GroundStationT>(value)); return *this;}
63
65
68 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
69 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
70 template<typename MissionProfileArnT = Aws::String>
71 void SetMissionProfileArn(MissionProfileArnT&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::forward<MissionProfileArnT>(value); }
72 template<typename MissionProfileArnT = Aws::String>
73 ReserveContactRequest& WithMissionProfileArn(MissionProfileArnT&& value) { SetMissionProfileArn(std::forward<MissionProfileArnT>(value)); return *this;}
75
77
80 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
81 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
82 template<typename SatelliteArnT = Aws::String>
83 void SetSatelliteArn(SatelliteArnT&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::forward<SatelliteArnT>(value); }
84 template<typename SatelliteArnT = Aws::String>
85 ReserveContactRequest& WithSatelliteArn(SatelliteArnT&& value) { SetSatelliteArn(std::forward<SatelliteArnT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
93 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
94 template<typename StartTimeT = Aws::Utils::DateTime>
95 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
96 template<typename StartTimeT = Aws::Utils::DateTime>
97 ReserveContactRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
99
101
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
108 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 ReserveContactRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
110 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
111 ReserveContactRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
112 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
113 }
115 private:
116
117 Aws::Utils::DateTime m_endTime{};
118 bool m_endTimeHasBeenSet = false;
119
120 Aws::String m_groundStation;
121 bool m_groundStationHasBeenSet = false;
122
123 Aws::String m_missionProfileArn;
124 bool m_missionProfileArnHasBeenSet = false;
125
126 Aws::String m_satelliteArn;
127 bool m_satelliteArnHasBeenSet = false;
128
129 Aws::Utils::DateTime m_startTime{};
130 bool m_startTimeHasBeenSet = false;
131
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace GroundStation
138} // namespace Aws
ReserveContactRequest & WithGroundStation(GroundStationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetMissionProfileArn(MissionProfileArnT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ReserveContactRequest & WithTags(TagsT &&value)
ReserveContactRequest & WithSatelliteArn(SatelliteArnT &&value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
ReserveContactRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GROUNDSTATION_API ReserveContactRequest()=default
ReserveContactRequest & WithEndTime(EndTimeT &&value)
ReserveContactRequest & WithMissionProfileArn(MissionProfileArnT &&value)
ReserveContactRequest & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String