AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/CertificateLocation.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTCORE_API Certificate() = default;
31 AWS_BEDROCKAGENTCORE_API Certificate(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API Certificate& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CertificateLocation& GetLocation() const { return m_location; }
40 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
41 template <typename LocationT = CertificateLocation>
42 void SetLocation(LocationT&& value) {
43 m_locationHasBeenSet = true;
44 m_location = std::forward<LocationT>(value);
45 }
46 template <typename LocationT = CertificateLocation>
47 Certificate& WithLocation(LocationT&& value) {
48 SetLocation(std::forward<LocationT>(value));
49 return *this;
50 }
52 private:
53 CertificateLocation m_location;
54 bool m_locationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgentCore
59} // namespace Aws
AWS_BEDROCKAGENTCORE_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Certificate()=default
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
Certificate & WithLocation(LocationT &&value)
Definition Certificate.h:47
const CertificateLocation & GetLocation() const
Definition Certificate.h:39
AWS_BEDROCKAGENTCORE_API Certificate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue