AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
UpdateEphemerisRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GroundStation {
15namespace Model {
16
20 public:
21 AWS_GROUNDSTATION_API UpdateEphemerisRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateEphemeris"; }
28
29 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
36 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
37 template <typename EphemerisIdT = Aws::String>
38 void SetEphemerisId(EphemerisIdT&& value) {
39 m_ephemerisIdHasBeenSet = true;
40 m_ephemerisId = std::forward<EphemerisIdT>(value);
41 }
42 template <typename EphemerisIdT = Aws::String>
43 UpdateEphemerisRequest& WithEphemerisId(EphemerisIdT&& value) {
44 SetEphemerisId(std::forward<EphemerisIdT>(value));
45 return *this;
46 }
48
50
54 inline bool GetEnabled() const { return m_enabled; }
55 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
56 inline void SetEnabled(bool value) {
57 m_enabledHasBeenSet = true;
58 m_enabled = value;
59 }
60 inline UpdateEphemerisRequest& WithEnabled(bool value) {
61 SetEnabled(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
90 inline int GetPriority() const { return m_priority; }
91 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
92 inline void SetPriority(int value) {
93 m_priorityHasBeenSet = true;
94 m_priority = value;
95 }
97 SetPriority(value);
98 return *this;
99 }
101 private:
102 Aws::String m_ephemerisId;
103 bool m_ephemerisIdHasBeenSet = false;
104
105 bool m_enabled{false};
106 bool m_enabledHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 int m_priority{0};
112 bool m_priorityHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace GroundStation
117} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
AWS_GROUNDSTATION_API UpdateEphemerisRequest()=default
UpdateEphemerisRequest & WithName(NameT &&value)
UpdateEphemerisRequest & WithEphemerisId(EphemerisIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String