/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ACMPCA { namespace Model { /** *

Defines a PolicyInformation qualifier. Amazon Web Services * Private CA supports the certification * practice statement (CPS) qualifier defined in RFC 5280.

See * Also:

AWS * API Reference

*/ class Qualifier { public: AWS_ACMPCA_API Qualifier(); AWS_ACMPCA_API Qualifier(Aws::Utils::Json::JsonView jsonValue); AWS_ACMPCA_API Qualifier& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ACMPCA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline const Aws::String& GetCpsUri() const{ return m_cpsUri; } /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline bool CpsUriHasBeenSet() const { return m_cpsUriHasBeenSet; } /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline void SetCpsUri(const Aws::String& value) { m_cpsUriHasBeenSet = true; m_cpsUri = value; } /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline void SetCpsUri(Aws::String&& value) { m_cpsUriHasBeenSet = true; m_cpsUri = std::move(value); } /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline void SetCpsUri(const char* value) { m_cpsUriHasBeenSet = true; m_cpsUri.assign(value); } /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline Qualifier& WithCpsUri(const Aws::String& value) { SetCpsUri(value); return *this;} /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline Qualifier& WithCpsUri(Aws::String&& value) { SetCpsUri(std::move(value)); return *this;} /** *

Contains a pointer to a certification practice statement (CPS) published by * the CA.

*/ inline Qualifier& WithCpsUri(const char* value) { SetCpsUri(value); return *this;} private: Aws::String m_cpsUri; bool m_cpsUriHasBeenSet = false; }; } // namespace Model } // namespace ACMPCA } // namespace Aws