AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEphemeris(const EphemerisData& value) { m_ephemerisHasBeenSet = true; m_ephemeris = value; }
57 inline void SetEphemeris(EphemerisData&& value) { m_ephemerisHasBeenSet = true; m_ephemeris = std::move(value); }
58 inline CreateEphemerisRequest& WithEphemeris(const EphemerisData& value) { SetEphemeris(value); return *this;}
59 inline CreateEphemerisRequest& WithEphemeris(EphemerisData&& value) { SetEphemeris(std::move(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 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
70 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
72 inline CreateEphemerisRequest& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
80 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
81 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
82 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
83 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
84 inline CreateEphemerisRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
85 inline CreateEphemerisRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
86 inline CreateEphemerisRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
88
90
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
99 inline CreateEphemerisRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline CreateEphemerisRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline CreateEphemerisRequest& WithName(const char* value) { SetName(value); return *this;}
103
105
111 inline int GetPriority() const{ return m_priority; }
112 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
113 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
114 inline CreateEphemerisRequest& WithPriority(int value) { SetPriority(value); return *this;}
116
118
121 inline const Aws::String& GetSatelliteId() const{ return m_satelliteId; }
122 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
123 inline void SetSatelliteId(const Aws::String& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = value; }
124 inline void SetSatelliteId(Aws::String&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::move(value); }
125 inline void SetSatelliteId(const char* value) { m_satelliteIdHasBeenSet = true; m_satelliteId.assign(value); }
126 inline CreateEphemerisRequest& WithSatelliteId(const Aws::String& value) { SetSatelliteId(value); return *this;}
127 inline CreateEphemerisRequest& WithSatelliteId(Aws::String&& value) { SetSatelliteId(std::move(value)); return *this;}
128 inline CreateEphemerisRequest& WithSatelliteId(const char* value) { SetSatelliteId(value); return *this;}
130
132
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 inline CreateEphemerisRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
140 inline CreateEphemerisRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 inline CreateEphemerisRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 inline CreateEphemerisRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline CreateEphemerisRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
144 inline CreateEphemerisRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
145 inline CreateEphemerisRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
146 inline CreateEphemerisRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline CreateEphemerisRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
149 private:
150
151 bool m_enabled;
152 bool m_enabledHasBeenSet = false;
153
154 EphemerisData m_ephemeris;
155 bool m_ephemerisHasBeenSet = false;
156
157 Aws::Utils::DateTime m_expirationTime;
158 bool m_expirationTimeHasBeenSet = false;
159
160 Aws::String m_kmsKeyArn;
161 bool m_kmsKeyArnHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 int m_priority;
167 bool m_priorityHasBeenSet = false;
168
169 Aws::String m_satelliteId;
170 bool m_satelliteIdHasBeenSet = false;
171
173 bool m_tagsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace GroundStation
178} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
CreateEphemerisRequest & WithEphemeris(const EphemerisData &value)
CreateEphemerisRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateEphemerisRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreateEphemerisRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEphemerisRequest & WithEphemeris(EphemerisData &&value)
CreateEphemerisRequest & WithKmsKeyArn(const char *value)
CreateEphemerisRequest & AddTags(const char *key, Aws::String &&value)
CreateEphemerisRequest & WithExpirationTime(Aws::Utils::DateTime &&value)
CreateEphemerisRequest & WithSatelliteId(const Aws::String &value)
CreateEphemerisRequest & WithExpirationTime(const Aws::Utils::DateTime &value)
CreateEphemerisRequest & WithName(Aws::String &&value)
CreateEphemerisRequest & WithSatelliteId(const char *value)
CreateEphemerisRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEphemerisRequest & AddTags(Aws::String &&key, const char *value)
CreateEphemerisRequest & WithSatelliteId(Aws::String &&value)
CreateEphemerisRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateEphemerisRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEphemerisRequest & WithKmsKeyArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetExpirationTime() const
CreateEphemerisRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetExpirationTime(const Aws::Utils::DateTime &value)
CreateEphemerisRequest & WithName(const char *value)
CreateEphemerisRequest & WithName(const Aws::String &value)
CreateEphemerisRequest & WithKmsKeyArn(const 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