AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEphemerisRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GroundStation
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GROUNDSTATION_API UpdateEphemerisRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateEphemeris"; }
31
32 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
33
34
36
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
43 inline UpdateEphemerisRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
45
47
50 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
51 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
52 template<typename EphemerisIdT = Aws::String>
53 void SetEphemerisId(EphemerisIdT&& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = std::forward<EphemerisIdT>(value); }
54 template<typename EphemerisIdT = Aws::String>
55 UpdateEphemerisRequest& WithEphemerisId(EphemerisIdT&& value) { SetEphemerisId(std::forward<EphemerisIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 UpdateEphemerisRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
78 inline int GetPriority() const { return m_priority; }
79 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
80 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
81 inline UpdateEphemerisRequest& WithPriority(int value) { SetPriority(value); return *this;}
83 private:
84
85 bool m_enabled{false};
86 bool m_enabledHasBeenSet = false;
87
88 Aws::String m_ephemerisId;
89 bool m_ephemerisIdHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 int m_priority{0};
95 bool m_priorityHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace GroundStation
100} // 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