/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { class CreateKeySigningKeyResult { public: AWS_ROUTE53_API CreateKeySigningKeyResult(); AWS_ROUTE53_API CreateKeySigningKeyResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API CreateKeySigningKeyResult& operator=(const Aws::AmazonWebServiceResult& result); inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; } inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; } inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); } inline CreateKeySigningKeyResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;} inline CreateKeySigningKeyResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;} /** *

The key-signing key (KSK) that the request creates.

*/ inline const KeySigningKey& GetKeySigningKey() const{ return m_keySigningKey; } /** *

The key-signing key (KSK) that the request creates.

*/ inline void SetKeySigningKey(const KeySigningKey& value) { m_keySigningKey = value; } /** *

The key-signing key (KSK) that the request creates.

*/ inline void SetKeySigningKey(KeySigningKey&& value) { m_keySigningKey = std::move(value); } /** *

The key-signing key (KSK) that the request creates.

*/ inline CreateKeySigningKeyResult& WithKeySigningKey(const KeySigningKey& value) { SetKeySigningKey(value); return *this;} /** *

The key-signing key (KSK) that the request creates.

*/ inline CreateKeySigningKeyResult& WithKeySigningKey(KeySigningKey&& value) { SetKeySigningKey(std::move(value)); return *this;} /** *

The unique URL representing the new key-signing key (KSK).

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The unique URL representing the new key-signing key (KSK).

*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *

The unique URL representing the new key-signing key (KSK).

*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *

The unique URL representing the new key-signing key (KSK).

*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *

The unique URL representing the new key-signing key (KSK).

*/ inline CreateKeySigningKeyResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The unique URL representing the new key-signing key (KSK).

*/ inline CreateKeySigningKeyResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The unique URL representing the new key-signing key (KSK).

*/ inline CreateKeySigningKeyResult& WithLocation(const char* value) { SetLocation(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateKeySigningKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateKeySigningKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateKeySigningKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ChangeInfo m_changeInfo; KeySigningKey m_keySigningKey; Aws::String m_location; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws