AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateEphemerisRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/model/EphemerisData.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GroundStation
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GROUNDSTATION_API CreateEphemerisRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateEphemeris"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
37
39
44 inline bool GetEnabled() const { return m_enabled; }
45 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
46 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
47 inline CreateEphemerisRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
49
51
54 inline const EphemerisData& GetEphemeris() const { return m_ephemeris; }
55 inline bool EphemerisHasBeenSet() const { return m_ephemerisHasBeenSet; }
56 template<typename EphemerisT = EphemerisData>
57 void SetEphemeris(EphemerisT&& value) { m_ephemerisHasBeenSet = true; m_ephemeris = std::forward<EphemerisT>(value); }
58 template<typename EphemerisT = EphemerisData>
59 CreateEphemerisRequest& WithEphemeris(EphemerisT&& value) { SetEphemeris(std::forward<EphemerisT>(value)); return *this;}
61
63
67 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
68 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
69 template<typename ExpirationTimeT = Aws::Utils::DateTime>
70 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
71 template<typename ExpirationTimeT = Aws::Utils::DateTime>
72 CreateEphemerisRequest& WithExpirationTime(ExpirationTimeT&& value) { SetExpirationTime(std::forward<ExpirationTimeT>(value)); return *this;}
74
76
79 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
80 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
81 template<typename KmsKeyArnT = Aws::String>
82 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
83 template<typename KmsKeyArnT = Aws::String>
84 CreateEphemerisRequest& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
86
88
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 CreateEphemerisRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
107 inline int GetPriority() const { return m_priority; }
108 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
109 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
110 inline CreateEphemerisRequest& WithPriority(int value) { SetPriority(value); return *this;}
112
114
117 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
118 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
119 template<typename SatelliteIdT = Aws::String>
120 void SetSatelliteId(SatelliteIdT&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::forward<SatelliteIdT>(value); }
121 template<typename SatelliteIdT = Aws::String>
122 CreateEphemerisRequest& WithSatelliteId(SatelliteIdT&& value) { SetSatelliteId(std::forward<SatelliteIdT>(value)); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
133 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 CreateEphemerisRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
135 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 CreateEphemerisRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
138 }
140 private:
141
142 bool m_enabled{false};
143 bool m_enabledHasBeenSet = false;
144
145 EphemerisData m_ephemeris;
146 bool m_ephemerisHasBeenSet = false;
147
148 Aws::Utils::DateTime m_expirationTime{};
149 bool m_expirationTimeHasBeenSet = false;
150
151 Aws::String m_kmsKeyArn;
152 bool m_kmsKeyArnHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 int m_priority{0};
158 bool m_priorityHasBeenSet = false;
159
160 Aws::String m_satelliteId;
161 bool m_satelliteIdHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace GroundStation
169} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
CreateEphemerisRequest & WithEphemeris(EphemerisT &&value)
virtual const char * GetServiceRequestName() const override
CreateEphemerisRequest & WithExpirationTime(ExpirationTimeT &&value)
CreateEphemerisRequest & WithName(NameT &&value)
CreateEphemerisRequest & WithKmsKeyArn(KmsKeyArnT &&value)
CreateEphemerisRequest & WithTags(TagsT &&value)
CreateEphemerisRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GROUNDSTATION_API CreateEphemerisRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetExpirationTime() const
CreateEphemerisRequest & WithSatelliteId(SatelliteIdT &&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