/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace GroundStation { namespace Model { /** */ class CreateEphemerisRequest : public GroundStationRequest { public: AWS_GROUNDSTATION_API CreateEphemerisRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateEphemeris"; } AWS_GROUNDSTATION_API Aws::String SerializePayload() const override; /** *

Whether to set the ephemeris status to ENABLED after * validation.

Setting this to false will set the ephemeris status to * DISABLED after validation.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Whether to set the ephemeris status to ENABLED after * validation.

Setting this to false will set the ephemeris status to * DISABLED after validation.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Whether to set the ephemeris status to ENABLED after * validation.

Setting this to false will set the ephemeris status to * DISABLED after validation.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Whether to set the ephemeris status to ENABLED after * validation.

Setting this to false will set the ephemeris status to * DISABLED after validation.

*/ inline CreateEphemerisRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *

Ephemeris data.

*/ inline const EphemerisData& GetEphemeris() const{ return m_ephemeris; } /** *

Ephemeris data.

*/ inline bool EphemerisHasBeenSet() const { return m_ephemerisHasBeenSet; } /** *

Ephemeris data.

*/ inline void SetEphemeris(const EphemerisData& value) { m_ephemerisHasBeenSet = true; m_ephemeris = value; } /** *

Ephemeris data.

*/ inline void SetEphemeris(EphemerisData&& value) { m_ephemerisHasBeenSet = true; m_ephemeris = std::move(value); } /** *

Ephemeris data.

*/ inline CreateEphemerisRequest& WithEphemeris(const EphemerisData& value) { SetEphemeris(value); return *this;} /** *

Ephemeris data.

*/ inline CreateEphemerisRequest& WithEphemeris(EphemerisData&& value) { SetEphemeris(std::move(value)); return *this;} /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; } /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; } /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; } /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); } /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline CreateEphemerisRequest& WithExpirationTime(const Aws::Utils::DateTime& value) { SetExpirationTime(value); return *this;} /** *

An overall expiration time for the ephemeris in UTC, after which it will * become EXPIRED.

*/ inline CreateEphemerisRequest& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;} /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline CreateEphemerisRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline CreateEphemerisRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The ARN of a KMS key used to encrypt the ephemeris in Ground Station.

*/ inline CreateEphemerisRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline CreateEphemerisRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline CreateEphemerisRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name string associated with the ephemeris. Used as a human-readable * identifier for the ephemeris.

*/ inline CreateEphemerisRequest& WithName(const char* value) { SetName(value); return *this;} /** *

Customer-provided priority score to establish the order in which overlapping * ephemerides should be used.

The default for customer-provided ephemeris * priority is 1, and higher numbers take precedence.

Priority must be 1 or * greater

*/ inline int GetPriority() const{ return m_priority; } /** *

Customer-provided priority score to establish the order in which overlapping * ephemerides should be used.

The default for customer-provided ephemeris * priority is 1, and higher numbers take precedence.

Priority must be 1 or * greater

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

Customer-provided priority score to establish the order in which overlapping * ephemerides should be used.

The default for customer-provided ephemeris * priority is 1, and higher numbers take precedence.

Priority must be 1 or * greater

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

Customer-provided priority score to establish the order in which overlapping * ephemerides should be used.

The default for customer-provided ephemeris * priority is 1, and higher numbers take precedence.

Priority must be 1 or * greater

*/ inline CreateEphemerisRequest& WithPriority(int value) { SetPriority(value); return *this;} /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline const Aws::String& GetSatelliteId() const{ return m_satelliteId; } /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; } /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline void SetSatelliteId(const Aws::String& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = value; } /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline void SetSatelliteId(Aws::String&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::move(value); } /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline void SetSatelliteId(const char* value) { m_satelliteIdHasBeenSet = true; m_satelliteId.assign(value); } /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline CreateEphemerisRequest& WithSatelliteId(const Aws::String& value) { SetSatelliteId(value); return *this;} /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline CreateEphemerisRequest& WithSatelliteId(Aws::String&& value) { SetSatelliteId(std::move(value)); return *this;} /** *

AWS Ground Station satellite ID for this ephemeris.

*/ inline CreateEphemerisRequest& WithSatelliteId(const char* value) { SetSatelliteId(value); return *this;} /** *

Tags assigned to an ephemeris.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags assigned to an ephemeris.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags assigned to an ephemeris.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags assigned to an ephemeris.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to an ephemeris.

*/ inline CreateEphemerisRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: bool m_enabled; bool m_enabledHasBeenSet = false; EphemerisData m_ephemeris; bool m_ephemerisHasBeenSet = false; Aws::Utils::DateTime m_expirationTime; bool m_expirationTimeHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; Aws::String m_satelliteId; bool m_satelliteIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws