AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
47 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
48 inline ReserveContactRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
49 inline ReserveContactRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetGroundStation() const{ return m_groundStation; }
57 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
58 inline void SetGroundStation(const Aws::String& value) { m_groundStationHasBeenSet = true; m_groundStation = value; }
59 inline void SetGroundStation(Aws::String&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::move(value); }
60 inline void SetGroundStation(const char* value) { m_groundStationHasBeenSet = true; m_groundStation.assign(value); }
61 inline ReserveContactRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;}
62 inline ReserveContactRequest& WithGroundStation(Aws::String&& value) { SetGroundStation(std::move(value)); return *this;}
63 inline ReserveContactRequest& WithGroundStation(const char* value) { SetGroundStation(value); return *this;}
65
67
70 inline const Aws::String& GetMissionProfileArn() const{ return m_missionProfileArn; }
71 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
72 inline void SetMissionProfileArn(const Aws::String& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = value; }
73 inline void SetMissionProfileArn(Aws::String&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::move(value); }
74 inline void SetMissionProfileArn(const char* value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn.assign(value); }
75 inline ReserveContactRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;}
76 inline ReserveContactRequest& WithMissionProfileArn(Aws::String&& value) { SetMissionProfileArn(std::move(value)); return *this;}
77 inline ReserveContactRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(value); return *this;}
79
81
84 inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; }
85 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
86 inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; }
87 inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); }
88 inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); }
89 inline ReserveContactRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;}
90 inline ReserveContactRequest& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;}
91 inline ReserveContactRequest& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
99 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
100 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
101 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
102 inline ReserveContactRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
103 inline ReserveContactRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
105
107
110 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
111 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
112 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
113 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline ReserveContactRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
115 inline ReserveContactRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
116 inline ReserveContactRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
117 inline ReserveContactRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline ReserveContactRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
119 inline ReserveContactRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
120 inline ReserveContactRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121 inline ReserveContactRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline ReserveContactRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
124 private:
125
126 Aws::Utils::DateTime m_endTime;
127 bool m_endTimeHasBeenSet = false;
128
129 Aws::String m_groundStation;
130 bool m_groundStationHasBeenSet = false;
131
132 Aws::String m_missionProfileArn;
133 bool m_missionProfileArnHasBeenSet = false;
134
135 Aws::String m_satelliteArn;
136 bool m_satelliteArnHasBeenSet = false;
137
138 Aws::Utils::DateTime m_startTime;
139 bool m_startTimeHasBeenSet = false;
140
142 bool m_tagsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace GroundStation
147} // namespace Aws
ReserveContactRequest & WithMissionProfileArn(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ReserveContactRequest & WithGroundStation(const char *value)
ReserveContactRequest & WithSatelliteArn(const Aws::String &value)
ReserveContactRequest & AddTags(Aws::String &&key, const Aws::String &value)
ReserveContactRequest & AddTags(Aws::String &&key, const char *value)
virtual const char * GetServiceRequestName() const override
ReserveContactRequest & WithMissionProfileArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ReserveContactRequest & AddTags(Aws::String &&key, Aws::String &&value)
ReserveContactRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ReserveContactRequest & WithSatelliteArn(const char *value)
ReserveContactRequest & WithGroundStation(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
ReserveContactRequest & WithStartTime(const Aws::Utils::DateTime &value)
ReserveContactRequest & AddTags(const Aws::String &key, const Aws::String &value)
ReserveContactRequest & AddTags(const char *key, const char *value)
ReserveContactRequest & WithStartTime(Aws::Utils::DateTime &&value)
ReserveContactRequest & WithEndTime(Aws::Utils::DateTime &&value)
ReserveContactRequest & WithEndTime(const Aws::Utils::DateTime &value)
ReserveContactRequest & WithSatelliteArn(Aws::String &&value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ReserveContactRequest & WithMissionProfileArn(Aws::String &&value)
ReserveContactRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ReserveContactRequest & WithGroundStation(Aws::String &&value)
const Aws::Utils::DateTime & GetEndTime() const
ReserveContactRequest & AddTags(const Aws::String &key, Aws::String &&value)
ReserveContactRequest & AddTags(const char *key, Aws::String &&value)
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